• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

KStyles

bitmaps.h

Go to the documentation of this file.
00001 #ifndef __BITMAPS_H
00002 #define __BITMAPS_H
00003 
00004 /* Image bits processed by KPixmap2Bitmaps */
00005 static const unsigned char radiooff_light_bits[] = {
00006     0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x08, 0x00, 0x10, 0x00, 0x10,
00007     0x00, 0x10, 0x00, 0x10, 0x00, 0x10, 0x00, 0x08, 0x00, 0x08, 0x0c, 0x06,
00008     0xf0, 0x01};
00009 
00010 static const unsigned char radiooff_gray_bits[] = {
00011     0xf0, 0x01, 0x0c, 0x06, 0x02, 0x00, 0x02, 0x00, 0x01, 0x00, 0x01, 0x00,
00012     0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x02, 0x00, 0x02, 0x00, 0x00, 0x00,
00013     0x00, 0x00};
00014 
00015 static const unsigned char radiooff_dgray_bits[] = {
00016     0x00, 0x00, 0xf0, 0x01, 0x0c, 0x02, 0x04, 0x00, 0x02, 0x00, 0x02, 0x00,
00017     0x02, 0x00, 0x02, 0x00, 0x02, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00,
00018     0x00, 0x00};
00019 
00020 static const unsigned char radiooff_center_bits[] = {
00021    0x00, 0x00, 0x00, 0x00, 0xf0, 0x01, 0xf8, 0x03, 0xfc, 0x07, 0xfc, 0x07,
00022    0xfc, 0x07, 0xfc, 0x07, 0xfc, 0x07, 0xf8, 0x03, 0xf0, 0x01, 0x00, 0x00,
00023    0x00, 0x00};
00024 
00025 static const unsigned char radiomask_bits[] = {
00026    0xf0, 0x01, 0xfc, 0x07, 0xfe, 0x0b, 0xfe, 0x0b, 0xff, 0x17, 0xff, 0x17,
00027    0xff, 0x17, 0xff, 0x17, 0xff, 0x17, 0xfe, 0x0b, 0xf2, 0x09, 0x0c, 0x06,
00028    0xf0, 0x01};
00029 
00030 // Checkbox "checked" bitmap
00031 static const unsigned char x_bits[] = {0x63, 0x77, 0x3e, 0x1c, 0x3e, 0x77, 0x63};
00032  
00033 // Arrow bitmaps
00034 static const QCOORD u_arrow[]={-1,-3, 0,-3, -2,-2, 1,-2, -3,-1, 2,-1, -4,0, 3,0, -4,1, 3,1};
00035 static const QCOORD d_arrow[]={-4,-2, 3,-2, -4,-1, 3,-1, -3,0, 2,0, -2,1, 1,1, -1,2, 0,2};
00036 static const QCOORD l_arrow[]={-3,-1, -3,0, -2,-2, -2,1, -1,-3, -1,2, 0,-4, 0,3, 1,-4, 1,3};
00037 static const QCOORD r_arrow[]={-2,-4, -2,3, -1,-4, -1,3, 0,-3, 0,2, 1,-2, 1,1, 2,-1, 2,0};
00038 
00039 namespace B3 {
00040     const QCOORD u_arrow[]={ 0,-2, 0,-2, -1,-1, 1,-1, -2,0, 2,0, -3,1, 3,1 };
00041     const QCOORD d_arrow[]={ -3,-2, 3,-2, -2,-1, 2,-1, -1,0, 1,0, 0,1, 0,1 };
00042     const QCOORD l_arrow[]={ 1,-3, 1,-3, 0,-2, 1,-2, -1,-1, 1,-1, -2,0, 1,0, -1,1, 1,1, 0,2, 1,2, 1,3, 1,3 };
00043     const QCOORD r_arrow[]={ -2,-3, -2,-3, -2,-2, -1,-2, -2,-1, 0,-1, -2,0, 1,0, -2,1, 0,1, -2,2, -1,2, -2,3, -2,3 };
00044 }
00045 
00046 #define QCOORDARRLEN(x) sizeof(x)/(sizeof(QCOORD)*2)
00047 
00048 
00049 // Fix Qt's wacky image positions
00050 static const char * const hc_minimize_xpm[] = {
00051 "12 12 2 1",
00052 "# c #000000",
00053 ". c None",
00054 "............",
00055 "............",
00056 "............",
00057 "............",
00058 "............",
00059 "............",
00060 "............",
00061 "............",
00062 "...######...",
00063 "...######...",
00064 "............",
00065 "............"}; 
00066 
00067 static const char * const hc_close_xpm[] = {
00068 "12 12 2 1",
00069 "# c #000000",
00070 ". c None",
00071 "............",
00072 "............",
00073 "............",
00074 "..##....##..",
00075 "...##..##...",
00076 "....####....",
00077 ".....##.....",
00078 "....####....",
00079 "...##..##...",
00080 "..##....##..",
00081 "............",
00082 "............"};
00083 
00084 #endif

KStyles

Skip menu "KStyles"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • KCMShell
  • KNotify
  • KStyles
  • Nepomuk Daemons
Generated for API Reference by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal