forked from inkyblackness/imgui-go
-
Notifications
You must be signed in to change notification settings - Fork 15
/
ComboFlags.go
23 lines (21 loc) · 1 KB
/
ComboFlags.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package imgui
const (
// ComboFlagsNone default = 0
ComboFlagsNone = 0
// ComboFlagsPopupAlignLeft aligns the popup toward the left by default.
ComboFlagsPopupAlignLeft = 1 << 0
// ComboFlagsHeightSmall has max ~4 items visible.
// Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo().
ComboFlagsHeightSmall = 1 << 1
// ComboFlagsHeightRegular has max ~8 items visible (default).
ComboFlagsHeightRegular = 1 << 2
// ComboFlagsHeightLarge has max ~20 items visible.
ComboFlagsHeightLarge = 1 << 3
// ComboFlagsHeightLargest has as many fitting items as possible.
ComboFlagsHeightLargest = 1 << 4
// ComboFlagsNoArrowButton displays on the preview box without the square arrow button.
ComboFlagsNoArrowButton = 1 << 5
// ComboFlagsNoPreview displays only a square arrow button.
ComboFlagsNoPreview = 1 << 6
ComboFlagsHeightMask = ComboFlagsHeightSmall | ComboFlagsHeightRegular | ComboFlagsHeightLarge | ComboFlagsHeightLargest
)