B2 Namespace Reference
Classes | |
class | B2Button |
class | B2Titlebar |
class | B2Client |
class | B2ClientFactory |
Enumerations | |
enum | { Norm = 0, Hover, Down, INorm, IHover, IDown, NumStates } |
enum | { P_CLOSE = 0, P_MAX, P_NORMALIZE, P_ICONIFY, P_PINUP, P_MENU, P_HELP, P_SHADE, P_RESIZE, P_NUM_BUTTON_TYPES } |
enum | DblClickOperation { NoOp = 0, MinimizeOp, ShadeOp, CloseOp } |
Functions | |
KDE_EXPORT KDecorationFactory * | create_factory () |
static const KDecorationOptions * | options () |
static void | redraw_pixmaps () |
static void | read_config (B2ClientFactory *f) |
static void | drawB2Rect (KPixmap *pix, const QColor &primary, bool down) |
QPixmap * | kwin_get_menu_pix_hack () |
static void | create_pixmaps () |
static void | delete_pixmaps () |
Variables | |
static const unsigned char | close_white_bits [] |
static const unsigned char | close_dgray_bits [] |
static const unsigned char | menu_white_bits [] |
static const unsigned char | menu_dgray_bits [] |
static const unsigned char | menu_mask_bits [] |
static const unsigned char | pindown_white_bits [] |
static const unsigned char | pindown_gray_bits [] |
static const unsigned char | pindown_dgray_bits [] |
static const unsigned char | pindown_mask_bits [] |
static const unsigned char | pinup_white_bits [] |
static const unsigned char | pinup_gray_bits [] |
static const unsigned char | pinup_dgray_bits [] |
static const unsigned char | pinup_mask_bits [] |
static const unsigned char | help_mask_bits [] |
static const unsigned char | help_dark_bits [] |
static const unsigned char | help_light_bits [] |
static KPixmap * | pixmap [NUM_PIXMAPS] |
static KPixmap * | titleGradient [2] = {0, 0} |
static int | thickness = 4 |
static int | buttonSize = 16 |
static DblClickOperation | menu_dbl_click_op = NoOp |
static bool | pixmaps_created = false |
static bool | colored_frame = false |
static bool | do_draw_handle = true |
static bool | drawSmallBorders = false |
static QRect * | visible_bound |
static QPointArray | bound_shape |
Variable Documentation
|
Initial value: { 0x00, 0x00, 0x00, 0x00, 0x04, 0x10, 0x04, 0x08, 0x08, 0x04, 0x10, 0x02, 0x20, 0x01, 0x40, 0x00, 0x40, 0x00, 0x20, 0x01, 0x10, 0x02, 0x08, 0x04, 0x04, 0x08, 0x04, 0x10, 0x00, 0x00, 0x00, 0x00} In order to do this it needs a bitmap for each shade which it draws into a pixmap with the appropriate color. These are all the bitmaps. Definition at line 42 of file b2client.cpp. |
|
Initial value: { 0x00, 0x00, 0x00, 0x00, 0x08, 0x20, 0x18, 0x30, 0x30, 0x18, 0x60, 0x0c, 0xc0, 0x06, 0x80, 0x03, 0x80, 0x03, 0xc0, 0x06, 0x60, 0x0c, 0x30, 0x18, 0x18, 0x30, 0x08, 0x20, 0x00, 0x00, 0x00, 0x00} Definition at line 47 of file b2client.cpp. |
|
Initial value: { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0x3f, 0x04, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} Definition at line 52 of file b2client.cpp. |
|
Initial value: { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0xf8, 0x3f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} Definition at line 57 of file b2client.cpp. |
|
Initial value: { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0x3f, 0x04, 0x20, 0xfc, 0x3f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} Definition at line 62 of file b2client.cpp. |
|
Initial value: { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0x80, 0x1f, 0xa0, 0x03, 0xb0, 0x01, 0x30, 0x01, 0xf0, 0x00, 0x70, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} Definition at line 67 of file b2client.cpp. |
|
Initial value: { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x0e, 0x00, 0x06, 0x00, 0x00, 0x80, 0x07, 0xc0, 0x03, 0xe0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} Definition at line 72 of file b2client.cpp. |
|
Initial value: { 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0xc0, 0x10, 0x70, 0x20, 0x50, 0x20, 0x48, 0x30, 0xc8, 0x38, 0x08, 0x1f, 0x08, 0x18, 0x10, 0x1c, 0x10, 0x0e, 0xe0, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} Definition at line 77 of file b2client.cpp. |
|
Initial value: { 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0xc0, 0x1f, 0xf0, 0x3f, 0xf0, 0x3f, 0xf8, 0x3f, 0xf8, 0x3f, 0xf8, 0x1f, 0xf8, 0x1f, 0xf0, 0x1f, 0xf0, 0x0f, 0xe0, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} Definition at line 82 of file b2client.cpp. |
|
Initial value: { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x80, 0x11, 0x3f, 0x15, 0x00, 0x15, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} Definition at line 87 of file b2client.cpp. |
|
Initial value: { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x0a, 0xbf, 0x0a, 0x80, 0x15, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} Definition at line 92 of file b2client.cpp. |
|
Initial value: { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x20, 0x40, 0x31, 0x40, 0x2e, 0x40, 0x20, 0x40, 0x20, 0x7f, 0x2a, 0x40, 0x3f, 0xc0, 0x31, 0xc0, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} Definition at line 97 of file b2client.cpp. |
|
Initial value: { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x20, 0xc0, 0x31, 0xc0, 0x3f, 0xff, 0x3f, 0xff, 0x3f, 0xff, 0x3f, 0xc0, 0x3f, 0xc0, 0x31, 0xc0, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} Definition at line 102 of file b2client.cpp. |
|
Initial value: { 0x00,0x00,0x00,0x00,0xe0,0x03,0xf0,0x07,0x70,0x0e,0x60,0x0e,0x00,0x0f,0x80, 0x07,0xc0,0x03,0xc0,0x01,0x80,0x01,0xc0,0x00,0xc0,0x01,0x80,0x01,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x4c,0x0b,0x08,0x58,0x65,0x09,0x08,0x90,0x00,0x00, 0x00,0x09,0x04,0x00,0x00,0x72,0x6f,0x6f,0x74,0x00,0x24,0x31,0x24,0x47,0x6b, 0x65,0x44,0x78,0x63 } Definition at line 107 of file b2client.cpp. |
|
Initial value: { 0x00,0x00,0x00,0x00,0xe0,0x03,0x30,0x06,0x30,0x06,0x00,0x06,0x00,0x03,0x80, 0x01,0xc0,0x00,0xc0,0x00,0x00,0x00,0xc0,0x00,0xc0,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x65,0x64,0x28,0x29,0x00,0x00,0x00,0x00,0x90,0x00,0x00, 0x00,0x21,0x00,0x00,0x00,0x34,0xfe,0x12,0x2b,0x00,0x00,0xff,0xff,0x58,0xc0, 0x01,0x2b,0x45,0xfe } Definition at line 114 of file b2client.cpp. |
|
Initial value: { 0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0x01,0x40,0x08,0x60,0x08,0x00,0x0c,0x00, 0x06,0x00,0x03,0x00,0x01,0x80,0x01,0x00,0x00,0x00,0x01,0x80,0x01,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x4c,0x0b,0x08,0x58,0x65,0x09,0x08,0x90,0x00,0x00, 0x00,0x09,0x04,0x00,0x00,0x72,0x6f,0x6f,0x74,0x00,0x24,0x31,0x24,0x47,0x6b, 0x65,0x44,0x78,0x63 } Definition at line 121 of file b2client.cpp. |