diff options
author | fluxgen <fluxgen> | 2002-10-15 10:54:40 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-10-15 10:54:40 (GMT) |
commit | a904d7b6b790396d396a57472467d4f2578b4f53 (patch) | |
tree | 327b87cde947dae96fa41f9dbe3673b405a5f7bf /src/Screen.hh | |
parent | d565c23cf97e8893f31c7743f867fe6036b7959e (diff) | |
download | fluxbox_pavel-a904d7b6b790396d396a57472467d4f2578b4f53.zip fluxbox_pavel-a904d7b6b790396d396a57472467d4f2578b4f53.tar.bz2 |
antialias resource
Diffstat (limited to 'src/Screen.hh')
-rw-r--r-- | src/Screen.hh | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/Screen.hh b/src/Screen.hh index eb6ad6d..60883c1 100644 --- a/src/Screen.hh +++ b/src/Screen.hh | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Screen.hh,v 1.46 2002/10/13 22:29:25 fluxgen Exp $ | 25 | // $Id: Screen.hh,v 1.47 2002/10/15 10:54:40 fluxgen Exp $ |
26 | 26 | ||
27 | #ifndef SCREEN_HH | 27 | #ifndef SCREEN_HH |
28 | #define SCREEN_HH | 28 | #define SCREEN_HH |
@@ -94,7 +94,7 @@ public: | |||
94 | inline bool doFocusNew() const { return *resource.focus_new; } | 94 | inline bool doFocusNew() const { return *resource.focus_new; } |
95 | inline bool doFocusLast() const { return *resource.focus_last; } | 95 | inline bool doFocusLast() const { return *resource.focus_last; } |
96 | inline bool doShowWindowPos() const { return *resource.show_window_pos; } | 96 | inline bool doShowWindowPos() const { return *resource.show_window_pos; } |
97 | 97 | bool antialias() const { return *resource.antialias; } | |
98 | inline GC getOpGC() const { return theme->getOpGC(); } | 98 | inline GC getOpGC() const { return theme->getOpGC(); } |
99 | 99 | ||
100 | inline const FbTk::Color *getBorderColor() const { return &theme->getBorderColor(); } | 100 | inline const FbTk::Color *getBorderColor() const { return &theme->getBorderColor(); } |
@@ -105,6 +105,7 @@ public: | |||
105 | inline bool isSlitOnTop() const { return resource.slit_on_top; } | 105 | inline bool isSlitOnTop() const { return resource.slit_on_top; } |
106 | inline bool doSlitAutoHide() const { return resource.slit_auto_hide; } | 106 | inline bool doSlitAutoHide() const { return resource.slit_auto_hide; } |
107 | inline Slit *getSlit() { return slit; } | 107 | inline Slit *getSlit() { return slit; } |
108 | inline const Slit *getSlit() const { return slit; } | ||
108 | inline int getSlitPlacement() const { return resource.slit_placement; } | 109 | inline int getSlitPlacement() const { return resource.slit_placement; } |
109 | inline int getSlitDirection() const { return resource.slit_direction; } | 110 | inline int getSlitDirection() const { return resource.slit_direction; } |
110 | inline void saveSlitPlacement(int p) { resource.slit_placement = p; } | 111 | inline void saveSlitPlacement(int p) { resource.slit_placement = p; } |
@@ -203,7 +204,7 @@ public: | |||
203 | inline void iconUpdate() { iconmenu->update(); } | 204 | inline void iconUpdate() { iconmenu->update(); } |
204 | inline Iconmenu *getIconmenu() { return iconmenu; } | 205 | inline Iconmenu *getIconmenu() { return iconmenu; } |
205 | inline void setAutoGroupWindow(Window w = 0) { auto_group_window = w; } | 206 | inline void setAutoGroupWindow(Window w = 0) { auto_group_window = w; } |
206 | 207 | void setAntialias(bool value); | |
207 | 208 | ||
208 | #ifdef HAVE_STRFTIME | 209 | #ifdef HAVE_STRFTIME |
209 | inline const char *getStrftimeFormat() { return resource.strftime_format.c_str(); } | 210 | inline const char *getStrftimeFormat() { return resource.strftime_format.c_str(); } |
@@ -212,7 +213,7 @@ public: | |||
212 | inline int getDateFormat() { return resource.date_format; } | 213 | inline int getDateFormat() { return resource.date_format; } |
213 | inline void saveDateFormat(int f) { resource.date_format = f; } | 214 | inline void saveDateFormat(int f) { resource.date_format = f; } |
214 | inline bool isClock24Hour() { return resource.clock24hour; } | 215 | inline bool isClock24Hour() { return resource.clock24hour; } |
215 | inline void saveClock24Hour(Bool c) { resource.clock24hour = c; } | 216 | inline void saveClock24Hour(bool c) { resource.clock24hour = c; } |
216 | #endif // HAVE_STRFTIME | 217 | #endif // HAVE_STRFTIME |
217 | 218 | ||
218 | inline Theme::WindowStyle *getWindowStyle() { return &theme->getWindowStyle(); } | 219 | inline Theme::WindowStyle *getWindowStyle() { return &theme->getWindowStyle(); } |
@@ -344,7 +345,8 @@ private: | |||
344 | max_over_slit, tab_rotate_vertical, | 345 | max_over_slit, tab_rotate_vertical, |
345 | sloppy_window_grouping, workspace_warping, | 346 | sloppy_window_grouping, workspace_warping, |
346 | desktop_wheeling, show_window_pos, | 347 | desktop_wheeling, show_window_pos, |
347 | focus_last, focus_new; | 348 | focus_last, focus_new, |
349 | antialias; | ||
348 | Resource<std::string> rootcommand; | 350 | Resource<std::string> rootcommand; |
349 | bool auto_raise, sloppy_focus, semi_sloppy_focus, | 351 | bool auto_raise, sloppy_focus, semi_sloppy_focus, |
350 | ordered_dither; | 352 | ordered_dither; |
@@ -362,7 +364,7 @@ private: | |||
362 | 364 | ||
363 | 365 | ||
364 | #ifdef SLIT | 366 | #ifdef SLIT |
365 | Bool slit_on_top, slit_auto_hide; | 367 | bool slit_on_top, slit_auto_hide; |
366 | int slit_placement, slit_direction; | 368 | int slit_placement, slit_direction; |
367 | 369 | ||
368 | #ifdef XINERAMA | 370 | #ifdef XINERAMA |