Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
berry::Constants Struct Reference

#include <berryConstants.h>

Static Public Attributes

static const int NONE
 
static const int DEFAULT
 
static const int DRAG
 
static const int CENTER
 
static const int HORIZONTAL
 
static const int VERTICAL
 
static const int MIN
 
static const int MAX
 
static const int UP
 
static const int TOP
 
static const int DOWN
 
static const int BOTTOM
 
static const int LEAD
 
static const int LEFT
 
static const int TRAIL
 
static const int RIGHT
 
static const int FILL
 
static const int WRAP
 
static const int BORDER
 
static const int CLOSE
 
static const int TOOL
 
static const int RESIZE
 
static const int TITLE
 
static const int SHELL_TRIM
 
static const int DIALOG_TRIM
 
static const int MODELESS
 
static const int PRIMARY_MODAL
 
static const int APPLICATION_MODAL
 
static const int SYSTEM_MODAL
 

Detailed Description

Definition at line 34 of file berryConstants.h.

Member Data Documentation

◆ APPLICATION_MODAL

const int berry::Constants::APPLICATION_MODAL
static

Style constant for application modal behavior (value is 1<<16).
Note that this is a HINT.

Used By:

Definition at line 302 of file berryConstants.h.

◆ BORDER

const int berry::Constants::BORDER
static

Style constant for bordered behavior (value is 1<<11).
Note that this is a HINT.

Used By:

  • Control and subclasses

Definition at line 215 of file berryConstants.h.

◆ BOTTOM

const int berry::Constants::BOTTOM
static

Style constant for align bottom behavior (value is 1<<10, since align DOWN and align BOTTOM are considered the same).

Used By:

  • FormAttachment in a FormLayout

Definition at line 152 of file berryConstants.h.

◆ CENTER

const int berry::Constants::CENTER
static

Style constant for align center behavior (value is 1<<24).

Used By:

  • Button
  • Label
  • TableColumn
  • FormAttachment in a FormLayout

Definition at line 60 of file berryConstants.h.

◆ CLOSE

const int berry::Constants::CLOSE
static

Style constant for close box trim (value is 1<<6, since we do not distinguish between CLOSE style and MENU style).

Used By:

  • Decorations and subclasses

Definition at line 224 of file berryConstants.h.

◆ DEFAULT

const int berry::Constants::DEFAULT
static

Definition at line 43 of file berryConstants.h.

◆ DIALOG_TRIM

const int berry::Constants::DIALOG_TRIM
static

Trim style convenience constant for the most common dialog shell appearance (value is CLOSE|TITLE|BORDER).

Used By:

Definition at line 272 of file berryConstants.h.

◆ DOWN

const int berry::Constants::DOWN
static

Style constant for align down behavior (value is 1<<10, since align DOWN and align BOTTOM are considered the same).

Used By:

  • Button with ARROW style
  • Tracker
  • Table
  • Tree

Definition at line 143 of file berryConstants.h.

◆ DRAG

const int berry::Constants::DRAG
static

Indicates that a user-interface component is being dragged, for example dragging the thumb of a scroll bar (value is 1).

Definition at line 49 of file berryConstants.h.

◆ FILL

const int berry::Constants::FILL
static

Style constant for vertical alignment or orientation behavior (value is 4).

Definition at line 201 of file berryConstants.h.

◆ HORIZONTAL

const int berry::Constants::HORIZONTAL
static

Style constant for horizontal alignment or orientation behavior (value is 1<<8).

Used By:

  • Label
  • ProgressBar
  • Sash
  • Scale
  • ScrollBar
  • Slider
  • ToolBar
  • FillLayout type
  • RowLayout type

Definition at line 76 of file berryConstants.h.

◆ LEAD

const int berry::Constants::LEAD
static

Style constant for leading alignment (value is 1<<14).

Used By:

  • Button
  • Label
  • TableColumn
  • Tracker
  • FormAttachment in a FormLayout
Since
2.1.2

Definition at line 166 of file berryConstants.h.

◆ LEFT

const int berry::Constants::LEFT
static

Style constant for align left behavior (value is 1<<14). This is a synonym for LEAD (value is 1<<14). Newer applications should use LEAD instead of LEFT to make code more understandable on right-to-left platforms.

