1// Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/palette_size.xml
2
3#ifndef GENERATED_PALETTE_SIZE_H_INCLUDED
4#define GENERATED_PALETTE_SIZE_H_INCLUDED
5#pragma once
6
7#include "app/find_widget.h"
8#include "app/load_widget.h"
9#include "app/ui/expr_entry.h"
10#include "ui/button.h"
11#include "ui/window.h"
12
13namespace app {
14namespace gen {
15
16 class PaletteSize : public ui::Window {
17 public:
18 PaletteSize() : ui::Window(ui::Window::WithTitleBar) {
19 app::load_widget("palette_size.xml", "palette_size", this);
20 app::finder(this)
21 >> "colors" >> m_colors
22 >> "ok" >> m_ok
23 ;
24 }
25
26 app::ExprEntry* colors() const { return m_colors; }
27 ui::Button* ok() const { return m_ok; }
28
29 private:
30 app::ExprEntry* m_colors;
31 ui::Button* m_ok;
32 };
33
34} // namespace gen
35} // namespace app
36
37#endif
38