Settings - font sizes
This commit is contained in:
@@ -10,7 +10,7 @@ extern "C" {
|
||||
}
|
||||
|
||||
class YellowNote;
|
||||
class ColorSet;
|
||||
class SettingContainer;
|
||||
|
||||
typedef enum {
|
||||
DARK = 0,
|
||||
@@ -33,7 +33,7 @@ private:
|
||||
void *_dlg;
|
||||
void *_langs;
|
||||
|
||||
std::list<ColorSet *> _color_sets;
|
||||
std::list<SettingContainer *> _settings_containers;
|
||||
|
||||
std::list<YellowNote *> _notes;
|
||||
int _font_size;
|
||||
@@ -56,6 +56,8 @@ public:
|
||||
int fontSize();
|
||||
int iconSize();
|
||||
GtkWindow *topLevel();
|
||||
void colorSet(void *sender);
|
||||
void setFontSize(int size);
|
||||
|
||||
public:
|
||||
void popupTrayMenu(void *sender);
|
||||
@@ -83,11 +85,11 @@ public:
|
||||
void setBgColor(ColorType_t type, const std::string &col);
|
||||
std::string fromRGBA(const GdkRGBA &rgba);
|
||||
void toRGBA(const std::string &col, GdkRGBA &rgba);
|
||||
void updateWidgetCss(GtkWidget *w, ColorType_t col);
|
||||
|
||||
public:
|
||||
YellowNotes(void *app);
|
||||
~YellowNotes();
|
||||
void colorSet(void *sender);
|
||||
};
|
||||
|
||||
#define YELLOWNOTES(obj) reinterpret_cast<YellowNotes *>(obj)
|
||||
|
||||
Reference in New Issue
Block a user