Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

otk::RenderStyle Class Reference

#include <renderstyle.hh>

Collaboration diagram for otk::RenderStyle:

Collaboration graph
[legend]
List of all members.

Public Types

enum  TextJustify { LeftJustify, RightJustify, CenterJustify }

Public Methods

 RenderStyle (int screen, const std::string &stylefile)
virtual ~RenderStyle ()
int screen () const
RenderColor * rootColor () const
RenderColor * textFocusColor () const
RenderColor * textUnfocusColor () const
RenderColor * buttonFocusColor () const
RenderColor * buttonUnfocusColor () const
RenderColor * frameBorderColor () const
int frameBorderWidth () const
RenderColor * clientBorderFocusColor () const
RenderColor * clientBorderUnfocusColor () const
int clientBorderWidth () const
RenderTexture * titlebarFocusBackground () const
RenderTexture * titlebarUnfocusBackground () const
RenderTexture * labelFocusBackground () const
RenderTexture * labelUnfocusBackground () const
RenderTexture * handleFocusBackground () const
RenderTexture * handleUnfocusBackground () const
RenderTexture * buttonUnpressFocusBackground () const
RenderTexture * buttonUnpressUnfocusBackground () const
RenderTexture * buttonPressFocusBackground () const
RenderTexture * buttonPressUnfocusBackground () const
RenderTexture * gripFocusBackground () const
RenderTexture * gripUnfocusBackground () const
Font * labelFont () const
TextJustify labelTextJustify () const
PixmapMask * maximizeMask () const
PixmapMask * iconifyMask () const
PixmapMask * alldesktopsMask () const
PixmapMask * closeMask () const
int handleWidth () const
int bevelWidth () const

Private Attributes

int _screen
std::string _file
RenderColor * _root_color
RenderColor * _text_color_focus
RenderColor * _text_color_unfocus
RenderColor * _button_color_focus
RenderColor * _button_color_unfocus
RenderColor * _frame_border_color
int _frame_border_width
RenderColor * _client_border_color_focus
RenderColor * _client_border_color_unfocus
int _client_border_width
RenderTexture * _titlebar_focus
RenderTexture * _titlebar_unfocus
RenderTexture * _label_focus
RenderTexture * _label_unfocus
RenderTexture * _handle_focus
RenderTexture * _handle_unfocus
RenderTexture * _button_unpress_focus
RenderTexture * _button_unpress_unfocus
RenderTexture * _button_press_focus
RenderTexture * _button_press_unfocus
RenderTexture * _grip_focus
RenderTexture * _grip_unfocus
Font * _label_font
TextJustify _label_justify
PixmapMask * _max_mask
PixmapMask * _icon_mask
PixmapMask * _alldesk_mask
PixmapMask * _close_mask
int _handle_width
int _bevel_width

Member Enumeration Documentation

enum otk::RenderStyle::TextJustify
 

Enumeration values:
LeftJustify 
RightJustify 
CenterJustify 

Definition at line 21 of file renderstyle.hh.

Referenced by labelTextJustify().

00021                    {
00022     LeftJustify,
00023     RightJustify,
00024     CenterJustify
00025   };


Constructor & Destructor Documentation

otk::RenderStyle::RenderStyle (  int    screen,
const std::string &    stylefile
) 
 

Definition at line 13 of file renderstyle.cc.

References _alldesk_mask, _bevel_width, _button_color_focus, _button_color_unfocus, _button_press_focus, _button_press_unfocus, _button_unpress_focus, _button_unpress_unfocus, _client_border_color_focus, _client_border_color_unfocus, _client_border_width, _close_mask, _frame_border_color, _frame_border_width, _grip_focus, _grip_unfocus, _handle_focus, _handle_unfocus, _handle_width, _icon_mask, _label_focus, _label_font, _label_justify, _label_unfocus, _max_mask, _root_color, _text_color_focus, _text_color_unfocus, _titlebar_focus, _titlebar_unfocus, CenterJustify, otk::display, otk::PixmapMask::h, otk::PixmapMask::mask, RightJustify, otk::ScreenInfo::rootWindow(), otk::Display::screenInfo(), and otk::PixmapMask::w.

