| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 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 |