1// Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/new_layer.xml
2
3#ifndef GENERATED_NEW_LAYER_H_INCLUDED
4#define GENERATED_NEW_LAYER_H_INCLUDED
5#pragma once
6
7#include "app/find_widget.h"
8#include "app/load_widget.h"
9#include "ui/box.h"
10#include "ui/button.h"
11#include "ui/entry.h"
12#include "ui/label.h"
13#include "ui/window.h"
14
15namespace app {
16namespace gen {
17
18 class NewLayer : public ui::Window {
19 public:
20 NewLayer() : ui::Window(ui::Window::WithTitleBar) {
21 app::load_widget("new_layer.xml", "new_layer", this);
22 app::finder(this)
23 >> "name" >> m_name
24 >> "tileset_label" >> m_tilesetLabel
25 >> "tileset_options" >> m_tilesetOptions
26 >> "ok" >> m_ok
27 ;
28 }
29
30 ui::Entry* name() const { return m_name; }
31 ui::Label* tilesetLabel() const { return m_tilesetLabel; }
32 ui::HBox* tilesetOptions() const { return m_tilesetOptions; }
33 ui::Button* ok() const { return m_ok; }
34
35 private:
36 ui::Entry* m_name;
37 ui::Label* m_tilesetLabel;
38 ui::HBox* m_tilesetOptions;
39 ui::Button* m_ok;
40 };
41
42} // namespace gen
43} // namespace app
44
45#endif
46