00014   : _screen(screen),
00015     _file(stylefile)
00016 {
00017 // pick one..
00018 //#define FIERON
00019 #define MERRY
00020 
00021 #ifdef FIERON
00022   _root_color = new RenderColor(_screen, 0x272a2f);
00023   
00024   _text_color_focus = new RenderColor(_screen, 0x272a2f);
00025   _text_color_unfocus = new RenderColor(_screen, 0x676869);
00026 
00027   _button_color_focus = new RenderColor(_screen, 0x96ba86);
00028   _button_color_unfocus = new RenderColor(_screen, 0x676869);
00029 
00030   _frame_border_color = new RenderColor(_screen, 0x181f24);
00031   _frame_border_width = 1;
00032 
00033   _client_border_color_focus = new RenderColor(_screen, 0x858687);
00034   _client_border_color_unfocus = new RenderColor(_screen, 0x555657);
00035   _client_border_width = 1;
00036 
00037   _titlebar_focus = new RenderTexture(_screen,
00038                                       false,
00039                                       RenderTexture::Flat,
00040                                       RenderTexture::Bevel1,
00041                                       false,
00042                                       RenderTexture::Vertical,
00043                                       false,
00044                                       0x858687,
00045                                       0x373a3f,
00046                                       0x0,
00047                                       0x0);
00048   _titlebar_unfocus = new RenderTexture(_screen,
00049                                         false,
00050                                         RenderTexture::Flat,
00051                                         RenderTexture::Bevel1,
00052                                         false,
00053                                         RenderTexture::Vertical,
00054                                         false,
00055                                         0x555657,
00056                                         0x171a1f,
00057                                         0x0,
00058                                         0x0);
00059 
00060   _label_focus = new RenderTexture(_screen,
00061                                    false,
00062                                    RenderTexture::Flat,
00063                                    RenderTexture::Bevel1,
00064                                    true,
00065                                    RenderTexture::Vertical,
00066                                    false,
00067                                    0x96ba86,
00068                                    0x5a724c,
00069                                    0x181f24,
00070                                    0x0);
00071   _label_unfocus = new RenderTexture(_screen,
00072                                      false,
00073                                      RenderTexture::Sunken,
00074                                      RenderTexture::Bevel1,
00075                                      false,
00076                                      RenderTexture::CrossDiagonal,
00077                                      false,
00078                                      0x555657,
00079                                      0x272a2f,
00080                                      0x0,
00081                                      0x0);
00082 
00083 
00084   _handle_focus = new RenderTexture(_screen,
00085                                     false,
00086                                     RenderTexture::Flat,
00087                                     RenderTexture::Bevel1,
00088                                     false,
00089                                     RenderTexture::Vertical,
00090                                     false,
00091                                     0x858687,
00092                                     0x373a3f,
00093                                     0x0,
00094                                     0x0);
00095   _handle_unfocus = new RenderTexture(_screen,
00096                                       false,
00097                                       RenderTexture::Flat,
00098                                       RenderTexture::Bevel1,
00099                                       false,
00100                                       RenderTexture::Vertical,
00101                                       false,
00102                                       0x555657,
00103                                       0x171a1f,
00104                                       0x0,
00105                                       0x0);
00106 
00107   
00108   _button_unpress_focus = new RenderTexture(_screen,
00109                                             false,
00110                                             RenderTexture::Raised,
00111                                             RenderTexture::Bevel2,
00112                                             false,
00113                                             RenderTexture::CrossDiagonal,
00114                                             false,
00115                                             0x858687,
00116                                             0x272a2f,
00117                                             0x0,
00118                                             0x0);
00119   _button_unpress_unfocus = new RenderTexture(_screen,
00120                                               false,
00121                                               RenderTexture::Raised,
00122                                               RenderTexture::Bevel2,
00123                                               false,
00124                                               RenderTexture::CrossDiagonal,
00125                                               false,
00126                                               0x555657,
00127                                               0x171a1f,
00128                                               0x0,
00129                                               0x0);
00130 
00131   _button_press_focus = new RenderTexture(_screen,
00132                                           false,
00133                                           RenderTexture::Sunken,
00134                                           RenderTexture::Bevel2,
00135                                           false,
00136                                           RenderTexture::CrossDiagonal,
00137                                           false,
00138                                           0x96ba86,
00139                                           0x5a724c,
00140                                           0x0,
00141                                           0x0);
00142   _button_press_unfocus = new RenderTexture(_screen,
00143                                             false,
00144                                             RenderTexture::Sunken,
00145                                             RenderTexture::Bevel2,
00146                                             false,
00147                                             RenderTexture::CrossDiagonal,
00148                                             false,
00149                                             0x555657,
00150                                             0x171a1f,
00151                                             0x0,
00152                                             0x0);
00153 
00154   _grip_focus = new RenderTexture(_screen,
00155                                   false,
00156                                   RenderTexture::Flat,
00157                                   RenderTexture::Bevel1,
00158                                   false,
00159                                   RenderTexture::Vertical,
00160                                   false,
00161                                   0x96ba86,
00162                                   0x5a724c,
00163                                   0x0,
00164                                   0x0);
00165   _grip_unfocus = new RenderTexture(_screen,
00166                                     false,
00167                                     RenderTexture::Flat,
00168                                     RenderTexture::Bevel1,
00169                                     false,
00170                                     RenderTexture::Vertical,
00171                                     false,
00172                                     0x555657,
00173                                     0x171a1f,
00174                                     0x0,
00175                                     0x0);
00176 
00177   _label_font = new Font(_screen, "Arial,Sans-9:bold", true, 1, 0x40);
00178   _label_justify = RightJustify;
00179 
00180   _max_mask = new PixmapMask();
00181   _max_mask->w = _max_mask->h = 8;
00182   {
00183     //char data[] = { 0x7e, 0xff, 0xc3, 0xc3, 0xc3, 0xc3, 0xff, 0x7e };
00184     char data []  = {0x00, 0x00, 0x18, 0x3c, 0x66, 0x42, 0x00, 0x00 };
00185     _max_mask->mask =
00186       XCreateBitmapFromData(**display,
00187                             display->screenInfo(_screen)->rootWindow(),
00188                             data, 8, 8);
00189   }
00190 
00191   _icon_mask = new PixmapMask();
00192   _icon_mask->w = _icon_mask->h = 8;
00193   {
00194     //char data[] = { 0x00, 0x00, 0xc3, 0xe7, 0x7e, 0x3c, 0x18, 0x00 };
00195     char data[] = { 0x00, 0x00, 0x42, 0x66, 0x3c, 0x18, 0x00, 0x00 };
00196     _icon_mask->mask =
00197       XCreateBitmapFromData(**display,
00198                             display->screenInfo(_screen)->rootWindow(),
00199                             data, 8, 8);
00200   }
00201   
00202   _alldesk_mask = new PixmapMask();
00203   _alldesk_mask->w = _alldesk_mask->h = 8;
00204   {
00205     //char data[] = { 0x00, 0x00, 0x18, 0x3c, 0x3c, 0x18, 0x00, 0x00 };
00206     char data[] = { 0x00, 0x66, 0x66, 0x00, 0x00, 0x66, 0x66, 0x00 };
00207     _alldesk_mask->mask =
00208       XCreateBitmapFromData(**display,
00209                             display->screenInfo(_screen)->rootWindow(),
00210                             data, 8, 8);
00211   }
00212   
00213   _close_mask = new PixmapMask();
00214   _close_mask->w = _close_mask->h = 8;
00215   {
00216     //char data[] = { 0xc3, 0xe7, 0x7e, 0x3c, 0x3c, 0x7e, 0xe7, 0xc3 };
00217     char data[] = { 0x00, 0xc3, 0x66, 0x3c, 0x3c, 0x66, 0xc3, 0x00 };
00218     _close_mask->mask =
00219       XCreateBitmapFromData(**display,
00220                             display->screenInfo(_screen)->rootWindow(),
00221                             data, 8, 8);
00222   }
00223 
00224   _bevel_width = 1;
00225   _handle_width = 4;
00226 #else
00227 #  ifdef MERRY
00228   _root_color = new RenderColor(_screen, 0x7b756a);
00229   
00230   _text_color_focus = new RenderColor(_screen, 0xffffff);
00231   _text_color_unfocus = new RenderColor(_screen, 0xffffff);
00232 
00233   _button_color_focus = new RenderColor(_screen, 0x222222);
00234   _button_color_unfocus = new RenderColor(_screen, 0x333333);
00235 
00236   _frame_border_color = new RenderColor(_screen, 0x222222);
00237   _frame_border_width = 1;
00238 
00239   _client_border_color_focus = new RenderColor(_screen, 0x858687);
00240   _client_border_color_unfocus = new RenderColor(_screen, 0x555657);
00241   _client_border_width = 0;
00242 
00243   _titlebar_focus = new RenderTexture(_screen,
00244                                       false,
00245                                       RenderTexture::Flat,
00246                                       RenderTexture::Bevel1,
00247                                       false,
00248                                       RenderTexture::Solid,
00249                                       false,
00250                                       0xe6e6e6,
00251                                       0xe6e6e6,  
00252               0x0,
00253                                       0x0);
00254   _titlebar_unfocus = new RenderTexture(_screen,
00255                                         false,
00256                                         RenderTexture::Flat,
00257                                         RenderTexture::Bevel1,
00258                                         false,
00259                                         RenderTexture::Vertical,
00260                                         false,
00261                                         0xe6e6e6,
00262                                         0xd9d9d9,
00263                                         0x0,
00264                                         0x0);
00265 
00266   _label_focus = new RenderTexture(_screen,
00267                                    false,
00268                                    RenderTexture::Flat,
00269                                    RenderTexture::Bevel1,
00270                                    true,
00271                                    RenderTexture::Vertical,
00272                                    false,
00273                                    //0x6a6973,
00274                                    //0x6a6973,
00275                                    0x4c59a6,
00276                  0x5a6dbd,
00277            0x222222,
00278                                    0x0);
00279   //urg this ain't so hot
00280 _label_unfocus = new RenderTexture(_screen,
00281                               false,
00282                                    RenderTexture::Flat,
00283                                    RenderTexture::Bevel1,
00284                                    true,
00285                                    RenderTexture::Vertical,
00286                                    false,
00287                                    0xb4b2ad,
00288                                    0xc3c1bc,
00289         0x6a696a,
00290                                    0x0);
00291 
00292 
00293   _handle_focus = new RenderTexture(_screen,
00294                                     false,
00295                                     RenderTexture::Flat,
00296                                     RenderTexture::Bevel1,
00297                                     false,
00298                                     RenderTexture::Vertical,
00299                                     false,
00300                                     0xe6e6e6,
00301                                         0xd9d9d9,
00302                                     0x0,
00303                                     0x0);
00304   _handle_unfocus = new RenderTexture(_screen,
00305                                       false,
00306                                       RenderTexture::Flat,
00307                                       RenderTexture::Bevel1,
00308                                       false,
00309                                       RenderTexture::Solid,
00310                                       false,
00311                                      0xe6e6e6,
00312                                         0xe6e6e6,
00313                                       0x0,
00314                                       0x0);
00315 
00316   
00317   _button_unpress_focus = new RenderTexture(_screen,
00318                                             false,
00319                                             RenderTexture::Flat,
00320                                             RenderTexture::Bevel1,
00321                                             false,
00322                                             RenderTexture::Solid,
00323                                             false,
00324                                             0xe6e6e6,
00325                                         0xe6e6e6,
00326                                             0x0,
00327                                             0x0);
00328   _button_unpress_unfocus = new RenderTexture(_screen,
00329                                               false,
00330                                               RenderTexture::Flat,
00331                                               RenderTexture::Bevel1,
00332                                               false,
00333                                               RenderTexture::Solid,
00334                                               false,
00335                                              0xe6e6e6,
00336                                         0xe6e6e6,
00337                                               0x0,
00338                                               0x0);
00339 
00340   _button_press_focus = new RenderTexture(_screen,
00341                                           false,
00342                                             RenderTexture::Sunken,
00343                                             RenderTexture::Bevel2,
00344                                           false,
00345                                           RenderTexture::Vertical,
00346                                           false,
00347                                           0xe6e6e6,
00348                                           0xe6e6e6,
00349                                           0x0,
00350                                           0x0);
00351   _button_press_unfocus = new RenderTexture(_screen,
00352                                             false,
00353                                               RenderTexture::Sunken,
00354                                             RenderTexture::Bevel2,
00355                                             false,
00356                                             RenderTexture::Vertical,
00357                                             false,
00358                                               0xe6e6e6,
00359                                         0xe6e6e6,
00360                                             0x0,
00361                                             0x0);
00362 
00363   _grip_focus = new RenderTexture(_screen,
00364                                   false,
00365                                   RenderTexture::Flat,
00366                                   RenderTexture::Bevel1,
00367                                   false,
00368                                   RenderTexture::Vertical,
00369                                   false,
00370                                     0xe6e6e6,
00371                                         0xd9d9d9,
00372                                   0x0,
00373                                   0x0);
00374   _grip_unfocus = new RenderTexture(_screen,
00375                                     false,
00376                                     RenderTexture::Flat,
00377                                     RenderTexture::Bevel1,
00378                                     false,
00379                                     RenderTexture::Solid,
00380                                     false,
00381                                       0xe6e6e6,
00382                                         0xe6e6e6,
00383                                     0x0,
00384                                     0x0);
00385 
00386   _label_font = new Font(_screen, "Arial,Sans-8", true, 1, 0x3e);
00387   _label_justify = CenterJustify;
00388 
00389   _max_mask = new PixmapMask();
00390   _max_mask->w = _max_mask->h = 7;
00391   {
00392     char data []  = {0x7c, 0x44, 0x47, 0x47, 0x7f, 0x1f, 0x1f  };
00393     _max_mask->mask =
00394       XCreateBitmapFromData(**display,
00395                             display->screenInfo(_screen)->rootWindow(),
00396                             data, 7, 7);
00397   }
00398 
00399   _icon_mask = new PixmapMask();
00400   _icon_mask->w = _icon_mask->h = 7;
00401   {
00402     char data[] = {0x00, 0x00, 0x00, 0x00, 0x3e, 0x3e, 0x3e };
00403     _icon_mask->mask =
00404       XCreateBitmapFromData(**display,
00405                             display->screenInfo(_screen)->rootWindow(),
00406                             data, 7, 7);
00407   }
00408   
00409   _alldesk_mask = new PixmapMask();
00410   _alldesk_mask->w = _alldesk_mask->h = 7;
00411   {
00412     char data[] = {0x00, 0x36, 0x36, 0x00, 0x36, 0x36, 0x00 };
00413     _alldesk_mask->mask =
00414       XCreateBitmapFromData(**display,
00415                             display->screenInfo(_screen)->rootWindow(),
00416                             data, 7, 7);
00417   }
00418   
00419   _close_mask = new PixmapMask();
00420   _close_mask->w = _close_mask->h = 7;
00421   {
00422     char data[] = {  0x22, 0x77, 0x3e, 0x1c, 0x3e, 0x77, 0x22 };
00423     _close_mask->mask =
00424       XCreateBitmapFromData(**display,
00425                             display->screenInfo(_screen)->rootWindow(),
00426                             data, 7, 7);
00427   }
00428 
00429   _bevel_width = 1;
00430   _handle_width = 3;
00431 #  else
00432 #    error 1
00433 #  endif
00434 #endif
00435 }

