mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-02-23 22:52:34 +01:00
byuu says: Obviously, this is a fairly major WIP. It's the first public release in 17 months. The entire UI has been rewritten (for the 74th time), and is now internally called tomoko. The official releases will be named higan (both the binaries and title bar.) Missing features from v094: - ananke is missing (this means you will need v094 to create game folders to be loaded) - key assignments are limited to one physical button = one mapping (no multi-mapping) - shader support is missing - audio/video profiling is missing - DIP switch window is missing (used by NSS Actraiser with a special manifest; that's about it) - alternate paths for game system folders and configuration BML files There's some new stuff, but not much. This isn't going to be an exciting WIP in terms of features. It's more about being a brand new release with the brand new hiro port and its shared memory model. The goal is to get these WIPs stable, get v095 out, and then finally start improving the actual emulation again after that.
50 lines
1.3 KiB
C++
50 lines
1.3 KiB
C++
#if defined(Hiro_Window)
|
|
|
|
namespace hiro {
|
|
|
|
struct pWindow : pObject {
|
|
Declare(Window, Object)
|
|
|
|
auto append(sLayout layout) -> void;
|
|
auto append(sMenuBar menuBar) -> void;
|
|
auto append(sStatusBar statusBar) -> void;
|
|
auto focused() const -> bool override;
|
|
auto frameMargin() const -> Geometry;
|
|
auto remove(sLayout layout) -> void;
|
|
auto remove(sMenuBar menuBar) -> void;
|
|
auto remove(sStatusBar statusBar) -> void;
|
|
auto setBackgroundColor(Color color) -> void;
|
|
auto setDroppable(bool droppable) -> void;
|
|
auto setEnabled(bool enabled) -> void;
|
|
auto setFocused() -> void;
|
|
auto setFont(const string& font) -> void override;
|
|
auto setFullScreen(bool fullScreen) -> void;
|
|
auto setGeometry(Geometry geometry) -> void;
|
|
auto setModal(bool modal) -> void;
|
|
auto setResizable(bool resizable) -> void;
|
|
auto setTitle(string text) -> void;
|
|
auto setVisible(bool visible) -> void;
|
|
|
|
auto onClose() -> void;
|
|
auto onDrop(WPARAM wparam) -> void;
|
|
auto onEraseBackground() -> bool;
|
|
auto onModalBegin() -> void;
|
|
auto onModalEnd() -> void;
|
|
auto onMove() -> void;
|
|
auto onSize() -> void;
|
|
|
|
auto _geometry() -> Geometry;
|
|
auto _modalityCount() -> unsigned;
|
|
auto _modalityDisabled() -> bool;
|
|
auto _modalityUpdate() -> void;
|
|
|
|
HWND hwnd = nullptr;
|
|
HFONT hstatusfont = nullptr;
|
|
HBRUSH hbrush = nullptr;
|
|
COLORREF hbrushColor = 0;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|