LibreOffice Module vcl (master) 1
Classes | Namespaces | Enumerations
salnativewidgets.hxx File Reference
#include <vcl/dllapi.h>
#include <tools/gen.hxx>
#include <o3tl/typed_flags_set.hxx>
Include dependency graph for salnativewidgets.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  o3tl::typed_flags< ControlState >
 
class  ImplControlValue
 
class  ScrollbarValue
 
class  SliderValue
 
class  TabPaneValue
 
struct  o3tl::typed_flags< TabitemFlags >
 
class  TabitemValue
 
class  SpinbuttonValue
 
class  MenupopupValue
 
class  PushButtonValue
 

Namespaces

namespace  o3tl
 

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
}
 
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
}
 
enum class  TabitemFlags {
  NONE = 0x00 ,
  LeftAligned = 0x01 ,
  RightAligned = 0x02 ,
  FirstInGroup = 0x04 ,
  LastInGroup = 0x08
}
 

Enumeration Type Documentation

◆ ButtonValue

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

Definition at line 235 of file salnativewidgets.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 118 of file salnativewidgets.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 215 of file salnativewidgets.hxx.

◆ ControlType

enum class ControlType
strong
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 34 of file salnativewidgets.hxx.

◆ TabitemFlags

enum class TabitemFlags
strong
Enumerator
NONE 
LeftAligned 
RightAligned 
FirstInGroup 
LastInGroup 

Definition at line 373 of file salnativewidgets.hxx.