Back to index

kdeartwork  4.3.2
Classes | Enumerations | Functions | Variables
RiscOS Namespace Reference

Classes

class  AboveButton
class  Button
class  CloseButton
class  HelpButton
class  IconifyButton
class  LowerButton
class  Manager
class  Factory
class  MaximiseButton
class  Palette
class  Static
class  StickyButton

Enumerations

enum  SymbolType {
  Lower, Close, Iconify, Max,
  Unmax
}

Functions

void setPalette (Palette &pal, QColor c)

Variables

static const char *const above_xpm []
static const char *const close_xpm []
static const char *const help_xpm []
static const char *const iconify_xpm []
static const char *const lower_xpm []
static const char *const maximise_xpm []
static const char *const unmaximise_xpm []
static const char *const texture_xpm []
static const char *const unsticky_xpm []
static const char *const sticky_xpm []

Enumeration Type Documentation

Enumerator:
Lower 
Close 
Iconify 
Max 
Unmax 

Definition at line 36 of file Static.h.


Function Documentation

void RiscOS::setPalette ( Palette &  pal,
QColor  c 
)

Definition at line 186 of file Static.cpp.

{
   pal[3] = c.rgb();

   int h, s, v;
   c.hsv(&h, &s, &v);

   if (v < 72)
      c.setHsv(h, s, 72);

   pal[0] = c.light(200).rgb();
   pal[1] = c.light(166).rgb();
   pal[2] = c.light(125).rgb();
   pal[4] = c.dark(133).rgb();
   pal[5] = c.dark(166).rgb();
   pal[6] = c.dark(200).rgb();
   pal[7] = c.dark(300).rgb();
}

Here is the caller graph for this function:


Variable Documentation

const char* const RiscOS::above_xpm[] [static]
Initial value:
 {
"12 12 3 1",
"      c None",
".     c #000000",
"+     c #FFFFFF",
"            ",
" .....      ",
".+++++.     ",
".+++++.     ",
".+++++..... ",
".+++++.++++.",
".+++++.++++.",
" .....+++++.",
"     .+++++.",
"     .+++++.",
"      ..... ",
"            "}

Definition at line 32 of file AboveButton.cpp.

const char* const RiscOS::close_xpm[] [static]
Initial value:
 {
"12 12 3 1",
"      c None",
".     c #000000",
"+     c #FFFFFF",
"  .      .  ",
" .+.    .+. ",
".+++.  .+++.",
" .+++..+++. ",
"  .++++++.  ",
"   .++++.   ",
"   .++++.   ",
"  .++++++.  ",
" .+++..+++. ",
".+++.  .+++.",
" .+.    .+. ",
"  .      .  "}

Definition at line 32 of file CloseButton.cpp.

const char* const RiscOS::help_xpm[] [static]
Initial value:
 {
"12 12 3 1",
"      c None",
".     c #FFFFFF",
"+     c #000000",
" .  ++++  . ",
"  .+....+.  ",
"  +......+  ",
"..+......+..",
"  +......+  ",
"  +......+  ",
"  .+....+.  ",
" .  ++ +  . ",
"    + ++    ",
"    ++ +    ",
"    + ++    ",
"     ++     "}

Definition at line 32 of file HelpButton.cpp.

const char* const RiscOS::iconify_xpm[] [static]
Initial value:
 {
"12 12 3 1",
"      c None",
".     c #000000",
"+     c #FFFFFF",
"            ",
"            ",
"            ",
"            ",
" .......... ",
".++++++++++.",
".++++++++++.",
" .......... ",
"            ",
"            ",
"            ",
"            "}

Definition at line 32 of file IconifyButton.cpp.

const char* const RiscOS::lower_xpm[] [static]
Initial value:
 {
"12 12 3 1",
"      c None",
".     c #000000",
"+     c #FFFFFF",
"            ",
" .....      ",
".+++++.     ",
".+++++.     ",
".+++++..... ",
".++++.+++++.",
".++++.+++++.",
" .....+++++.",
"     .+++++.",
"     .+++++.",
"      ..... ",
"            "}

Definition at line 32 of file LowerButton.cpp.

const char* const RiscOS::maximise_xpm[] [static]
Initial value:
 {
"12 12 3 1",
"      c None",
".     c #000000",
"+     c #FFFFFF",
"            ",
"  ........  ",
" .++++++++. ",
" .++++++++. ",
" .++++++++. ",
" .++++++++. ",
" .++++++++. ",
" .++++++++. ",
" .++++++++. ",
" .++++++++. ",
"  ........  ",
"            "}

Definition at line 34 of file MaximiseButton.cpp.

const char* const RiscOS::sticky_xpm[] [static]
Initial value:
 {
"12 12 3 1",
"      c None",
".     c #000000",
"+     c #FFFFFF",
"        .   ",
"       .+.  ",
"      .+++. ",
"     .+++++.",
" ....+++++. ",
"  .++++++.  ",
"   .++++.   ",
"   .+++.    ",
"  .+..+.    ",
" .+.  ..    ",
".+.    .    ",
"..          "}

Definition at line 53 of file StickyButton.cpp.

const char* const RiscOS::texture_xpm[] [static]
Initial value:
 {
"64 12 3 1",
"      c None",
"a     c #000000",
"b     c #FFFFFF",
"   b           b         b     b   b b       b        a       b ",
" b       aa   b  aaa aaa     b   a   b   aab     bb           a ",
" b     b    a b    b   b             b       aa      b b   aa   ",
" b b     b     a         a b   b b b  aa  ab             ab     ",
"         b     b   b b       b                 b   b  ba        ",
" aaa aaa         aa       b          b b b   b           b      ",
"   b       b      bb a b     aa  b         a  a  aaa a     b    ",
" b         b b b b     a b       b       b         b           b",
"   b b       b              b  a a b  b  aa      b       baa    ",
"       a     b    a  bb  aa    bb aa aaa  b     aa a            ",
"   a a       aab       b  b   aa aab          a  b              ",
" b        a        b   b aaa  a      b      bb     b   b     b b"}

Definition at line 43 of file Static.cpp.

const char* const RiscOS::unmaximise_xpm[] [static]
Initial value:
 {
"12 12 3 1",
"      c None",
".     c #000000",
"+     c #FFFFFF",
"            ",
"            ",
"   ......   ",
"  .++++++.  ",
"  .++++++.  ",
"  .++++++.  ",
"  .++++++.  ",
"  .++++++.  ",
"  .++++++.  ",
"   ......   ",
"            ",
"            "}

Definition at line 53 of file MaximiseButton.cpp.

const char* const RiscOS::unsticky_xpm[] [static]
Initial value:
 {
"12 12 3 1",
"      c None",
".     c #000000",
"+     c #FFFFFF",
"    ...     ",
"   .+++.    ",
"   .+++.    ",
"   .+++.    ",
"   .+++.    ",
"  .+++++.   ",
" .+++++++.  ",
".+++++++++. ",
".....+..... ",
"    .+.     ",
"    .+.     ",
"     .      "}

Definition at line 34 of file StickyButton.cpp.