X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2FScreen.h;h=13e58a2b0c3abca941be05147f65436b2ca4a968;hb=24f9448c2efc6daf97a4061cfd6c62da2980c0ad;hp=851c45dd77d9772f87d3cbea9b44120cd14de0c6;hpb=8d3c97389f23271c7b44a726111c97d34bc2ced2;p=chaz%2Fopenbox diff --git a/src/Screen.h b/src/Screen.h index 851c45dd..13e58a2b 100644 --- a/src/Screen.h +++ b/src/Screen.h @@ -51,8 +51,7 @@ # include "Slit.h" #endif // SLIT #include "Image.h" - -#include +#include "Resource.h" // forward declaration class BScreen; @@ -136,7 +135,7 @@ private: auto_edge_balance, image_dither, ordered_dither, opaque_move, full_max, focus_new, focus_last; BColor border_color; - XrmDatabase stylerc; + obResource styleconfig; int workspaces, toolbar_placement, toolbar_width_percent, placement_policy, edge_snap_threshold, row_direction, col_direction; @@ -163,12 +162,13 @@ private: protected: Bool parseMenuFile(FILE *, Rootmenu *); - void readDatabaseTexture(char *, char *, BTexture *, unsigned long); - void readDatabaseColor(char *, char *, BColor *, unsigned long); + void readDatabaseTexture(const char *, const char *, BTexture *, + unsigned long); + void readDatabaseColor(const char *, const char *, BColor *, unsigned long); - void readDatabaseFontSet(char *, char *, XFontSet *); - XFontSet createFontSet(char *); - void readDatabaseFont(char *, char *, XFontStruct **); + void readDatabaseFontSet(const char *, const char *, XFontSet *); + XFontSet createFontSet(const char *); + void readDatabaseFont(const char *, const char *, XFontStruct **); void InitMenu(void); void LoadStyle(void);