059bc4dc24
set up the functions for loading a style from a file. use the Config class throughout instead of reading out of the python namespace all the time.
29 lines
513 B
C++
29 lines
513 B
C++
// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
|
|
#ifndef __config_hh
|
|
#define __config_hh
|
|
|
|
/*! @file config.hh
|
|
@brief The Config class contains configuration options set by the user's
|
|
scripts
|
|
*/
|
|
|
|
#include "otk/ustring.hh"
|
|
|
|
#include <vector>
|
|
|
|
namespace ob {
|
|
|
|
struct Config {
|
|
std::vector<otk::ustring> desktop_names;
|
|
otk::ustring theme;
|
|
otk::ustring titlebar_layout;
|
|
long double_click_delay;
|
|
long drag_threshold;
|
|
long num_desktops;
|
|
|
|
Config();
|
|
};
|
|
|
|
}
|
|
|
|
#endif // __config_hh
|