📄 suithemes.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'SUIThemes.pas' rev: 6.00
#ifndef SUIThemesHPP
#define SUIThemesHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Controls.hpp> // Pascal unit
#include <Forms.hpp> // Pascal unit
#include <Graphics.hpp> // Pascal unit
#include <SysInit.hpp> // Pascal unit
#include <System.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Suithemes
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TsuiUIStyle { Custom, MacOS, WinXP, DeepBlue, Protein, BlueGlass };
#pragma option pop
#pragma option push -b-
enum TsuiType { Int, Color, Str, Bool };
#pragma option pop
//-- var, const, procedure ---------------------------------------------------
#define SUI_THEME_DEFAULT (TsuiUIStyle)(3)
static const Shortint SUI_THEME_INDEX = 0x1;
static const Shortint SUI_FORM_BORDER_COLOR = 0x2;
static const Shortint SUI_FORM_BACKGROUND_COLOR = 0x3;
static const Shortint SUI_FORM_BORDER_WIDTH = 0x4;
static const Shortint SUI_FORM_MIN_WIDTH = 0x5;
static const Shortint SUI_FORM_ROUND_CORNER = 0x6;
static const Shortint SUI_CONTROL_BORDER_COLOR = 0x7;
static const Shortint SUI_CONTROL_BACKGROUND_COLOR = 0x8;
static const Shortint SUI_CONTROL_FONT_COLOR = 0x9;
static const Shortint SUI_MENU_SELECTED_BORDER_COLOR = 0xa;
static const Shortint SUI_MENU_SELECTED_BACKGROUND_COLOR = 0xb;
static const Shortint SUI_MENU_SELECTED_FONT_COLOR = 0xc;
static const Shortint SUI_MENU_BORDER_COLOR = 0xd;
static const Shortint SUI_MENU_BACKGROUND_COLOR = 0xe;
static const Shortint SUI_MENU_FONT_COLOR = 0xf;
static const Shortint SUI_MENU_LEFTBAR_COLOR = 0x10;
static const Shortint SUI_MENU_LINE_COLOR = 0x11;
static const Shortint SUI_MENU_SHADOW_COLOR = 0x12;
static const Shortint SUI_MENU_HEIGHT = 0x13;
static const Shortint SUI_MENU_LINE_HEIGHT = 0x14;
static const Shortint SUI_MENU_LEFTBAR_WIDTH = 0x15;
static const Shortint SUI_MENU_CHECKED_IMAGE = 0x16;
static const Shortint SUI_BUTTON_NORMAL_IMAGE = 0x17;
static const Shortint SUI_BUTTON_MOUSEON_IMAGE = 0x18;
static const Shortint SUI_BUTTON_MOUSEDOWN_IMAGE = 0x19;
static const Shortint SUI_CHECKBOX_DISABLE_CHECKED_IMAGE = 0x1a;
static const Shortint SUI_CHECKBOX_DISABLE_UNCHECK_IMAGE = 0x1b;
static const Shortint SUI_CHECKBOX_NORMAL_CHECKED_IMAGE = 0x1c;
static const Shortint SUI_CHECKBOX_NORMAL_UNCHECK_IMAGE = 0x1d;
static const Shortint SUI_CHECKBOX_MOUSEON_CHECKED_IMAGE = 0x1e;
static const Shortint SUI_CHECKBOX_MOUSEON_UNCHECK_IMAGE = 0x1f;
static const Shortint SUI_CHECKBOX_MOUSEDOWN_CHECKED_IMAGE = 0x20;
static const Shortint SUI_CHECKBOX_MOUSEDOWN_UNCHECK_IMAGE = 0x21;
static const Shortint SUI_RADIOBUTTON_DISABLE_CHECKED_IMAGE = 0x22;
static const Shortint SUI_RADIOBUTTON_DISABLE_UNCHECK_IMAGE = 0x23;
static const Shortint SUI_RADIOBUTTON_NORMAL_CHECKED_IMAGE = 0x24;
static const Shortint SUI_RADIOBUTTON_NORMAL_UNCHECK_IMAGE = 0x25;
static const Shortint SUI_RADIOBUTTON_MOUSEON_CHECKED_IMAGE = 0x26;
static const Shortint SUI_RADIOBUTTON_MOUSEON_UNCHECK_IMAGE = 0x27;
static const Shortint SUI_RADIOBUTTON_MOUSEDOWN_CHECKED_IMAGE = 0x28;
static const Shortint SUI_RADIOBUTTON_MOUSEDOWN_UNCHECK_IMAGE = 0x29;
static const Shortint SUI_PROGRESSBAR_IMAGE = 0x2a;
static const Shortint SUI_PROGRESSBAR_V_IMAGE = 0x2b;
static const Shortint SUI_TITLEBAR_LEFT_IMAGE = 0x2c;
static const Shortint SUI_TITLEBAR_CLIENT_IMAGE = 0x2d;
static const Shortint SUI_TITLEBAR_RIGHT_IMAGE = 0x2e;
static const Shortint SUI_TITLEBUTTON_CLOSE_NORMAL_IMAGE = 0x2f;
static const Shortint SUI_TITLEBUTTON_CLOSE_MOUSEON_IMAGE = 0x30;
static const Shortint SUI_TITLEBUTTON_CLOSE_MOUSEDOWN_IMAGE = 0x31;
static const Shortint SUI_TITLEBUTTON_MAX_NORMAL_IMAGE = 0x32;
static const Shortint SUI_TITLEBUTTON_MAX_MOUSEON_IMAGE = 0x33;
static const Shortint SUI_TITLEBUTTON_MAX_MOUSEDOWN_IMAGE = 0x34;
static const Shortint SUI_TITLEBUTTON_MIN_NORMAL_IMAGE = 0x35;
static const Shortint SUI_TITLEBUTTON_MIN_MOUSEON_IMAGE = 0x36;
static const Shortint SUI_TITLEBUTTON_MIN_MOUSEDOWN_IMAGE = 0x37;
static const Shortint SUI_TITLEBUTTON_HELP_NORMAL_IMAGE = 0x38;
static const Shortint SUI_TITLEBUTTON_HELP_MOUSEON_IMAGE = 0x39;
static const Shortint SUI_TITLEBUTTON_HELP_MOUSEDOWN_IMAGE = 0x3a;
static const Shortint SUI_TITLEBUTTON_CTLBOX_NORMAL_IMAGE = 0x3b;
static const Shortint SUI_TITLEBUTTON_CTLBOX_MOUSEON_IMAGE = 0x3c;
static const Shortint SUI_TITLEBUTTON_CTLBOX_MOUSEDOWN_IMAGE = 0x3d;
static const Shortint SUI_TITLEBUTTON_RST_NORMAL_IMAGE = 0x3e;
static const Shortint SUI_TITLEBUTTON_RST_MOUSEON_IMAGE = 0x3f;
static const Shortint SUI_TITLEBUTTON_RST_MOUSEDOWN_IMAGE = 0x40;
static const Shortint SUI_TITLEBUTTON_TRANSPARENT_BOOL = 0x41;
static const Shortint SUI_TITLEBUTTON_LEFTXOFFSET = 0x42;
static const Shortint SUI_TITLEBUTTON_RIGHTXOFFSET = 0x43;
static const Shortint SUI_TITLEBUTTON_TOP = 0x44;
static const Shortint SUI_TAB_ACTIVE_IMAGE = 0x45;
static const Shortint SUI_TAB_INACTIVE_IMAGE = 0x46;
static const Shortint SUI_TAB_LINE_IMAGE = 0x47;
static const Shortint SUI_TAB_TOP_HEIGHT = 0x48;
static const Shortint SUI_COMBOBOX_BUTTON_COLOR = 0x49;
static const Shortint SUI_TRACKBAR_BAR = 0x4a;
static const Shortint SUI_TRACKBAR_SLIDER = 0x4b;
static const Shortint SUI_TRACKBAR_BAR_V = 0x4c;
static const Shortint SUI_TRACKBAR_SLIDER_V = 0x4d;
static const Shortint SUI_TRACKBAR_BGCOLOR = 0x4e;
static const Shortint SUI_TOOLBAR_BUTTON_BORDER_COLOR = 0x4f;
static const Shortint SUI_TOOLBAR_BUTTON_COLOR = 0x50;
static const Shortint SUI_TOOLBAR_BUTTON_DOWN_COLOR = 0x51;
static const Shortint SUI_TOOLBAR_COLOR = 0x52;
extern PACKAGE int __fastcall GetThemeElement(TsuiUIStyle UIStyle, int Element, TsuiType &ReturnType);
extern PACKAGE AnsiString __fastcall GetThemeString(TsuiUIStyle UIStyle, int Element);
extern PACKAGE int __fastcall GetThemeInt(TsuiUIStyle UIStyle, int Element);
extern PACKAGE bool __fastcall GetThemeBool(TsuiUIStyle UIStyle, int Element);
extern PACKAGE Graphics::TColor __fastcall GetThemeColor(TsuiUIStyle UIStyle, int Element);
extern PACKAGE Graphics::TColor __fastcall GetSUIFormColor(Forms::TCustomForm* Form);
extern PACKAGE Graphics::TColor __fastcall GetBorderColor(Forms::TCustomForm* Form);
extern PACKAGE TsuiUIStyle __fastcall GetSUIFormStyle(Forms::TCustomForm* Form);
extern PACKAGE void __fastcall ContainerApplyUIStyle(Controls::TWinControl* Container, TsuiUIStyle UIStyle);
extern PACKAGE void __fastcall SubContainerApplyUIStyle(Controls::TWinControl* Container, TsuiUIStyle UIStyle);
} /* namespace Suithemes */
using namespace Suithemes;
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // SUIThemes
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -