~israeldahl/jwm-settings-manager/trunk

« back to all changes in this revision

Viewing changes to include/icons.hpp

  • Committer: Israel Dahl
  • Date: 2018-01-16 14:17:27 UTC
  • Revision ID: israeldahl@gmail.com-20180116141727-1eqofcuc0c5ukzdw
Update main branch to be current

* Windows
  - configure button actions
 * Desktop
   - file manager preferences
 * Themes
   - parse directories and ignore non-xml files

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#include <stdlib.h>
31
31
#include <iostream>
32
32
#include <algorithm>
33
 
#include "jwmrc.h"
34
 
#include "ui.h"
 
33
#include "jwmrc.hpp"
 
34
#include "fltkfunctions.hpp"
 
35
//#include "ui.h"
35
36
#include <FL/Fl_Double_Window.H>
36
37
#include <FL/Fl_Scroll.H>
37
38
#include <FL/Fl_Box.H>
40
41
#include <FL/Fl_Output.H>
41
42
#include <FL/Fl_Value_Input.H>
42
43
//Boolean
43
 
bool edit_value(Fl_Browser* iconsBrowser,Fl_Input* dir_edit_input);
44
 
bool populateIncludes(std::string themefile,int size_to_use);
45
 
bool save_edit_value(Fl_Browser* iconsBrowser,Fl_Input* dir_edit_input);
46
 
bool switchTheme(Fl_Browser* o,int size);
 
44
class JSM_Icon : public FLTK_FUNCTIONS
 
45
{
 
46
        public:
 
47
//Bool
 
48
                bool edit_value(Fl_Browser* iconsBrowser,Fl_Input* dir_edit_input);
 
49
                bool populateIncludes(std::string themefile,int size_to_use);
 
50
                bool save_edit_value(Fl_Browser* iconsBrowser,Fl_Input* dir_edit_input);
 
51
                bool switchTheme(Fl_Browser* o,int size);
47
52
//Vector
48
 
std::vector<std::string> list_icon_dirs_in_themefile(std::string themefile,int size_to_use);
49
 
std::vector<std::string> icon_themefiles_vector();
 
53
                std::vector<std::string> list_icon_dirs_in_themefile(std::string themefile,int size_to_use);
 
54
                std::vector<std::string> icon_themefiles_vector();
50
55
//Void
51
 
void populateIconThemes(Fl_Browser* o);
 
56
                void populateIconThemes(Fl_Browser* o);
 
57
};
52
58
#endif