mirror of https://github.com/bsnes-emu/bsnes.git
82 lines
2.1 KiB
C++
82 lines
2.1 KiB
C++
![]() |
/* hiro components
|
||
|
*
|
||
|
* By commenting out lines below, individual components of hiro can be disabled.)
|
||
|
* This can be useful to avoid dependencies (eg GTK+ relies on GtkSourceView for SourceEdit.)
|
||
|
* It's also very useful for porting hiro to new targets; or performing major core changes.
|
||
|
*
|
||
|
* Note that the core classes (Application, Window, Sizable, etc) have circular dependencies.
|
||
|
* Disabling only certain core pieces will result in compilation errors.
|
||
|
* As such, this file is really only meant for disabling individual widgets or menu items.
|
||
|
*/
|
||
|
|
||
|
#define Hiro_Application
|
||
|
|
||
|
#define Hiro_Color
|
||
|
#define Hiro_Position
|
||
|
#define Hiro_Size
|
||
|
#define Hiro_Geometry
|
||
|
|
||
|
#define Hiro_Font
|
||
|
#define Hiro_Desktop
|
||
|
#define Hiro_Monitor
|
||
|
#define Hiro_Keyboard
|
||
|
#define Hiro_Mouse
|
||
|
#define Hiro_BrowserWindow
|
||
|
#define Hiro_MessageWindow
|
||
|
|
||
|
#define Hiro_Object
|
||
|
#define Hiro_Hotkey
|
||
|
#define Hiro_Timer
|
||
|
|
||
|
#define Hiro_Window
|
||
|
#define Hiro_StatusBar
|
||
|
#define Hiro_MenuBar
|
||
|
#define Hiro_PopupMenu
|
||
|
|
||
|
#define Hiro_Action
|
||
|
#define Hiro_Menu
|
||
|
#define Hiro_MenuSeparator
|
||
|
#define Hiro_MenuItem
|
||
|
#define Hiro_MenuCheckItem
|
||
|
#define Hiro_MenuRadioItem
|
||
|
|
||
|
#define Hiro_Sizable
|
||
|
#define Hiro_Layout
|
||
|
#define Hiro_Widget
|
||
|
#define Hiro_Button
|
||
|
#define Hiro_Canvas
|
||
|
#define Hiro_CheckButton
|
||
|
#define Hiro_CheckLabel
|
||
|
#define Hiro_ComboButton
|
||
|
#define Hiro_Console
|
||
|
#define Hiro_Frame
|
||
|
#define Hiro_HexEdit
|
||
|
#define Hiro_HorizontalScroller
|
||
|
#define Hiro_HorizontalSlider
|
||
|
#define Hiro_IconView
|
||
|
#define Hiro_Label
|
||
|
#define Hiro_LineEdit
|
||
|
#define Hiro_ListView
|
||
|
#define Hiro_ProgressBar
|
||
|
#define Hiro_RadioButton
|
||
|
#define Hiro_RadioLabel
|
||
|
#define Hiro_SourceView
|
||
|
#define Hiro_TabFrame
|
||
|
#define Hiro_TextEdit
|
||
|
#define Hiro_TreeView
|
||
|
#define Hiro_VerticalScroller
|
||
|
#define Hiro_VerticalSlider
|
||
|
#define Hiro_Viewport
|
||
|
|
||
|
#define Hiro_FixedLayout
|
||
|
#define Hiro_HorizontalLayout
|
||
|
#define Hiro_VerticalLayout
|
||
|
|
||
|
#if defined(Hiro_Button) && defined(Hiro_Canvas) && defined(Hiro_Label)
|
||
|
#define Hiro_MessageDialog
|
||
|
#endif
|
||
|
|
||
|
#if defined(Hiro_Button) && defined(Hiro_ComboButton) && defined(Hiro_LineEdit) && defined(Hiro_ListView) && defined(Hiro_MessageDialog)
|
||
|
#define Hiro_BrowserDialog
|
||
|
#endif
|