otk::RenderStyle::~RenderStyle (    )  [virtual]
 

Definition at line 437 of file renderstyle.cc.

References _alldesk_mask, _button_color_focus, _button_color_unfocus, _button_press_focus, _button_press_unfocus, _button_unpress_focus, _button_unpress_unfocus, _client_border_color_focus, _client_border_color_unfocus, _close_mask, _frame_border_color, _grip_focus, _grip_unfocus, _handle_focus, _handle_unfocus, _icon_mask, _label_focus, _label_font, _label_unfocus, _max_mask, _root_color, _text_color_focus, _text_color_unfocus, _titlebar_focus, and _titlebar_unfocus.

00438 {
00439   delete _root_color;
00440   
00441   delete _text_color_focus;
00442   delete _text_color_unfocus;
00443 
00444   delete _button_color_focus;
00445   delete _button_color_unfocus;
00446 
00447   delete _frame_border_color;
00448 
00449   delete _client_border_color_focus; 
00450   delete _client_border_color_unfocus;
00451  
00452   delete _titlebar_focus;
00453   delete _titlebar_unfocus;
00454 
00455   delete _label_focus;
00456   delete _label_unfocus;
00457 
00458   delete _handle_focus;
00459   delete _handle_unfocus;
00460 
00461   delete _button_unpress_focus;
00462   delete _button_unpress_unfocus;
00463   delete _button_press_focus;
00464   delete _button_press_unfocus;
00465 
00466   delete _grip_focus;
00467   delete _grip_unfocus;
00468 
00469   delete _label_font;
00470 
00471   delete _max_mask;
00472   delete _icon_mask;
00473   delete _alldesk_mask;
00474   delete _close_mask;
00475 }


