LibreOffice Module vcl (master) 1
Classes | Enumerations
WidgetThemeLibraryTypes.hxx File Reference
#include <o3tl/typed_flags_set.hxx>
Include dependency graph for WidgetThemeLibraryTypes.hxx:

Go to the source code of this file.

Classes

struct  o3tl::typed_flags< ControlState >
 

Enumerations

enum class  ControlType {
  Generic = 0 ,
  Pushbutton = 1 ,
  Radiobutton = 2 ,
  Checkbox = 10 ,
  Combobox = 20 ,
  Editbox = 30 ,
  EditboxNoBorder = 31 ,
  MultilineEditbox = 32 ,
  Listbox = 35 ,
  Spinbox = 40 ,
  SpinButtons = 45 ,
  TabItem = 50 ,
  TabPane = 55 ,
  TabHeader = 56 ,
  TabBody = 57 ,
  Scrollbar = 60 ,
  Slider = 65 ,
  Fixedline = 80 ,
  Toolbar = 100 ,
  Menubar = 120 ,
  MenuPopup = 121 ,
  Progress = 131 ,
  IntroProgress = 132 ,
  Tooltip = 140 ,
  WindowBackground = 150 ,
  Frame = 160 ,
  ListNode = 170 ,
  ListNet = 171 ,
  ListHeader = 172 ,
  Generic = 0 ,
  Pushbutton = 1 ,
  Radiobutton = 2 ,
  Checkbox = 10 ,
  Combobox = 20 ,
  Editbox = 30 ,
  EditboxNoBorder = 31 ,
  MultilineEditbox = 32 ,
  Listbox = 35 ,
  Spinbox = 40 ,
  SpinButtons = 45 ,
  TabItem = 50 ,
  TabPane = 55 ,
  TabHeader = 56 ,
  TabBody = 57 ,
  Scrollbar = 60 ,
  Slider = 65 ,
  Fixedline = 80 ,
  Toolbar = 100 ,
  Menubar = 120 ,
  MenuPopup = 121 ,
  Progress = 131 ,
  IntroProgress = 132 ,
  Tooltip = 140 ,
  WindowBackground = 150 ,
  Frame = 160 ,
  ListNode = 170 ,
  ListNet = 171 ,
  ListHeader = 172
}
 These types are all based on the supported variants vcl/salnativewidgets.hxx and must be kept in-sync. More...
 
enum class  ControlPart {
  NONE = 0 ,
  Entire = 1 ,
  ListboxWindow = 5 ,
  Button = 100 ,
  ButtonUp = 101 ,
  ButtonDown = 102 ,
  ButtonLeft = 103 ,
  ButtonRight = 104 ,
  AllButtons = 105 ,
  SeparatorHorz = 106 ,
  SeparatorVert = 107 ,
  TrackHorzLeft = 200 ,
  TrackVertUpper = 201 ,
  TrackHorzRight = 202 ,
  TrackVertLower = 203 ,
  TrackHorzArea = 204 ,
  TrackVertArea = 205 ,
  Arrow = 220 ,
  ThumbHorz = 210 ,
  ThumbVert = 211 ,
  MenuItem = 250 ,
  MenuItemCheckMark = 251 ,
  MenuItemRadioMark = 252 ,
  Separator = 253 ,
  SubmenuArrow = 254 ,
  SubEdit = 300 ,
  DrawBackgroundHorz = 1000 ,
  DrawBackgroundVert = 1001 ,
  TabsDrawRtl = 3000 ,
  HasBackgroundTexture = 4000 ,
  HasThreeButtons = 5000 ,
  BackgroundWindow = 6000 ,
  BackgroundDialog = 6001 ,
  Border = 7000 ,
  Focus = 8000 ,
  NONE = 0 ,
  Entire = 1 ,
  ListboxWindow = 5 ,
  Button = 100 ,
  ButtonUp = 101 ,
  ButtonDown = 102 ,
  ButtonLeft = 103 ,
  ButtonRight = 104 ,
  AllButtons = 105 ,
  SeparatorHorz = 106 ,
  SeparatorVert = 107 ,
  TrackHorzLeft = 200 ,
  TrackVertUpper = 201 ,
  TrackHorzRight = 202 ,
  TrackVertLower = 203 ,
  TrackHorzArea = 204 ,
  TrackVertArea = 205 ,
  Arrow = 220 ,
  ThumbHorz = 210 ,
  ThumbVert = 211 ,
  MenuItem = 250 ,
  MenuItemCheckMark = 251 ,
  MenuItemRadioMark = 252 ,
  Separator = 253 ,
  SubmenuArrow = 254 ,
  SubEdit = 300 ,
  DrawBackgroundHorz = 1000 ,
  DrawBackgroundVert = 1001 ,
  TabsDrawRtl = 3000 ,
  TabPaneWithHeader = 3001 ,
  HasBackgroundTexture = 4000 ,
  HasThreeButtons = 5000 ,
  BackgroundWindow = 6000 ,
  BackgroundDialog = 6001 ,
  Border = 7000 ,
  Focus = 8000
}
 
