wxWidgets based Stable Diffusion C++ GUi
Ferenc Szontágh
2024-02-03 13e08c0eb131eefdd49ed024619c2a79a6040014
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#ifndef __MainWindowSettings__
#define __MainWindowSettings__
 
/**
@file
Subclass of Settings, which is generated by wxFormBuilder.
*/
 
#include "MainWindow.h"
 
//// end generated include
#include "ver.hpp"
#include "utils.hpp"
 
#include <wx/fileconf.h>
#include <wx/stdpaths.h>
 
/** Implementing Settings */
class MainWindowSettings : public Settings
{
    protected:
        // Handlers for Settings events.
        void onSave( wxCommandEvent& event );
    public:
        /** Constructor */
        MainWindowSettings( wxWindow* parent );
    //// end generated class members
private:
    void InitConfig();
    wxFileConfig *fileConfig;
    sd_gui_utils::config *cfg;
    std::string ini_path;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
};
 
#endif // __MainWindowSettings__