Member Function Documentation

PixmapMask* otk::RenderStyle::alldesktopsMask (    )  const [inline]
 

Definition at line 127 of file renderstyle.hh.

00127 { return _alldesk_mask; }

int otk::RenderStyle::bevelWidth (    )  const [inline]
 

Definition at line 131 of file renderstyle.hh.

Referenced by otk::Label::fitSize(), otk::FocusLabel::fitSize(), otk::Label::renderForeground(), otk::FocusLabel::renderForeground(), ob::LabelWidget::setStyle(), otk::Label::update(), and otk::FocusLabel::update().

00131 { return _bevel_width; }

RenderColor* otk::RenderStyle::buttonFocusColor (    )  const [inline]
 

Definition at line 85 of file renderstyle.hh.

00085 { return _button_color_focus; }

RenderTexture* otk::RenderStyle::buttonPressFocusBackground (    )  const [inline]
 

Definition at line 114 of file renderstyle.hh.

Referenced by otk::Button::setStyle().

00115     { return _button_press_focus; }

RenderTexture* otk::RenderStyle::buttonPressUnfocusBackground (    )  const [inline]
 

Definition at line 116 of file renderstyle.hh.

Referenced by otk::Button::setStyle().

00117     { return _button_press_unfocus; }

RenderColor* otk::RenderStyle::buttonUnfocusColor (    )  const [inline]
 

