38
void useMultiDesktop(bool &multiValue, int &height, int &width);
39
int getMultiDeskWidth();
40
int getMultiDeskHeight();
41
bool multipleDesktops();
42
void setMultiDeskWidth(double width);
43
void setMultiDeskHeight(double height);
45
const char * getBackground();
46
unsigned int getBackground(unsigned int &color2);
38
void useMultiDesktop(bool &multiValue, int &height, int &width); //use more than one desktop?
39
int getMultiDeskWidth(); //how many wide
40
int getMultiDeskHeight(); //how many tall
41
bool multipleDesktops(); //finds out if there are mulitple desktops
42
void setMultiDeskWidth(double width); //how many wide
43
void setMultiDeskHeight(double height); //how many tall
45
const char * getBackground();// , const char * rgb, const char* rgb2) //Get JWM background
46
/*If it is an image/command the rgb variables will be ignored.
47
* if it is solid/gradient color the return value should be ignored in the UI
49
unsigned int getBackground(unsigned int &color2); //get color background either single or gradient
50
/*the variable the function is assigned to gets the first color, or a single color, and color2 is the second color.
51
* if only one color is needed make the variable for color2 and don't use it. This way both situations are automatically handled
52
* ///TODO: fix this! make an overloaded function so each can be handled separately.
55
void setFlImage(Fl_Box * o, const char * filename);
48
56
void setBackground(const double* rgb);
49
void setBackground(const char* type, const char* value);
57
void setBackground(const double* rgb, const double* rgb2);
58
void setBackground(const char* type, const char* value); //set background image, a tiled image or command. type = image value = filename(or command)
61
void useRox(bool rox);
63
void setRoxBackground(const char* type, const char* value);
64
int loadRox(); /* this loads the Pinboard File... if it does not exist it should create it.*/
65
const char * getRoxBackground();
67
std::string roxPath();
51
69
bool test(tinyxml2::XMLElement *element);
52
70
//constructors and destructor