Kage Studio 0.7.230612
A Simple Free and Open Source 2D Animation Software
Loading...
Searching...
No Matches
layer_rename.h
Go to the documentation of this file.
1/*
2 * Kage Studio - a simple free and open source vector-based 2D animation software
3 * Copyright (C) 2011~2022 Mj Mendoza IV
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18 * MA 02110-1301, USA. Or, see <https://www.gnu.org/licenses/>.
19 *
20 */
21
22#ifndef GTKMM_KAGE_LAYER_RENAME_H
23 #define GTKMM_KAGE_LAYER_RENAME_H
24
25 #include <gtkmm/window.h>
26 #include <gtkmm/dialog.h>
27 #include <gtkmm/box.h>
28 #include <gtkmm/label.h>
29 #include <gtkmm/entry.h>
30// #include <gtkmm/stock.h>
31 #include "kage/timeline/layer.h"
32 #include <iostream>
33
34 using namespace std;
35
36 class LayerRenameDialog : public Gtk::Dialog {
37 public:
38 LayerRenameDialog(Gtk::Window& parent, KageLayerUI *p_layer);
39 virtual ~LayerRenameDialog();
40
42 protected:
43 //Member widgets:
44 Gtk::HBox m_HBox;
45 Gtk::Label _label;
46 Gtk::Entry _txtLabel;
47
49 };
50#endif //GTKMM_KAGE_LAYER_RENAME_H
forward declaration
Definition: layer.h:32
Definition: layer_rename.h:36
Gtk::HBox m_HBox
Definition: layer_rename.h:44
virtual ~LayerRenameDialog()
Definition: layer_rename.cpp:42
Gtk::Entry _txtLabel
Definition: layer_rename.h:46
void EntryLayerLabel_onEnter()
Definition: layer_rename.cpp:46
Gtk::Label _label
Definition: layer_rename.h:45
KageLayerUI * _layer
Definition: layer_rename.h:48