Definition at line 86 of file renderstyle.hh.

00087     { return _button_color_unfocus; }

RenderTexture* otk::RenderStyle::buttonUnpressFocusBackground (    )  const [inline]
 

Definition at line 110 of file renderstyle.hh.

Referenced by otk::Button::setStyle().

00111     { return _button_unpress_focus; }

RenderTexture* otk::RenderStyle::buttonUnpressUnfocusBackground (    )  const [inline]
 

Definition at line 112 of file renderstyle.hh.

Referenced by otk::Button::setStyle().

00113     { return _button_unpress_unfocus; }

RenderColor* otk::RenderStyle::clientBorderFocusColor (    )  const [inline]
 

Definition at line 92 of file renderstyle.hh.

00093     { return _client_border_color_focus; }

RenderColor* otk::RenderStyle::clientBorderUnfocusColor (    )  const [inline]
 

Definition at line 94 of file renderstyle.hh.

00095     { return _client_border_color_unfocus; }

int otk::RenderStyle::clientBorderWidth (    )  const [inline]
 

Definition at line 96 of file renderstyle.hh.

00096 { return _client_border_width; }

PixmapMask* otk::RenderStyle::closeMask (    )  const [inline]
 

Definition at line 128 of file renderstyle.hh.

00128 { return _close_mask; }