Definition at line 174 of file berryConstants.h.

◆ MAX

const int berry::Constants::MAX
static

Style constant for maximize box trim (value is 1<<10).

Used By:

  • Decorations and subclasses

Definition at line 110 of file berryConstants.h.

◆ MIN

const int berry::Constants::MIN
static

Style constant for minimize box trim (value is 1<<7).

Used By:

  • Decorations and subclasses

Definition at line 102 of file berryConstants.h.

◆ MODELESS

const int berry::Constants::MODELESS
static

Style constant for modeless behavior (value is 0).
Note that this is a HINT.

Used By:

Definition at line 282 of file berryConstants.h.

◆ NONE

const int berry::Constants::NONE
static

A constant known to be zero (0), typically used in operations which take bit flags to indicate that "no bits are set".

Definition at line 41 of file berryConstants.h.

◆ PRIMARY_MODAL

const int berry::Constants::PRIMARY_MODAL
static

Style constant for primary modal behavior (value is 1<<15).
Note that this is a HINT.

Used By:

Definition at line 292 of file berryConstants.h.

◆ RESIZE

const int berry::Constants::RESIZE
static

Style constant for resize box trim (value is 1<<4).

Used By:

  • Decorations and subclasses
  • Tracker

Definition at line 246 of file berryConstants.h.

◆ RIGHT

const int berry::Constants::RIGHT
static

Style constant for align right behavior (value is 1<<17). This is a synonym for TRAIL (value is 1<<17). Newer applications should use TRAIL instead of RIGHT to make code more understandable on right-to-left platforms.

Definition at line 196 of file berryConstants.h.

◆ SHELL_TRIM

const int berry::Constants::SHELL_TRIM
static

Trim style convenience constant for the most common top level shell appearance (value is CLOSE|TITLE|MIN|MAX|RESIZE).

Used By:

Definition at line 263 of file berryConstants.h.

◆ SYSTEM_MODAL

const int berry::Constants::SYSTEM_MODAL
static

Style constant for system modal behavior (value is 1<<17).
Note that this is a HINT.

Used By:

Definition at line 312 of file berryConstants.h.

◆ TITLE

const int berry::Constants::TITLE
static

Style constant for title area trim (value is 1<<5).

Used By:

  • Decorations and subclasses

Definition at line 254 of file berryConstants.h.

◆ TOOL

const int berry::Constants::TOOL
static

Style constant for tool window behavior (value is 1<<2).

A tool window is a window intended to be used as a floating toolbar. It typically has a title bar that is shorter than a normal title bar, and the window title is typically drawn using a smaller font.
Note that this is a HINT.

Used By:

  • Decorations and subclasses

Definition at line 237 of file berryConstants.h.

◆ TOP

const int berry::Constants::TOP
static

Style constant for align top behavior (value is 1<<7, since align UP and align TOP are considered the same).

Used By:

  • FormAttachment in a FormLayout

Definition at line 131 of file berryConstants.h.

◆ TRAIL

const int berry::Constants::TRAIL
static

Style constant for trailing alignment (value is 1<<17).

Used By:

  • Button
  • Label
  • TableColumn
  • Tracker
  • FormAttachment in a FormLayout
Since
2.1.2

Definition at line 188 of file berryConstants.h.

◆ UP

const int berry::Constants::UP
static

Style constant for align up behavior (value is 1<<7, since align UP and align TOP are considered the same).

Used By:

  • Button with ARROW style
  • Tracker
  • Table
  • Tree

Definition at line 122 of file berryConstants.h.

◆ VERTICAL

const int berry::Constants::VERTICAL
static

Style constant for vertical alignment or orientation behavior (value is 1<<9).

Used By:

  • Label
  • ProgressBar
  • Sash
  • Scale
  • ScrollBar
  • Slider
  • ToolBar
  • CoolBar
  • FillLayout type
  • RowLayout type

Definition at line 94 of file berryConstants.h.

◆ WRAP

const int berry::Constants::WRAP
static

Style constant for automatic line wrap behavior (value is 1<<6).

Definition at line 206 of file berryConstants.h.


The documentation for this struct was generated from the following file: