~widelands-dev/widelands/trunk

« back to all changes in this revision

Viewing changes to src/editor/ui_menus/toolsize_menu.cc

  • Committer: GunChleoc
  • Date: 2017-06-12 11:07:47 UTC
  • mto: This revision was merged to the branch mainline in revision 8704.
  • Revision ID: fios@foramnagaidhlig.net-20170612110747-2eri1uy1znx63wvu
Background images and colors are now defined in data/templates/default. Added StyleManager class to load and access them.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
               25,
46
46
               20,
47
47
               20,
48
 
               UI::Button::Style::kWuiSecondary,
 
48
               UI::ButtonStyle::kWuiSecondary,
49
49
               g_gr->images().get("images/ui_basic/scrollbar_up.png")),
50
50
     decrease_(this,
51
51
               "decr",
53
53
               25,
54
54
               20,
55
55
               20,
56
 
               UI::Button::Style::kWuiSecondary,
 
56
               UI::ButtonStyle::kWuiSecondary,
57
57
               g_gr->images().get("images/ui_basic/scrollbar_down.png")),
58
58
     value_(0) {
59
59
        increase_.sigclicked.connect(