RenderColor* otk::RenderStyle::frameBorderColor (    )  const [inline]
 

Definition at line 89 of file renderstyle.hh.

00089 { return _frame_border_color; }

int otk::RenderStyle::frameBorderWidth (    )  const [inline]
 

Definition at line 90 of file renderstyle.hh.

00090 { return _frame_border_width; }

RenderTexture* otk::RenderStyle::gripFocusBackground (    )  const [inline]
 

Definition at line 119 of file renderstyle.hh.

00119 { return _grip_focus; }

RenderTexture* otk::RenderStyle::gripUnfocusBackground (    )  const [inline]
 

Definition at line 120 of file renderstyle.hh.

00120 { return _grip_unfocus; }

RenderTexture* otk::RenderStyle::handleFocusBackground (    )  const [inline]
 

Definition at line 106 of file renderstyle.hh.

00106 { return _handle_focus; }

RenderTexture* otk::RenderStyle::handleUnfocusBackground (    )  const [inline]
 

Definition at line 107 of file renderstyle.hh.

00108     { return _handle_unfocus; }

int otk::RenderStyle::handleWidth (    )  const [inline]
 

Definition at line 130 of file renderstyle.hh.

00130 { return _handle_width; }

PixmapMask* otk::RenderStyle::iconifyMask (    )  const [inline]
 