enum class  ControlState {
  NONE = 0 ,
  ENABLED = 0x0001 ,
  FOCUSED = 0x0002 ,
  PRESSED = 0x0004 ,
  ROLLOVER = 0x0008 ,
  DEFAULT = 0x0020 ,
  SELECTED = 0x0040 ,
  DOUBLEBUFFERING = 0x4000 ,
  CACHING_ALLOWED = 0x8000 ,
  NONE = 0 ,
  ENABLED = 0x0001 ,
  FOCUSED = 0x0002 ,
  PRESSED = 0x0004 ,
  ROLLOVER = 0x0008 ,
  DEFAULT = 0x0020 ,
  SELECTED = 0x0040
}
 
enum class  ButtonValue {
  DontKnow ,
  On ,
  Off ,
  Mixed ,
  DontKnow ,
  On ,
  Off ,
  Mixed
}
 

Enumeration Type Documentation

◆ ButtonValue

enum class ButtonValue
strong
Enumerator
DontKnow 
On 
Off 
Mixed 
DontKnow 
On 
Off 
Mixed 

Definition at line 226 of file WidgetThemeLibraryTypes.hxx.

◆ ControlPart

enum class ControlPart
strong
Enumerator
NONE 
Entire 
ListboxWindow 
Button 
ButtonUp 
ButtonDown 
ButtonLeft 
ButtonRight 
AllButtons 
SeparatorHorz 
SeparatorVert 
TrackHorzLeft 
TrackVertUpper 
TrackHorzRight 
TrackVertLower 
TrackHorzArea 
TrackVertArea 
Arrow 
ThumbHorz 
ThumbVert 
MenuItem 
MenuItemCheckMark 
MenuItemRadioMark 
Separator 
SubmenuArrow 
SubEdit 

The edit field part of a control, e.g.

of the combo box.

Currently used just for combo boxes and just for GetNativeControlRegion(). It is valid only if GetNativeControlRegion() supports ControlPart::ButtonDown as well.

DrawBackgroundHorz 
DrawBackgroundVert 
TabsDrawRtl 
HasBackgroundTexture 
HasThreeButtons 
BackgroundWindow 
BackgroundDialog 
Border 
Focus 
NONE 
Entire 
ListboxWindow 
Button 
ButtonUp 
ButtonDown 
ButtonLeft 
ButtonRight 
AllButtons 
SeparatorHorz 
SeparatorVert 
TrackHorzLeft 
TrackVertUpper 
TrackHorzRight 
TrackVertLower 
TrackHorzArea 
TrackVertArea 
Arrow 
ThumbHorz 
ThumbVert 
MenuItem 
MenuItemCheckMark 
MenuItemRadioMark 
Separator 
SubmenuArrow 
SubEdit 

The edit field part of a control, e.g.

of the combo box.

Currently used just for combo boxes and just for GetNativeControlRegion(). It is valid only if GetNativeControlRegion() supports ControlPart::ButtonDown as well.

DrawBackgroundHorz 
DrawBackgroundVert 
TabsDrawRtl 
TabPaneWithHeader 
HasBackgroundTexture 
HasThreeButtons 
BackgroundWindow 
BackgroundDialog 
Border 
Focus 

Definition at line 112 of file WidgetThemeLibraryTypes.hxx.

◆ ControlState

enum class ControlState
strong
Enumerator
NONE 
ENABLED 
FOCUSED 
PRESSED 
ROLLOVER 
DEFAULT 
SELECTED 
DOUBLEBUFFERING 

Set when the control is painted using double-buffering via VirtualDevice.

CACHING_ALLOWED 

Set when the control is completely visible (i.e. not clipped).

NONE 
ENABLED 
FOCUSED 
PRESSED 
ROLLOVER 
DEFAULT 
SELECTED 

Definition at line 206 of file WidgetThemeLibraryTypes.hxx.

◆ ControlType

enum class ControlType
strong

These types are all based on the supported variants vcl/salnativewidgets.hxx and must be kept in-sync.

Enumerator
Generic 
Pushbutton 
Radiobutton 
Checkbox 
Combobox 
Editbox 
EditboxNoBorder 
MultilineEditbox 
Listbox 
Spinbox 
SpinButtons 
TabItem 
TabPane 
TabHeader 
TabBody 
Scrollbar 
Slider 
Fixedline 
Toolbar 
Menubar 
MenuPopup 
Progress 
IntroProgress 
Tooltip 
WindowBackground 
Frame 
ListNode 
ListNet 
ListHeader 
Generic 
Pushbutton 
Radiobutton 
Checkbox 
Combobox 
Editbox 
EditboxNoBorder 
MultilineEditbox 
Listbox 
Spinbox 
SpinButtons 
TabItem 
TabPane 
TabHeader 
TabBody 
Scrollbar 
Slider 
Fixedline 
Toolbar 
Menubar 
MenuPopup 
Progress 
IntroProgress 
Tooltip 
WindowBackground 
Frame 
ListNode 
ListNet 
ListHeader 

Definition at line 28 of file WidgetThemeLibraryTypes.hxx.