mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-02-23 14:42:33 +01:00
byuu says: Finally!! Compilation works once again on Windows. However, it's pretty buggy. Modality isn't really working right, you can still poke at other windows, but when you select ListView items, they redraw as empty boxes (need to process WM_DRAWITEM before checking modality.) The program crashes when you close it (probably a ruby driver's term() function, that's what it usually is.) The Layout::setEnabled(false) call isn't working right, so you get that annoying chiming sound and cursor movement when mapping keyboard keys to game inputs. The column sizing seems off a bit on first display for the Hotkeys tab. And probably lots more.
84 lines
2.1 KiB
C++
84 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_Group
|
|
|
|
#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
|