Smolgui
Immediate gui library based on SFML
Loading...
Searching...
No Matches
Widgets.h
Go to the documentation of this file.
1#pragma once
2
3namespace sgui
4{
5
7
34
36
39enum class Slices {
40 One, // one image fully stretched
41 Three, // image cut in three with ends un-stretched
42 Nine, // image cut in nine, with corners un-stretched
44};
45
49enum class TileMode {
50 Stretch, // extend central part
51 Hide, // don't draw central part
52 Repeat, // repeat central part
53 Rotate // repeat and rotate central part
54};
55
56} // namespace sgui
Definition Interpolation.h:16
Slices
Defines number of slices for stretchable widgets.
Definition Widgets.h:39
@ One
Definition Widgets.h:40
@ Nine
Definition Widgets.h:42
@ Default
Definition Widgets.h:43
@ Three
Definition Widgets.h:41
TileMode
Defines type of tiling for center part of 9-slices widgets.
Definition Widgets.h:49
@ Hide
Definition Widgets.h:51
@ Repeat
Definition Widgets.h:52
@ Rotate
Definition Widgets.h:53
@ Stretch
Definition Widgets.h:50
Widget
List widget textures available in gui.
Definition Widgets.h:11
@ ProgressFill
Definition Widgets.h:29
@ ProgressBar
Definition Widgets.h:28
@ Slider
Definition Widgets.h:26
@ TitleButton
Definition Widgets.h:22
@ MenuBox
Definition Widgets.h:17
@ WindowWithCap
Definition Widgets.h:14
@ CheckBox
Definition Widgets.h:23
@ Button
Definition Widgets.h:20
@ IconButton
Definition Widgets.h:21
@ ItemBox
Definition Widgets.h:16
@ MenuItemBox
Definition Widgets.h:18
@ Scroller
Definition Widgets.h:27
@ Image
Definition Widgets.h:31
@ SliderBar
Definition Widgets.h:24
@ ScrollerBar
Definition Widgets.h:25
@ Separation
Definition Widgets.h:30
@ TextBox
Definition Widgets.h:15
@ TitleBox
Definition Widgets.h:19
@ None
Definition Constraints.h:17
store panel posiiton, size and some parameters
Definition Panel.h:16
small struct to ease use of beginPanel and beginWindow in Gui
Definition Panel.h:41