| 32 | } |
| 33 | |
| 34 | void |
| 35 | GuiConfig::loadDefaults(void) |
| 36 | { |
| 37 | this->useLMBdrag = false; |
| 38 | this->noLimits = false; |
| 39 | this->useGLWaterfall = false; |
| 40 | this->useGlInWindows = false; |
| 41 | this->useMaxBlending = false; |
| 42 | this->enableMsgTTL = true; |
| 43 | this->msgTTL = 15; // in milliseconds |
| 44 | } |
| 45 | |
| 46 | #define STRINGFY(x) #x |
| 47 | #define STORE(field) obj.set(STRINGFY(field), this->field) |