Medical Imaging Interaction Toolkit  2016.11.0
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 38 of file berryConstants.h.

Member Data Documentation

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 306 of file berryConstants.h.

Referenced by berry::Window::GetParentShell().

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 219 of file berryConstants.h.

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 156 of file berryConstants.h.

Referenced by berry::Geometry::GetClosestSide(), berry::Geometry::GetDistanceFromEdge(), berry::Geometry::GetExtrudedEdge(), and berry::Geometry::GetOppositeSide().

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 64 of file berryConstants.h.

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 228 of file berryConstants.h.

const int berry::Constants::DEFAULT
static

Definition at line 47 of file berryConstants.h.

Referenced by berry::Window::GetInitialSize().

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 276 of file berryConstants.h.

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 147 of file berryConstants.h.

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 53 of file berryConstants.h.

const int berry::Constants::FILL
static

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

Definition at line 205 of file berryConstants.h.

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 80 of file berryConstants.h.

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 170 of file berryConstants.h.

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 178 of file berryConstants.h.

Referenced by berry::Geometry::GetClosestSide(), berry::Geometry::GetDistanceFromEdge(), berry::Geometry::GetOppositeSide(), and berry::Geometry::IsHorizontal().

const int berry::Constants::MAX
static

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

Used By:

  • Decorations and subclasses

Definition at line 114 of file berryConstants.h.

Referenced by berry::StackPresentation::GetSizeFlags().

const int berry::Constants::MIN
static

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

Used By:

  • Decorations and subclasses

Definition at line 106 of file berryConstants.h.

Referenced by berry::StackPresentation::GetSizeFlags().

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 286 of file berryConstants.h.

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 45 of file berryConstants.h.

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 296 of file berryConstants.h.

Referenced by berry::Window::GetParentShell().

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 250 of file berryConstants.h.

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 200 of file berryConstants.h.

Referenced by berry::Geometry::GetClosestSide(), berry::Geometry::GetDistanceFromEdge(), berry::Geometry::GetExtrudedEdge(), berry::Geometry::GetOppositeSide(), and berry::Geometry::IsHorizontal().

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 267 of file berryConstants.h.

Referenced by berry::Window::Init().

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 316 of file berryConstants.h.

Referenced by berry::Window::GetParentShell().

const int berry::Constants::TITLE
static

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

Used By:

  • Decorations and subclasses

Definition at line 258 of file berryConstants.h.

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 241 of file berryConstants.h.

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 135 of file berryConstants.h.

Referenced by berry::Geometry::GetClosestSide(), berry::Geometry::GetDistanceFromEdge(), and berry::Geometry::GetOppositeSide().

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 192 of file berryConstants.h.

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 126 of file berryConstants.h.

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 98 of file berryConstants.h.

const int berry::Constants::WRAP
static

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

Definition at line 210 of file berryConstants.h.


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