mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-02-24 07:02:27 +01:00
byuu says: This release adds the phoenix/Cocoa port, and rewrites a lot of the higan user interface to work with all of the new changes (like blocking in the main run loop and in modal windows.) It doesn't yet modify the compilation flags to actually build on OS X yet, and even then, we don't really have ruby drivers, so there'd be no video, audio or input. Two months between a single WIP point release ... for the first six years, I never went more than a month without a full official release. I guess I should be happy that it's become so refined, but I sure do miss those halcyon days of exciting progress.
38 lines
995 B
C++
38 lines
995 B
C++
namespace phoenix {
|
|
|
|
struct pWindow : public pObject {
|
|
Window &window;
|
|
|
|
static Window& none();
|
|
|
|
void append(Layout &layout);
|
|
void append(Menu &menu);
|
|
void append(Widget &widget);
|
|
Color backgroundColor();
|
|
bool focused();
|
|
Geometry frameMargin();
|
|
Geometry geometry();
|
|
void remove(Layout &layout);
|
|
void remove(Menu &menu);
|
|
void remove(Widget &widget);
|
|
void setBackgroundColor(const Color &color);
|
|
void setFocused();
|
|
void setFullScreen(bool fullScreen);
|
|
void setGeometry(const Geometry &geometry);
|
|
void setMenuFont(const string &font);
|
|
void setMenuVisible(bool visible);
|
|
void setModal(bool modal);
|
|
void setResizable(bool resizable);
|
|
void setStatusFont(const string &font);
|
|
void setStatusText(const string &text);
|
|
void setStatusVisible(bool visible);
|
|
void setTitle(const string &text);
|
|
void setVisible(bool visible);
|
|
void setWidgetFont(const string &font);
|
|
|
|
pWindow(Window &window) : pObject(window), window(window) {}
|
|
void constructor();
|
|
};
|
|
|
|
}
|