# include "Slit.h"
#endif // SLIT
#include "Image.h"
-
-#include <strstream>
+#include "Resource.h"
// forward declaration
class BScreen;
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;
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);
void updateNetizenWindowRaise(Window);
void updateNetizenWindowLower(Window);
- enum { RowSmartPlacement = 1, ColSmartPlacement, CascadePlacement, LeftRight,
- RightLeft, TopBottom, BottomTop };
+ enum { RowSmartPlacement = 1, ColSmartPlacement, CascadePlacement,
+ BestFitPlacement, LeftRight, RightLeft, TopBottom, BottomTop };
enum { LeftJustify = 1, RightJustify, CenterJustify };
enum { RoundBullet = 1, TriangleBullet, SquareBullet, NoBullet };
enum { Restart = 1, RestartOther, Exit, Shutdown, Execute, Reconfigure,