1// Aseprite UI Library
2// Copyright (C) 2001-2017 David Capello
3//
4// This file is released under the terms of the MIT license.
5// Read LICENSE.txt for more information.
6
7#ifndef UI_WIDGET_TYPE_H_INCLUDED
8#define UI_WIDGET_TYPE_H_INCLUDED
9#pragma once
10
11namespace ui {
12
13 // Widget types.
14 enum WidgetType : int {
15 // Undefined (or anonymous) widget type.
16 kGenericWidget,
17
18 // Known widgets.
19 kBoxWidget,
20 kButtonWidget,
21 kCheckWidget,
22 kComboBoxWidget,
23 kEntryWidget,
24 kGridWidget,
25 kImageViewWidget,
26 kLabelWidget,
27 kLinkLabelWidget,
28 kListBoxWidget,
29 kListItemWidget,
30 kManagerWidget,
31 kMenuBarWidget,
32 kMenuBoxWidget,
33 kMenuItemWidget,
34 kMenuWidget,
35 kPanelWidget,
36 kRadioWidget,
37 kSeparatorWidget,
38 kSliderWidget,
39 kSplitterWidget,
40 kTextBoxWidget,
41 kViewScrollbarWidget,
42 kViewViewportWidget,
43 kViewWidget,
44 kWindowWidget,
45 kWindowTitleLabelWidget,
46 kWindowCloseButtonWidget,
47
48 // User widgets.
49 kFirstUserWidget,
50 kLastUserWidget = 0x7fffffff
51 };
52
53} // namespace ui
54
55#endif // UI_WIDGET_TYPE_H_INCLUDED
56