?? suibutton.hpp
字號:
__property Enabled ;
__property TabOrder ;
__property Transparent ;
__property ModalResult ;
__property AutoSize ;
__property OnClick ;
__property OnMouseMove ;
__property OnMouseDown ;
__property OnMouseUp ;
__property OnKeyDown ;
__property OnKeyUp ;
__property OnKeyPress ;
__property OnMouseEnter ;
__property OnMouseExit ;
__property OnMouseContinuouslyDown ;
public:
#pragma option push -w-inl
/* TCustomControl.Destroy */ inline __fastcall virtual ~TsuiControlButton(void) { }
#pragma option pop
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TsuiControlButton(HWND ParentWindow) : TsuiCustomButton(
ParentWindow) { }
#pragma option pop
};
class DELPHICLASS TsuiToolBarSpeedButton;
class PASCALIMPLEMENTATION TsuiToolBarSpeedButton : public Extctrls::TCustomPanel
{
typedef Extctrls::TCustomPanel inherited;
private:
bool m_MouseIn;
Graphics::TBitmap* m_Glyph;
MESSAGE void __fastcall MouseLeave(Messages::TMessage &Msg);
MESSAGE void __fastcall MouseEnter(Messages::TMessage &Msg);
void __fastcall SetGlyph(const Graphics::TBitmap* Value);
HIDESBASE MESSAGE void __fastcall WMERASEBKGND(Messages::TMessage &Msg);
protected:
virtual void __fastcall Paint(void);
public:
__fastcall virtual TsuiToolBarSpeedButton(Classes::TComponent* AOwner);
__fastcall virtual ~TsuiToolBarSpeedButton(void);
__published:
__property Graphics::TBitmap* Glyph = {read=m_Glyph, write=SetGlyph};
__property Color ;
__property OnClick ;
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TsuiToolBarSpeedButton(HWND ParentWindow) : Extctrls::TCustomPanel(
ParentWindow) { }
#pragma option pop
};
class DELPHICLASS TsuiButton;
class PASCALIMPLEMENTATION TsuiButton : public TsuiCustomButton
{
typedef TsuiCustomButton inherited;
private:
Graphics::TBitmap* m_Glyph;
Buttons::TButtonLayout m_Layout;
Windows::TPoint m_TextPoint;
int m_Spacing;
void __fastcall SetGlyph(const Graphics::TBitmap* Value);
void __fastcall SetLayout(const Buttons::TButtonLayout Value);
void __fastcall SetSpacing(const int Value);
unsigned __fastcall GetResHandle(void);
void __fastcall SetResHandle(const unsigned Value);
protected:
DYNAMIC void __fastcall ActionChange(System::TObject* Sender, bool CheckDefaults);
virtual void __fastcall PaintPic(Graphics::TCanvas* ACanvas, Graphics::TBitmap* Bitmap);
virtual void __fastcall PaintText(Graphics::TCanvas* ACanvas, AnsiString Text);
virtual void __fastcall PaintFocus(Graphics::TCanvas* ACanvas);
virtual void __fastcall UIStyleChanged(void);
public:
__fastcall virtual TsuiButton(Classes::TComponent* AOwner);
__fastcall virtual ~TsuiButton(void);
__published:
__property FileTheme ;
__property UIStyle ;
__property Cancel ;
__property Default ;
__property Action ;
__property Caption ;
__property Font ;
__property Enabled ;
__property TabOrder ;
__property Transparent ;
__property ModalResult ;
__property AutoSize ;
__property Graphics::TBitmap* Glyph = {read=m_Glyph, write=SetGlyph};
__property Buttons::TButtonLayout Layout = {read=m_Layout, write=SetLayout, nodefault};
__property int Spacing = {read=m_Spacing, write=SetSpacing, nodefault};
__property MouseContinuouslyDownInterval ;
__property OnClick ;
__property OnMouseMove ;
__property OnMouseDown ;
__property OnMouseUp ;
__property OnKeyDown ;
__property OnKeyUp ;
__property OnKeyPress ;
__property OnMouseEnter ;
__property OnMouseExit ;
__property OnMouseContinuouslyDown ;
__property unsigned ResHandle = {read=GetResHandle, write=SetResHandle, nodefault};
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TsuiButton(HWND ParentWindow) : TsuiCustomButton(
ParentWindow) { }
#pragma option pop
};
class DELPHICLASS TsuiCheckBox;
class PASCALIMPLEMENTATION TsuiCheckBox : public Controls::TCustomControl
{
typedef Controls::TCustomControl inherited;
private:
bool m_Checked;
Suithemes::TsuiUIStyle m_UIStyle;
Suimgr::TsuiFileTheme* m_FileTheme;
bool m_Transparent;
bool m_AutoSize;
Stdctrls::TCheckBoxState __fastcall GetState(void);
void __fastcall SetState(const Stdctrls::TCheckBoxState Value);
void __fastcall SetFileTheme(const Suimgr::TsuiFileTheme* Value);
void __fastcall SetUIStyle(const Suithemes::TsuiUIStyle Value);
void __fastcall SetChecked(const bool Value);
void __fastcall SetTransparent(const bool Value);
void __fastcall SetAutoSize2(const bool Value);
HIDESBASE MESSAGE void __fastcall CMFONTCHANGED(Messages::TMessage &Msg);
HIDESBASE MESSAGE void __fastcall WMERASEBKGND(Messages::TMessage &Msg);
HIDESBASE MESSAGE void __fastcall CMDialogChar(Messages::TWMKey &Msg);
HIDESBASE MESSAGE void __fastcall WMKillFocus(Messages::TWMKillFocus &Msg);
HIDESBASE MESSAGE void __fastcall WMSetFocus(Messages::TWMSetFocus &Msg);
HIDESBASE MESSAGE void __fastcall CMFocusChanged(Controls::TCMFocusChanged &Msg);
HIDESBASE MESSAGE void __fastcall WMKeyUp(Messages::TWMKey &Msg);
protected:
virtual void __fastcall Paint(void);
virtual bool __fastcall GetPicTransparent(void);
virtual int __fastcall GetPicThemeIndex(void);
virtual void __fastcall CheckStateChanged(void);
virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation
);
virtual void __fastcall Toggle(void);
virtual void __fastcall DoClick(void);
public:
__fastcall virtual TsuiCheckBox(Classes::TComponent* AOwner);
DYNAMIC void __fastcall Click(void);
__published:
__property Suithemes::TsuiUIStyle UIStyle = {read=m_UIStyle, write=SetUIStyle, nodefault};
__property Suimgr::TsuiFileTheme* FileTheme = {read=m_FileTheme, write=SetFileTheme};
__property BiDiMode ;
__property Anchors ;
__property PopupMenu ;
__property ShowHint ;
__property Visible ;
__property ParentShowHint ;
__property ParentBiDiMode ;
__property ParentFont ;
__property bool AutoSize = {read=m_AutoSize, write=SetAutoSize2, nodefault};
__property bool Checked = {read=m_Checked, write=SetChecked, nodefault};
__property Caption ;
__property Enabled ;
__property Font ;
__property Color ;
__property TabOrder ;
__property TabStop ;
__property ParentColor ;
__property Stdctrls::TCheckBoxState State = {read=GetState, write=SetState, nodefault};
__property bool Transparent = {read=m_Transparent, write=SetTransparent, nodefault};
__property OnClick ;
__property OnDblClick ;
__property OnMouseMove ;
__property OnMouseDown ;
__property OnMouseUp ;
__property OnKeyDown ;
__property OnKeyUp ;
__property OnKeyPress ;
public:
#pragma option push -w-inl
/* TCustomControl.Destroy */ inline __fastcall virtual ~TsuiCheckBox(void) { }
#pragma option pop
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TsuiCheckBox(HWND ParentWindow) : Controls::TCustomControl(
ParentWindow) { }
#pragma option pop
};
class DELPHICLASS TsuiRadioButton;
class PASCALIMPLEMENTATION TsuiRadioButton : public TsuiCheckBox
{
typedef TsuiCheckBox inherited;
private:
int m_GroupIndex;
void __fastcall UnCheckGroup(void);
protected:
virtual void __fastcall DoClick(void);
virtual bool __fastcall GetPicTransparent(void);
virtual int __fastcall GetPicThemeIndex(void);
virtual void __fastcall CheckStateChanged(void);
__published:
__property int GroupIndex = {read=m_GroupIndex, write=m_GroupIndex, nodefault};
public:
#pragma option push -w-inl
/* TsuiCheckBox.Create */ inline __fastcall virtual TsuiRadioButton(Classes::TComponent* AOwner) :
TsuiCheckBox(AOwner) { }
#pragma option pop
public:
#pragma option push -w-inl
/* TCustomControl.Destroy */ inline __fastcall virtual ~TsuiRadioButton(void) { }
#pragma option pop
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TsuiRadioButton(HWND ParentWindow) : TsuiCheckBox(
ParentWindow) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Suibutton */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Suibutton;
#endif
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // SUIButton
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -