Horizon
Loading...
Searching...
No Matches
src
widgets
layer_range_editor.hpp
1
#pragma once
2
#include <gtkmm.h>
3
#include "util/changeable.hpp"
4
#include "util/layer_range.hpp"
5
6
namespace
horizon {
7
class
LayerRangeEditor
:
public
Gtk::Box,
public
Changeable
{
8
public
:
9
LayerRangeEditor
();
10
void
add_layer(
const
class
Layer
&layer);
11
void
set_layer_range(
LayerRange
rng);
12
LayerRange
get_layer_range()
const
;
13
14
private
:
15
class
LayerComboBox
*combo_start =
nullptr
;
16
class
LayerComboBox
*combo_end =
nullptr
;
17
std::vector<sigc::connection> connections;
18
19
void
changed();
20
void
update();
21
};
22
23
}
// namespace horizon
horizon::Changeable
Definition
changeable.hpp:5
horizon::LayerComboBox
Definition
layer_combo_box.hpp:5
horizon::LayerRangeEditor
Definition
layer_range_editor.hpp:7
horizon::LayerRange
Definition
layer_range.hpp:11
horizon::Layer
Definition
layer.hpp:5
Generated by
1.9.8