Debian Codegraph @

src/editor/tileset-smallmap-building-colors-dialog.h

raw symbols SCIP
1 // Copyright (C) 2010, 2014, 2020 Ben Asselstine
2 //
3 // This program is free software; you can redistribute it and/or modify
4 // it under the terms of the GNU General Public License as published by
5 // the Free Software Foundation; either version 3 of the License, or
6 // (at your option) any later version.
7 //
8 // This program is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 // GNU Library General Public License for more details.
12 //
13 // You should have received a copy of the GNU General Public License
14 // along with this program; if not, write to the Free Software
15 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
16 // 02110-1301, USA.
17
18 #pragma once
19 #ifndef TILESET_SMALLMAP_BUILDING_COLORS_DIALOG_H
20 #define TILESET_SMALLMAP_BUILDING_COLORS_DIALOG_H
21
22 #include <gtkmm.h>
23 #include "lw-editor-dialog.h"
24 class Tileset;
25
26 class TilesetSmallmapBuildingColorsDialog: public LwEditorDialog
27 {
28 public:
29 TilesetSmallmapBuildingColorsDialog(Gtk::Window &parent, Tileset *tileset);
30 ~TilesetSmallmapBuildingColorsDialog() {}
31
32 bool get_changed () {return d_changed;}
33 private:
34 bool d_changed;
35 Tileset *d_tileset;
36 Gtk::ColorButton *road_colorbutton;
37 Gtk::ColorButton *ruin_colorbutton;
38 Gtk::ColorButton *temple_colorbutton;
39
40 void on_road_color_chosen();
41 void on_ruin_color_chosen();
42 void on_temple_color_chosen();
43 };
44
45 #endif