Definition at line 126 of file renderstyle.hh.

00126 { return _icon_mask; }

RenderTexture* otk::RenderStyle::labelFocusBackground (    )  const [inline]
 

Definition at line 103 of file renderstyle.hh.

Referenced by otk::FocusLabel::setStyle().

00103 { return _label_focus; }

Font* otk::RenderStyle::labelFont (    )  const [inline]
 

Definition at line 122 of file renderstyle.hh.

Referenced by otk::Label::fitString(), otk::FocusLabel::fitString(), otk::Label::renderForeground(), otk::FocusLabel::renderForeground(), ob::LabelWidget::setStyle(), otk::Label::update(), and otk::FocusLabel::update().

00122 { return _label_font; }

TextJustify otk::RenderStyle::labelTextJustify (    )  const [inline]
 

Definition at line 123 of file renderstyle.hh.

References TextJustify.

Referenced by otk::Label::renderForeground(), otk::FocusLabel::renderForeground(), and ob::LabelWidget::setStyle().

00123 { return _label_justify; }

RenderTexture* otk::RenderStyle::labelUnfocusBackground (    )  const [inline]
 

Definition at line 104 of file renderstyle.hh.

Referenced by otk::Label::setStyle(), and otk::FocusLabel::setStyle().

00104 { return _label_unfocus;}

PixmapMask* otk::RenderStyle::maximizeMask (    )  const [inline]
 

Definition at line 125 of file renderstyle.hh.

00125 { return _max_mask; }

RenderColor* otk::RenderStyle::rootColor (    )  const [inline]
 

Definition at line 80 of file renderstyle.hh.

Referenced by ob::Screen::Screen().

00080 { return _root_color; }

int otk::RenderStyle::screen (    )  const [inline]
 

Definition at line 78 of file renderstyle.hh.

00078 { return _screen; }

RenderColor* otk::RenderStyle::textFocusColor (    )  const [inline]
 

Definition at line 82 of file renderstyle.hh.

Referenced by otk::FocusLabel::renderForeground().

00082 { return _text_color_focus; }

RenderColor* otk::RenderStyle::textUnfocusColor (    )  const [inline]
 

Definition at line 83 of file renderstyle.hh.

Referenced by otk::FocusLabel::renderForeground().

00083 { return _text_color_unfocus; }

RenderTexture* otk::RenderStyle::titlebarFocusBackground (    )  const [inline]
 

Definition at line 98 of file renderstyle.hh.

00099     { return _titlebar_focus; }

RenderTexture* otk::RenderStyle::titlebarUnfocusBackground (    )  const [inline]
 

Definition at line 100 of file renderstyle.hh.

Referenced by otk::AppWidget::setStyle().

00101     { return _titlebar_unfocus; }


Member Data Documentation

PixmapMask* otk::RenderStyle::_alldesk_mask [private]
 

Definition at line 68 of file renderstyle.hh.

Referenced by RenderStyle(), and ~RenderStyle().

int otk::RenderStyle::_bevel_width [private]
 

Definition at line 72 of file renderstyle.hh.

Referenced by RenderStyle().

RenderColor* otk::RenderStyle::_button_color_focus [private]
 

Definition at line 36 of file renderstyle.hh.

Referenced by RenderStyle(), and ~RenderStyle().

RenderColor* otk::RenderStyle::_button_color_unfocus [private]
 

Definition at line 37 of file renderstyle.hh.

Referenced by RenderStyle(), and ~RenderStyle().

RenderTexture* otk::RenderStyle::_button_press_focus [private]
 

Definition at line 57 of file renderstyle.hh.

Referenced by RenderStyle(), and ~RenderStyle().

RenderTexture* otk::RenderStyle::_button_press_unfocus [private]
 

Definition at line 58 of file renderstyle.hh.

Referenced by RenderStyle(), and ~RenderStyle().

RenderTexture* otk::RenderStyle::_button_unpress_focus [private]
 

Definition at line 55 of file renderstyle.hh.

Referenced by RenderStyle(), and ~RenderStyle().

RenderTexture* otk::RenderStyle::_button_unpress_unfocus [private]
 

Definition at line 56 of file renderstyle.hh.

Referenced by RenderStyle(), and ~RenderStyle().

