1 |
/* |
/* |
2 |
Copyright (c) 2014-2017 Christian Schoenebeck |
Copyright (c) 2014-2018 Christian Schoenebeck |
3 |
|
|
4 |
This file is part of "gigedit" and released under the terms of the |
This file is part of "gigedit" and released under the terms of the |
5 |
GNU General Public License version 2. |
GNU General Public License version 2. |
7 |
|
|
8 |
#include "global.h" |
#include "global.h" |
9 |
#include "Settings.h" |
#include "Settings.h" |
10 |
#include <glib.h> |
#ifdef GLIB_HEADER_FILE |
11 |
|
# include GLIB_HEADER_FILE(glib.h) |
12 |
|
#else |
13 |
|
# include <glib.h> |
14 |
|
#endif |
15 |
#include <glibmm/keyfile.h> |
#include <glibmm/keyfile.h> |
16 |
#include <iostream> |
#include <iostream> |
17 |
#include <stdio.h> |
#include <stdio.h> |
86 |
moveRootNoteWithRegionMoved(*this, GLOBAL, "moveRootNoteWithRegionMoved", true), |
moveRootNoteWithRegionMoved(*this, GLOBAL, "moveRootNoteWithRegionMoved", true), |
87 |
autoRestoreWindowDimension(*this, GLOBAL, "autoRestoreWindowDimension", false), |
autoRestoreWindowDimension(*this, GLOBAL, "autoRestoreWindowDimension", false), |
88 |
saveWithTemporaryFile(*this, GLOBAL, "saveWithTemporaryFile", false), |
saveWithTemporaryFile(*this, GLOBAL, "saveWithTemporaryFile", false), |
89 |
|
showTooltips(*this, GLOBAL, "showNewbieTooltips", true), |
90 |
mainWindowX(*this, MAIN_WINDOW, "x", -1), |
mainWindowX(*this, MAIN_WINDOW, "x", -1), |
91 |
mainWindowY(*this, MAIN_WINDOW, "y", -1), |
mainWindowY(*this, MAIN_WINDOW, "y", -1), |
92 |
mainWindowW(*this, MAIN_WINDOW, "w", -1), |
mainWindowW(*this, MAIN_WINDOW, "w", -1), |
139 |
m_boolProps.push_back(&moveRootNoteWithRegionMoved); |
m_boolProps.push_back(&moveRootNoteWithRegionMoved); |
140 |
m_boolProps.push_back(&autoRestoreWindowDimension); |
m_boolProps.push_back(&autoRestoreWindowDimension); |
141 |
m_boolProps.push_back(&saveWithTemporaryFile); |
m_boolProps.push_back(&saveWithTemporaryFile); |
142 |
|
m_boolProps.push_back(&showTooltips); |
143 |
m_intProps.push_back(&mainWindowX); |
m_intProps.push_back(&mainWindowX); |
144 |
m_intProps.push_back(&mainWindowY); |
m_intProps.push_back(&mainWindowY); |
145 |
m_intProps.push_back(&mainWindowW); |
m_intProps.push_back(&mainWindowW); |