all repos — openbox @ 1dac42d9ed074bcd44f9d1016b0971ae473cc2eb

openbox fork - make it a bit more like ryudo

src/config.hh (raw)

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
// -*- 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 {

class Config {
  int _screen;

public:
  std::vector<otk::ustring> desktop_names;
  otk::ustring theme;
  otk::ustring titlebar_layout;
  long double_click_delay;
  long drag_threshold;
  long num_desktops;

  Config(int screen);
  ~Config();

  void load();
};

}

#endif // __config_hh