|
|
@@ -68,6 +68,7 @@ PUBLISHED:
|
|
|
INLINE int get_y_origin() const;
|
|
|
INLINE bool has_origin() const;
|
|
|
INLINE void clear_origin();
|
|
|
+ MAKE_PROPERTY2(origin, has_origin, get_origin, set_origin, clear_origin);
|
|
|
|
|
|
INLINE void set_size(const LVector2i &size);
|
|
|
INLINE void set_size(int x_size, int y_size);
|
|
|
@@ -76,41 +77,55 @@ PUBLISHED:
|
|
|
INLINE int get_y_size() const;
|
|
|
INLINE bool has_size() const;
|
|
|
INLINE void clear_size();
|
|
|
+ MAKE_PROPERTY2(size, has_size, get_size, set_size, clear_size);
|
|
|
|
|
|
INLINE bool has_mouse_mode() const;
|
|
|
INLINE void set_mouse_mode(MouseMode mode);
|
|
|
INLINE MouseMode get_mouse_mode() const;
|
|
|
INLINE void clear_mouse_mode();
|
|
|
+ MAKE_PROPERTY2(mouse_mode, has_mouse_mode, get_mouse_mode,
|
|
|
+ set_mouse_mode, clear_mouse_mode);
|
|
|
|
|
|
INLINE void set_title(const string &title);
|
|
|
INLINE const string &get_title() const;
|
|
|
INLINE bool has_title() const;
|
|
|
INLINE void clear_title();
|
|
|
+ MAKE_PROPERTY2(title, has_title, get_title, set_title, clear_title);
|
|
|
|
|
|
INLINE void set_undecorated(bool undecorated);
|
|
|
INLINE bool get_undecorated() const;
|
|
|
INLINE bool has_undecorated() const;
|
|
|
INLINE void clear_undecorated();
|
|
|
+ MAKE_PROPERTY2(undecorated, has_undecorated, get_undecorated,
|
|
|
+ set_undecorated, clear_undecorated);
|
|
|
|
|
|
INLINE void set_fixed_size(bool fixed_size);
|
|
|
INLINE bool get_fixed_size() const;
|
|
|
INLINE bool has_fixed_size() const;
|
|
|
INLINE void clear_fixed_size();
|
|
|
+ MAKE_PROPERTY2(fixed_size, has_fixed_size, get_fixed_size,
|
|
|
+ set_fixed_size, clear_fixed_size);
|
|
|
|
|
|
INLINE void set_fullscreen(bool fullscreen);
|
|
|
INLINE bool get_fullscreen() const;
|
|
|
INLINE bool has_fullscreen() const;
|
|
|
INLINE void clear_fullscreen();
|
|
|
+ MAKE_PROPERTY2(fullscreen, has_fullscreen, get_fullscreen,
|
|
|
+ set_fullscreen, clear_fullscreen);
|
|
|
|
|
|
INLINE void set_foreground(bool foreground);
|
|
|
INLINE bool get_foreground() const;
|
|
|
INLINE bool has_foreground() const;
|
|
|
INLINE void clear_foreground();
|
|
|
+ MAKE_PROPERTY2(foreground, has_foreground, get_foreground,
|
|
|
+ set_foreground, clear_foreground);
|
|
|
|
|
|
INLINE void set_minimized(bool minimized);
|
|
|
INLINE bool get_minimized() const;
|
|
|
INLINE bool has_minimized() const;
|
|
|
INLINE void clear_minimized();
|
|
|
+ MAKE_PROPERTY2(minimized, has_minimized, get_minimized,
|
|
|
+ set_minimized, clear_minimized);
|
|
|
|
|
|
INLINE void set_raw_mice(bool raw_mice);
|
|
|
INLINE bool get_raw_mice() const;
|
|
|
@@ -121,32 +136,42 @@ PUBLISHED:
|
|
|
INLINE bool get_open() const;
|
|
|
INLINE bool has_open() const;
|
|
|
INLINE void clear_open();
|
|
|
+ MAKE_PROPERTY2(open, has_open, get_open, set_open, clear_open);
|
|
|
|
|
|
INLINE void set_cursor_hidden(bool cursor_hidden);
|
|
|
INLINE bool get_cursor_hidden() const;
|
|
|
INLINE bool has_cursor_hidden() const;
|
|
|
INLINE void clear_cursor_hidden();
|
|
|
+ MAKE_PROPERTY2(cursor_hidden, has_cursor_hidden, get_cursor_hidden,
|
|
|
+ set_cursor_hidden, clear_cursor_hidden);
|
|
|
|
|
|
INLINE void set_icon_filename(const Filename &icon_filename);
|
|
|
INLINE const Filename &get_icon_filename() const;
|
|
|
INLINE bool has_icon_filename() const;
|
|
|
INLINE void clear_icon_filename();
|
|
|
+ MAKE_PROPERTY2(icon_filename, has_icon_filename, get_icon_filename,
|
|
|
+ set_icon_filename, clear_icon_filename);
|
|
|
|
|
|
INLINE void set_cursor_filename(const Filename &cursor_filename);
|
|
|
INLINE const Filename &get_cursor_filename() const;
|
|
|
INLINE bool has_cursor_filename() const;
|
|
|
INLINE void clear_cursor_filename();
|
|
|
+ MAKE_PROPERTY2(cursor_filename, has_cursor_filename, get_cursor_filename,
|
|
|
+ set_cursor_filename, clear_cursor_filename);
|
|
|
|
|
|
INLINE void set_z_order(ZOrder z_order);
|
|
|
INLINE ZOrder get_z_order() const;
|
|
|
INLINE bool has_z_order() const;
|
|
|
INLINE void clear_z_order();
|
|
|
+ MAKE_PROPERTY2(z_order, has_z_order, get_z_order, set_z_order, clear_z_order);
|
|
|
|
|
|
void set_parent_window(size_t parent);
|
|
|
INLINE void set_parent_window(WindowHandle *parent_window = NULL);
|
|
|
INLINE WindowHandle *get_parent_window() const;
|
|
|
INLINE bool has_parent_window() const;
|
|
|
INLINE void clear_parent_window();
|
|
|
+ MAKE_PROPERTY2(parent_window, has_parent_window, get_parent_window,
|
|
|
+ set_parent_window, clear_parent_window);
|
|
|
|
|
|
void add_properties(const WindowProperties &other);
|
|
|
|