RenderColor* otk::RenderStyle::_client_border_color_focus [private]
 

Definition at line 42 of file renderstyle.hh.

Referenced by RenderStyle(), and ~RenderStyle().

RenderColor* otk::RenderStyle::_client_border_color_unfocus [private]
 

Definition at line 43 of file renderstyle.hh.

Referenced by RenderStyle(), and ~RenderStyle().

int otk::RenderStyle::_client_border_width [private]
 

Definition at line 44 of file renderstyle.hh.

Referenced by RenderStyle().

PixmapMask* otk::RenderStyle::_close_mask [private]
 

Definition at line 69 of file renderstyle.hh.

Referenced by RenderStyle(), and ~RenderStyle().

std::string otk::RenderStyle::_file [private]
 

Definition at line 29 of file renderstyle.hh.

RenderColor* otk::RenderStyle::_frame_border_color [private]
 

Definition at line 39 of file renderstyle.hh.

Referenced by RenderStyle(), and ~RenderStyle().

int otk::RenderStyle::_frame_border_width [private]
 

Definition at line 40 of file renderstyle.hh.

Referenced by RenderStyle().

RenderTexture* otk::RenderStyle::_grip_focus [private]
 

Definition at line 60 of file renderstyle.hh.

Referenced by RenderStyle(), and ~RenderStyle().

RenderTexture* otk::RenderStyle::_grip_unfocus [private]
 

Definition at line 61 of file renderstyle.hh.

Referenced by RenderStyle(), and ~RenderStyle().

RenderTexture* otk::RenderStyle::_handle_focus [private]
 

Definition at line 52 of file renderstyle.hh.

Referenced by RenderStyle(), and ~RenderStyle().

RenderTexture* otk::RenderStyle::_handle_unfocus [private]
 

Definition at line 53 of file renderstyle.hh.

Referenced by RenderStyle(), and ~RenderStyle().

int otk::RenderStyle::_handle_width [private]
 

Definition at line 71 of file renderstyle.hh.

Referenced by RenderStyle().

PixmapMask* otk::RenderStyle::_icon_mask [private]
 

Definition at line 67 of file renderstyle.hh.

Referenced by RenderStyle(), and ~RenderStyle().

RenderTexture* otk::RenderStyle::_label_focus [private]
 

Definition at line 49 of file renderstyle.hh.

Referenced by RenderStyle(), and ~RenderStyle().

Font* otk::RenderStyle::_label_font [private]
 

Definition at line 63 of file renderstyle.hh.

Referenced by RenderStyle(), and ~RenderStyle().

TextJustify otk::RenderStyle::_label_justify [private]
 

Definition at line 64 of file renderstyle.hh.

Referenced by RenderStyle().

RenderTexture* otk::RenderStyle::_label_unfocus [private]
 

Definition at line 50 of file renderstyle.hh.

Referenced by RenderStyle(), and ~RenderStyle().

PixmapMask* otk::RenderStyle::_max_mask [private]
 

Definition at line 66 of file renderstyle.hh.

Referenced by RenderStyle(), and ~RenderStyle().

RenderColor* otk::RenderStyle::_root_color [private]
 

Definition at line 31 of file renderstyle.hh.

Referenced by RenderStyle(), and ~RenderStyle().

int otk::RenderStyle::_screen [private]
 

Definition at line 28 of file renderstyle.hh.

RenderColor* otk::RenderStyle::_text_color_focus [private]
 

Definition at line 33 of file renderstyle.hh.

Referenced by RenderStyle(), and ~RenderStyle().

RenderColor* otk::RenderStyle::_text_color_unfocus [private]
 

Definition at line 34 of file renderstyle.hh.

Referenced by RenderStyle(), and ~RenderStyle().

RenderTexture* otk::RenderStyle::_titlebar_focus [private]
 

Definition at line 46 of file renderstyle.hh.

Referenced by RenderStyle(), and ~RenderStyle().

RenderTexture* otk::RenderStyle::_titlebar_unfocus [private]
 

Definition at line 47 of file renderstyle.hh.

Referenced by RenderStyle(), and ~RenderStyle().


The documentation for this class was generated from the following files:
Generated on Tue Feb 4 23:00:29 2003 for Openbox by doxygen1.3-rc2