mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 14:16:09 -06:00
42 lines
1.1 KiB
C++
42 lines
1.1 KiB
C++
#include <stdapp/stdappCfg.hpp>
|
|
|
|
Cfg::Cfg(
|
|
const int init_language,
|
|
const bool init_restore_cfg,
|
|
const bool init_show_splash,
|
|
const bool init_maximized,
|
|
const bool init_minimized,
|
|
const int init_main_window_left,
|
|
const int init_main_window_top,
|
|
const int init_main_window_width,
|
|
const int init_main_window_height
|
|
)
|
|
:
|
|
restore_cfg(init_restore_cfg),
|
|
show_splash(init_show_splash),
|
|
maximized(init_maximized),
|
|
minimized(init_minimized),
|
|
main_window_left(init_main_window_left),
|
|
main_window_top(init_main_window_top),
|
|
main_window_width(init_main_window_width),
|
|
main_window_height(init_main_window_height),
|
|
language(init_language)
|
|
{
|
|
}
|
|
|
|
/* text configuration file selected
|
|
void Cfg::Serialize(Stream& stream)
|
|
{
|
|
stream
|
|
% restore_cfg
|
|
% show_splash
|
|
% maximized
|
|
% minimized
|
|
% main_window_left
|
|
% main_window_top
|
|
% main_window_width
|
|
% main_window_height
|
|
% language
|
|
;
|
|
}
|
|
text configuration file selected */
|