namespace Graphics {
class Display;
+struct Monitor;
struct WindowOptions
{
+ int x;
+ int y;
+ bool user_position;
unsigned width;
unsigned height;
bool fullscreen;
+ const Monitor *fullscreen_monitor;
+ bool fullscreen_exclusive;
bool resizable;
WindowOptions();
objects instead. */
sigc::signal<void, const Event &> signal_input_event;
+ sigc::signal<void> signal_got_focus;
+ sigc::signal<void> signal_lost_focus;
+
+ sigc::signal<void, int, int> signal_move;
sigc::signal<void, unsigned, unsigned> signal_resize;
+ sigc::signal<void, unsigned, unsigned, unsigned, unsigned, const Event &> signal_expose;
sigc::signal<void> signal_close;
protected:
bool kbd_autorepeat;
bool touch_input;
bool resizing;
+ bool moving;
Private *priv;
public:
void set_title(const std::string &);
void reconfigure(const WindowOptions &);
private:
+ void set_fullscreen_mode();
void platform_reconfigure(bool);
public:
void set_keyboard_autorepeat(bool);