Initial commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#ifndef UpdateListBoxUnitH
|
||||
#define UpdateListBoxUnitH
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#include "SkinListBoxUnit.h"
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
namespace UpdateListBoxUnit
|
||||
{
|
||||
//---------------------------------------------------------------------------
|
||||
class TListBox : public TSkinListBox
|
||||
{
|
||||
|
||||
private:
|
||||
TBitmap *m_imgBackground;
|
||||
TFont * m_pFntText;
|
||||
protected:
|
||||
virtual void __fastcall DrawItem(int Index, const System::Types::TRect &Rect, Winapi::Windows::TOwnerDrawState State);
|
||||
MESSAGE void __fastcall WMPaint(Winapi::Messages::TWMPaint &Message);
|
||||
BEGIN_MESSAGE_MAP
|
||||
MESSAGE_HANDLER(WM_PAINT, TWMPaint, WMPaint)
|
||||
END_MESSAGE_MAP(TSkinListBox)
|
||||
public:
|
||||
__fastcall virtual TListBox(System::Classes::TComponent* AOwner);
|
||||
__fastcall ~TListBox();
|
||||
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
using namespace UpdateListBoxUnit;
|
||||
#endif
|
||||
Reference in New Issue
Block a user