Initial commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#ifndef CommonListBoxUnitH
|
||||
#define CommonListBoxUnitH
|
||||
|
||||
#include "SkinListBoxUnit.h"
|
||||
#include <Vcl.AppEvnts.hpp>
|
||||
|
||||
namespace CommonListBoxUnit
|
||||
{
|
||||
//---------------------------------------------------------------------------
|
||||
class TListBox : public TSkinListBox
|
||||
{
|
||||
private:
|
||||
TBitmap *m_pNormal, *m_pHover;
|
||||
TFont *m_pFntText;
|
||||
|
||||
TApplicationEvents *ApplicationEvents;
|
||||
|
||||
void __fastcall DoHandleMessage(MSG &Msg, bool &Handled);
|
||||
protected:
|
||||
virtual void __fastcall DrawItem(int Index, const System::Types::TRect &Rect, Winapi::Windows::TOwnerDrawState State);
|
||||
|
||||
public:
|
||||
__fastcall virtual TListBox(System::Classes::TComponent* AOwner);
|
||||
__fastcall ~TListBox();
|
||||
|
||||
void __fastcall Show(void);
|
||||
void __fastcall Hide(void);
|
||||
};
|
||||
}
|
||||
using namespace CommonListBoxUnit;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user