mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-15 05:34:19 +02:00
Update to 20180724 release.
byuu says: I failed to complete a WIP, have five of eight cores updated with some major changes to Emulator::Interface. I'll just post a quick temporary WIP in the off chance someone wants to look over the new interface and comment on it. Also implemented screen saver suppression into hiro/GTK. I should also add ... a plan of mine is to develop target-bsnes into a more generic user interface, with the general idea being that target-higan is for multiple Emulator::Interface cores at the same time, and target-bsnes is for just one Emulator::Interface core. The idea being that if one were to compile target-bsnes with the GBA core, it'd become bgba, for instance. I don't plan on releasing single-core emulators like this, but ... I don't see any downsides to being more flexible.
This commit is contained in:
@@ -10,6 +10,7 @@ struct pWindow : pObject {
|
||||
auto append(sStatusBar statusBar) -> void;
|
||||
auto focused() const -> bool override;
|
||||
auto frameMargin() const -> Geometry;
|
||||
auto handle() const -> uintptr;
|
||||
auto remove(sMenuBar menuBar) -> void;
|
||||
auto remove(sSizable sizable) -> void;
|
||||
auto remove(sStatusBar statusBar) -> void;
|
||||
@@ -33,6 +34,7 @@ struct pWindow : pObject {
|
||||
auto _append(mMenu& menu) -> void;
|
||||
auto _menuHeight() const -> int;
|
||||
auto _menuTextHeight() const -> int;
|
||||
auto _setScreenSaver(bool screenSaver) -> void;
|
||||
auto _setIcon(const string& basename) -> bool;
|
||||
auto _setMenuEnabled(bool enabled) -> void;
|
||||
auto _setMenuFont(const Font& font) -> void;
|
||||
@@ -55,6 +57,7 @@ struct pWindow : pObject {
|
||||
GtkWidget* gtkStatus = nullptr;
|
||||
GtkAllocation lastMove = {0};
|
||||
GtkAllocation lastSize = {0};
|
||||
bool screenSaver = true;
|
||||
};
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user