1.1-rc3
Namespaces | Classes | Typedefs | Enumerations | Functions
egt::v1 Namespace Reference

EGT API Version 1 inline namespace. More...

Namespaces

 detail
 Internal detail namespace.
 
 experimental
 Experimental namespace.
 

Classes

class  AnalogMeter
 This is a level meter that can be used to display integer values. More...
 
class  AnalogMeterF
 This is a level meter that can be used to display floating values. More...
 
class  AnalogMeterType
 Displays an analog meter based on a percentage value. More...
 
class  Animation
 Animation class with configurable easing function. More...
 
class  AnimationDelay
 Simple delay, useful to insert a delay in an AnimationSequence. More...
 
class  AnimationSequence
 Series of animations as a single animation. More...
 
class  Application
 Application definition. More...
 
class  ArcType
 An Arc consists of a radius and two angles. More...
 
class  AudioPlayer
 Audio player. More...
 
class  AutoAnimation
 Animation object with built in timer. More...
 
class  BarChart
 Vertical BarChart Widget is used for displaying a set of categorical data. More...
 
class  BoxSizer
 Positions and sizes widgets by Orientation. More...
 
class  Button
 Basic button control. More...
 
class  ButtonGroup
 Button group. More...
 
class  CameraWindow
 A CameraWindow is a widget to capture image feed from the camera sensor and render it on screen using gstreamer media framework. More...
 
class  Canvas
 Manages a unique drawing surface and context. More...
 
class  ChartBase
 Abstract base chart class. More...
 
class  CheckBox
 Boolean checkbox. More...
 
class  CheckButton
 Same as a normal Button, except it manipulates its checked state like a RadioBox or CheckBox. More...
 
class  CircleType
 A basic circle with a center point and radius. More...
 
class  CircleWidget
 Basic Circle Widget. More...
 
class  CoconutTheme
 Coconut Theme. More...
 
class  Color
 32 bit RGBA color. More...
 
class  ComboBox
 Combo box widget. More...
 
class  Dialog
 A dialog is a widget that allows user to make a decision. More...
 
class  Drawable
 Drawable function object. More...
 
class  Drawer
 Manager of the Drawable for each widget type. More...
 
class  DrawerReset
 Keeps track of what's been changed with Drawer::draw() changes. More...
 
struct  easing_cubic_bezier
 Cubic Bezier equation easing function. More...
 
class  EllipseType
 A basic ellipse with a center and 2 radii. More...
 
struct  Event
 A single event that has information about the event and state for the event. More...
 
class  EventArg
 Base event argument class. More...
 
class  EventLoop
 Event loop interface. More...
 
class  FileDialog
 A FileDialog is a widget that allows user to: More...
 
class  FileOpenDialog
 A FileOpenDialog is a widget which inherits from FileDialog and that allows user to: More...
 
class  FileSaveDialog
 A FileSaveDialog is a widget which inherits from FileDialog and that allows user to: More...
 
class  FixedVector
 constexpr vector that tries to behave like, or have an API like, std::vector. More...
 
class  Flags
 Utility class for managing a set of flags with the ability to observe changes to the flags. More...
 
class  FlagsBase
 Utility class for managing a set of flags. More...
 
class  FlexBoxSizer
 FlexBoxSizer helper variation of BoxSizer. More...
 
class  Font
 Manages a font and properties of a font. More...
 
class  Frame
 A Frame is a Widget that has children widgets. More...
 
class  HorizontalBarChart
 Horizontal BarChart Widget is used for displaying a set of categorical data. More...
 
class  HorizontalBoxSizer
 HorizontalBoxSizer helper variation of BoxSizer. More...
 
class  Image
 Raster image resource used for drawing or displaying. More...
 
class  ImageButton
 Button that also contains an Image. More...
 
class  ImageLabel
 Label that also contains an Image. More...
 
class  Input
 Base Input device class. More...
 
struct  Key
 Keyboard event data. More...
 
class  Label
 A Label that displays text. More...
 
class  LapisTheme
 Lapis Theme. More...
 
class  LevelMeter
 This is a level meter that can be used to display integer values. More...
 
class  LevelMeterF
 This is a level meter that can be used to display floating values. More...
 
class  LevelMeterType
 Displays a level meter based on a value. More...
 
class  LineChart
 LineChart Widget is used for displaying information as a series of data points. More...
 
class  LineType
 A line, with a starting and ending point. More...
 
class  LineWidget
 Basic Line Widget. More...
 
class  ListBox
 ListBox that manages a selectable list of widgets. More...
 
class  MidnightTheme
 Midnight Theme. More...
 
class  Notebook
 Allows a collection of NotebookTab widgets to be shown one at a time. More...
 
class  NotebookTab
 A single layer of a Notebook. More...
 
class  Object
 Base object class with fundamental properties. More...
 
class  OstreamWidgetSerializer
 Serialize a widget tree to an std::ostream. More...
 
class  Painter
 Drawing interface for 2D graphics. More...
 
class  Palette
 Color palette that contains a 2 dimensional array of colors. More...
 
class  Pattern
 A Pattern which can store one or more colors at different offsets (steps) which can be used to create complex gradients. More...
 
class  PeriodicTimer
 Periodic timer. More...
 
class  PieChart
 PieChart Widget is a circular statistical graphic, which is divided into slices to illustrate numerical proportion. More...
 
class  PointChart
 PointChart Widget is used for displaying information as a series of data points. More...
 
struct  Pointer
 Pointer event data. More...
 
class  PointType
 Simple x,y coordinate. More...
 
class  PopupType
 Popup window. More...
 
class  PopupVirtualKeyboard
 PopupVirtualKeyboard class. More...
 
class  ProgressBar
 This is a progess bar that can be used to display integer values. More...
 
class  ProgressBarF
 This is a progress bar that can be used to display floating values. More...
 
class  ProgressBarType
 Displays a progress bar based on a value. More...
 
class  PropertyAnimatorType
 Animates a property of a widget. More...
 
class  RadioBox
 Boolean RadioBox. More...
 
class  RangeValue
 Manages a value in a range. More...
 
struct  Ratio
 Creates and stores a simple ratio value. More...
 
class  RectangleWidget
 Basic Rectangle Widget. More...
 
class  RectType
 A rectangle with a point and a size. More...
 
class  ResourceManager
 Manages EGT resource data blobs. More...
 
class  Screen
 Manages one of more buffers that make up a Screen. More...
 
class  ScrolledView
 A scrollable view. More...
 
class  Scrollwheel
 Scrollwheel widget. More...
 
class  SelectableGrid
 StaticGrid with selectable cells. More...
 
class  Serializer
 Abstract base serializer class. More...
 
class  ShamrockTheme
 Shamrock Theme. More...
 
class  SideBoard
 SideBoard Window for a sliding board that slides on and off the screen. More...
 
class  Signal
 Signal class used for defining a signal and dispatching events. More...
 
class  SizeType
 Simple width and height. More...
 
class  SkyTheme
 Sky Theme. More...
 
class  Slider
 This is a slider that can be used to select integer value from a range. More...
 
struct  SliderBase
 Base class for SliderType. More...
 
class  SliderF
 This is a slider that can be used to select floating value from a range. More...
 
class  SliderType
 This is a slider that can be used to select value from a range. More...
 
class  SpinProgress
 This is a spinning progress meter that can be used to display integer values. More...
 
class  SpinProgressF
 This is a spinning progress meter that can be used to display floating values. More...
 
class  SpinProgressType
 Displays a spinning progress meter. More...
 
class  Sprite
 Widget that shows or animates sprite, or frame, strips from a single sprite sheet. More...
 
class  StaticGrid
 Static grid organization for widgets. More...
 
struct  StringItem
 List string helper. More...
 
class  SvgImage
 An SVG image. More...
 
class  TextBox
 Input text box. More...
 
class  TextWidget
 A widget with text and text related properties. More...
 
class  Theme
 Customizable characteristics for drawing widgets. More...
 
class  Timer
 Basic one shot timer. More...
 
class  ToggleBox
 CheckBox with a boolean slider style interface. More...
 
class  TopWindow
 Top level Window. More...
 
class  UltraVioletTheme
 Ultra Violet Theme. More...
 
class  Uri
 A URI (Universal Resource Identifier) parser/builder that aims to be RFC 3986 compliant. More...
 
class  Value
 Manages a single value. More...
 
class  ValueRangeWidget
 Manages a value in a range. More...
 
class  ValueWidget
 Manages an unbounded value. More...
 
class  VerticalBoxSizer
 VerticalBoxSizer helper variation of BoxSizer. More...
 
class  VideoWindow
 A VideoWindow is a widget to decode video and render it to a screen. More...
 
class  VirtualKeyboard
 VirtualKeyboard class. More...
 
class  Widget
 Base Widget class. More...
 
class  Window
 A Window is a Widget that handles drawing to a Screen. More...
 
class  XmlWidgetSerializer
 Serialize a widget tree to an XML document. More...
 

Typedefs

using AlignFlags = Flags< AlignFlag >
 Alignment flags. More...
 
using AnimationCallback = std::function< void(EasingScalar value)>
 Animation callback type. More...
 
using Arc = ArcType< DefaultDim >
 Helper type alias. More...
 
using Circle = CircleType< DefaultDim >
 Helper type alias. More...
 
using CircleF = CircleType< float >
 Helper type alias. More...
 
using DefaultDim = int
 Define the default dimension type used for geometry. More...
 
using DisplayPoint = PointType< DefaultDim, detail::Compatible::display >
 Helper type alias. More...
 
using EasingFunc = std::function< EasingScalar(EasingScalar percent)>
 Easing function type. More...
 
using EasingScalar = float
 Easing function value type. More...
 
using Ellipse = EllipseType< DefaultDim >
 Helper type alias. More...
 
using Line = LineType< DefaultDim >
 Helper type alias. More...
 
using LineF = LineType< float >
 Helper type alias. More...
 
using Point = PointType< DefaultDim, detail::Compatible::normal >
 Helper type alias. More...
 
using PointF = PointType< float, detail::Compatible::normal >
 Helper type alias. More...
 
using Popup = PopupType< Window >
 Helper type alias. More...
 
using PropertyAnimator = PropertyAnimatorType< DefaultDim >
 Helper type alias. More...
 
using PropertyAnimatorF = PropertyAnimatorType< float >
 Helper type alias. More...
 
using Rect = RectType< DefaultDim, detail::Compatible::normal >
 Helper type alias. More...
 
using RectF = RectType< float, detail::Compatible::normal >
 Helper type alias. More...
 
using shared_cairo_pattern_t = std::shared_ptr< cairo_pattern_t >
 Shared pointer for a cairo pattern. More...
 
using shared_cairo_scaled_font_t = std::shared_ptr< cairo_scaled_font_t >
 Shared pointer for a cairo font. More...
 
using shared_cairo_surface_t = std::shared_ptr< cairo_surface_t >
 Shared pointer for a cairo surface. More...
 
using shared_cairo_t = std::shared_ptr< cairo_t >
 Shared pointer for a cairo context. More...
 
using Size = SizeType< DefaultDim, detail::Compatible::normal >
 Helper type alias. More...
 
using SizeF = SizeType< float, detail::Compatible::normal >
 Helper type alias. More...
 
using unique_cairo_pattern_t = std::unique_ptr< cairo_pattern_t, detail::cairo_pattern_t_deleter >
 Unique pointer for a cairo pattern. More...
 
using unique_cairo_surface_t = std::unique_ptr< cairo_surface_t, detail::cairo_surface_t_deleter >
 Unique pointer for a cairo surface. More...
 
using unique_cairo_t = std::unique_ptr< cairo_t, detail::cairo_t_deleter >
 Unique pointer for a cairo context. More...
 

Enumerations

enum  AlignFlag : uint32_t {
  center_horizontal = detail::bit(0), center_vertical = detail::bit(1), center = center_horizontal | center_vertical, left = detail::bit(2),
  right = detail::bit(3), top = detail::bit(4), bottom = detail::bit(5), expand_horizontal = detail::bit(6),
  expand_vertical = detail::bit(7), expand = expand_horizontal | expand_vertical
}
 Alignment flags. More...
 
enum  EventId {
  none = detail::bit(0), raw_pointer_down = detail::bit(1), raw_pointer_up = detail::bit(2), raw_pointer_move = detail::bit(3),
  pointer_click = detail::bit(4), pointer_dblclick = detail::bit(5), pointer_hold = detail::bit(6), pointer_drag_start = detail::bit(7),
  pointer_drag = detail::bit(8), pointer_drag_stop = detail::bit(9), keyboard_down = detail::bit(10), keyboard_up = detail::bit(11),
  keyboard_repeat = detail::bit(12)
}
 Event identifiers. More...
 
enum  Justification : uint32_t {
  start = detail::bit(0), middle = detail::bit(1), ending = detail::bit(2), justify = detail::bit(3),
  none = detail::bit(4)
}
 Generic justification of children flags. More...
 
enum  KeyboardCode {
  EKEY_UNKNOWN = 0, EKEY_BACKSPACE = 0x08, EKEY_TAB = 0x09, EKEY_CLEAR = 0x0C,
  EKEY_ENTER = 0x0D, EKEY_MENU = 0x12, EKEY_PAUSE = 0x13, EKEY_CAPSLOCK = 0x14,
  EKEY_SNAPSHOT = 0x15, EKEY_ESCAPE = 0x1B, EKEY_NEXT = 0x1E, EKEY_SPACE = 0x20,
  EKEY_PAGEUP = 0x21, EKEY_PAGEDOWN = 0x22, EKEY_END = 0x23, EKEY_HOME = 0x24,
  EKEY_LEFT = 0x25, EKEY_UP = 0x26, EKEY_RIGHT = 0x27, EKEY_DOWN = 0x28,
  EKEY_SELECT = 0x29, EKEY_PRINT = 0x2A, EKEY_INSERT = 0x2D, EKEY_DELETE = 0x2E,
  EKEY_HELP = 0x2F, EKEY_0 = 0x30, EKEY_1 = 0x31, EKEY_2 = 0x32,
  EKEY_3 = 0x33, EKEY_4 = 0x34, EKEY_5 = 0x35, EKEY_6 = 0x36,
  EKEY_7 = 0x37, EKEY_8 = 0x38, EKEY_9 = 0x39, EKEY_A = 0x41,
  EKEY_B = 0x42, EKEY_C = 0x43, EKEY_D = 0x44, EKEY_E = 0x45,
  EKEY_F = 0x46, EKEY_G = 0x47, EKEY_H = 0x48, EKEY_I = 0x49,
  EKEY_J = 0x4A, EKEY_K = 0x4B, EKEY_L = 0x4C, EKEY_M = 0x4D,
  EKEY_N = 0x4E, EKEY_O = 0x4F, EKEY_P = 0x50, EKEY_Q = 0x51,
  EKEY_R = 0x52, EKEY_S = 0x53, EKEY_T = 0x54, EKEY_U = 0x55,
  EKEY_V = 0x56, EKEY_W = 0x57, EKEY_X = 0x58, EKEY_Y = 0x59,
  EKEY_Z = 0x5A, EKEY_SLEEP = 0x5F, EKEY_NUMPAD0 = 0x60, EKEY_NUMPAD1 = 0x61,
  EKEY_NUMPAD2 = 0x62, EKEY_NUMPAD3 = 0x63, EKEY_NUMPAD4 = 0x64, EKEY_NUMPAD5 = 0x65,
  EKEY_NUMPAD6 = 0x66, EKEY_NUMPAD7 = 0x67, EKEY_NUMPAD8 = 0x68, EKEY_NUMPAD9 = 0x69,
  EKEY_MULTIPLY = 0x6A, EKEY_ADD = 0x6B, EKEY_KPENTER = 0x6C, EKEY_SUBTRACT = 0x6D,
  EKEY_DECIMAL = 0x6E, EKEY_DIVIDE = 0x6F, EKEY_F1 = 0x70, EKEY_F2 = 0x71,
  EKEY_F3 = 0x72, EKEY_F4 = 0x73, EKEY_F5 = 0x74, EKEY_F6 = 0x75,
  EKEY_F7 = 0x76, EKEY_F8 = 0x77, EKEY_F9 = 0x78, EKEY_F10 = 0x79,
  EKEY_F11 = 0x7A, EKEY_F12 = 0x7B, EKEY_F13 = 0x7C, EKEY_F14 = 0x7D,
  EKEY_F15 = 0x7E, EKEY_F16 = 0x7F, EKEY_F17 = 0x80, EKEY_F18 = 0x81,
  EKEY_F19 = 0x82, EKEY_F20 = 0x83, EKEY_F21 = 0x84, EKEY_F22 = 0x85,
  EKEY_F23 = 0x86, EKEY_F24 = 0x87, EKEY_NUMLOCK = 0x90, EKEY_SCROLL = 0x91,
  EKEY_LSHIFT = 0xA0, EKEY_RSHIFT = 0xA1, EKEY_LCONTROL = 0xA2, EKEY_RCONTROL = 0xA3,
  EKEY_LEFTALT = 0xA4, EKEY_RIGHTALT = 0xA5, EKEY_VOLUME_MUTE = 0xAD, EKEY_VOLUME_DOWN = 0xAE,
  EKEY_VOLUME_UP = 0xAF, EKEY_PLUS = 0xBB, EKEY_COMMA = 0xBC, EKEY_MINUS = 0xBD,
  EKEY_DOT = 0xBE, EKEY_NUMDOT = 0xBF, EKEY_SLASH = 0xC0, EKEY_SEMICOLON = 0xDB,
  EKEY_APOSTROPHE = 0xDC, EKEY_LEFTBRACE = 0xDD, EKEY_RIGHTBRACE = 0xDE, EKEY_EQUAL = 0xDF,
  EKEY_GRAVE = 0xE2, EKEY_BACKSLASH = 0xE3, EKEY_PLAY = 0xFA, EKEY_ZOOM = 0xFB,
  EKEY_WLAN = 0x97, EKEY_POWER = 0x98, EKEY_COMPOSE = 0xE6, EKEY_USER1 = 0x104
}
 Key codes that represent a physical key. More...
 
enum  Orientation : uint32_t { horizontal = detail::bit(0), vertical = detail::bit(1), flex = detail::bit(2), none = detail::bit(3) }
 Generic orientation flags. More...
 
enum  PixelFormat {
  invalid, rgb565, argb8888, xrgb8888,
  yuyv, nv21, yuv420, yvyu,
  nv61, yuy2, uyvy
}
 Supported pixel formats. More...
 
enum  WindowHint : uint32_t {
  automatic = detail::bit(0), software = detail::bit(1), overlay = detail::bit(2), heo_overlay = detail::bit(3),
  cursor_overlay = detail::bit(4)
}
 Hint used for configuring Window backends. More...
 

Functions

EGT_API void add_search_path (const std::string &path)
 Add a search path for files. More...
 
template<class T >
const std::shared_ptr< T > & align (const std::shared_ptr< T > &widget, AlignFlags a)
 Helper to set alignment of a widget. More...
 
template<class T >
std::shared_ptr< T > & align (std::shared_ptr< T > &widget, AlignFlags a)
 Helper to set alignment of a widget. More...
 
template<class T >
T & align (T &widget, AlignFlags a)
 Helper to set alignment of a widget. More...
 
template<class T >
const std::shared_ptr< T > & bottom (const std::shared_ptr< T > &widget)
 Helper to set alignment of a widget. More...
 
template<class T >
std::shared_ptr< T > & bottom (std::shared_ptr< T > &widget)
 Helper to set alignment of a widget. More...
 
template<class T >
T & bottom (T &widget)
 Helper to set alignment of a widget. More...
 
template<class T >
const std::shared_ptr< T > & center (const std::shared_ptr< T > &widget)
 Helper to set alignment of a widget. More...
 
template<class T >
std::shared_ptr< T > & center (std::shared_ptr< T > &widget)
 Helper to set alignment of a widget. More...
 
template<class T >
T & center (T &widget)
 Helper to set alignment of a widget. More...
 
EGT_API EasingScalar easing_boing (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_bounce (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_bouncy (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_circular_easein (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_circular_easeinout (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_circular_easeout (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_cubic_easein (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_cubic_easeinout (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_cubic_easeout (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_drop (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_drop_slow (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_easy (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_easy_slow (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_exponential_easein (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_exponential_easeinout (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_exponential_easeout (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_extend (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_linear (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_quadratic_easein (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_quadratic_easeinout (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_quadratic_easeout (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_quartic_easein (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_quartic_easeinout (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_quartic_easeout (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_quintic_easein (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_quintic_easeinout (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_quintic_easeout (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_rubber (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_sine_easein (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_sine_easeinout (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_sine_easeout (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_snap (EasingScalar p)
  More...
 
EGT_API EasingScalar easing_spring (EasingScalar p)
  More...
 
EGT_API std::string egt_version ()
 Get the version of the EGT library. More...
 
template<class T >
const std::shared_ptr< T > & expand (const std::shared_ptr< T > &widget)
 Helper to set alignment of a widget. More...
 
template<class T >
std::shared_ptr< T > & expand (std::shared_ptr< T > &widget)
 Helper to set alignment of a widget. More...
 
template<class T >
T & expand (T &widget)
 Helper to set alignment of a widget. More...
 
template<class T >
const std::shared_ptr< T > & expand_horizontal (const std::shared_ptr< T > &widget)
 Helper to set alignment of a widget. More...
 
template<class T >
std::shared_ptr< T > & expand_horizontal (std::shared_ptr< T > &widget)
 Helper to set alignment of a widget. More...
 
template<class T >
T & expand_horizontal (T &widget)
 Helper to set alignment of a widget. More...
 
template<class T >
const std::shared_ptr< T > & expand_vertical (const std::shared_ptr< T > &widget)
 Helper to set alignment of a widget. More...
 
template<class T >
std::shared_ptr< T > & expand_vertical (std::shared_ptr< T > &widget)
 Helper to set alignment of a widget. More...
 
template<class T >
T & expand_vertical (T &widget)
 Helper to set alignment of a widget. More...
 
EGT_API Themeglobal_theme ()
 Get the global theme. More...
 
EGT_API void global_theme (std::shared_ptr< Theme > theme)
 Set the global theme. More...
 
template<class T >
const std::shared_ptr< T > & left (const std::shared_ptr< T > &widget)
 Helper to set alignment of a widget. More...
 
template<class T >
std::shared_ptr< T > & left (std::shared_ptr< T > &widget)
 Helper to set alignment of a widget. More...
 
template<class T >
T & left (T &widget)
 Helper to set alignment of a widget. More...
 
constexpr bool operator!= (const Color &lhs, const Color &rhs)
 Color operator. More...
 
template<class T >
constexpr bool operator!= (const Flags< T > &lhs, const Flags< T > &rhs)
 Flags operator. More...
 
bool EGT_API operator!= (const Font &lhs, const Font &rhs)
 Font operator. More...
 
template<class Dim , detail::Compatible DimCompat>
constexpr bool operator!= (const PointType< Dim, DimCompat > &lhs, const PointType< Dim, DimCompat > &rhs) noexcept
 PointType operator. More...
 
template<class Dim , detail::Compatible DimCompat>
constexpr bool operator!= (const RectType< Dim, DimCompat > &lhs, const RectType< Dim, DimCompat > &rhs) noexcept
 RectType operator. More...
 
template<class Dim , detail::Compatible DimCompat>
constexpr bool operator!= (const SizeType< Dim, DimCompat > &lhs, const SizeType< Dim, DimCompat > &rhs) noexcept
 SizeType operator. More...
 
template<typename T , size_t Capacity>
constexpr bool operator!= (FixedVector< T, Capacity > const &a, FixedVector< T, Capacity > const &b) noexcept
 
template<class Dim , detail::Compatible DimCompat>
constexpr PointType< Dim, DimCompat > operator* (PointType< Dim, DimCompat > lhs, const PointType< Dim, DimCompat > &rhs) noexcept
 PointType operator. More...
 
template<class Dim , detail::Compatible DimCompat, class T >
constexpr PointType< Dim, DimCompat > operator* (PointType< Dim, DimCompat > lhs, const T &rhs) noexcept
 PointType operator. More...
 
template<class Dim , detail::Compatible DimCompat>
constexpr RectType< Dim, DimCompat > operator* (RectType< Dim, DimCompat > lhs, const PointType< Dim, DimCompat > &rhs) noexcept
 RectType operator. More...
 
template<class Dim , detail::Compatible DimCompat>
constexpr RectType< Dim, DimCompat > operator* (RectType< Dim, DimCompat > lhs, const SizeType< Dim, DimCompat > &rhs) noexcept
 RectType operator. More...
 
template<class Dim , detail::Compatible DimCompat>
constexpr SizeType< Dim, DimCompat > operator* (SizeType< Dim, DimCompat > lhs, const SizeType< Dim, DimCompat > &rhs) noexcept
 SizeType operator. More...
 
template<class Dim , detail::Compatible DimCompat, class T >
constexpr SizeType< Dim, DimCompat > operator* (SizeType< Dim, DimCompat > lhs, const T &rhs) noexcept
 SizeType operator. More...
 
template<class T >
constexpr Color operator* (T scalar, const Color &rhs)
 Color operator. More...
 
template<class Dim , detail::Compatible DimCompat>
constexpr PointType< Dim, DimCompat > operator+ (PointType< Dim, DimCompat > lhs, const PointType< Dim, DimCompat > &rhs) noexcept
 PointType operator. More...
 
template<class Dim , detail::Compatible DimCompat, class T >
constexpr PointType< Dim, DimCompat > operator+ (PointType< Dim, DimCompat > lhs, const T &rhs) noexcept
 PointType operator. More...
 
template<class Dim , detail::Compatible DimCompat>
constexpr RectType< Dim, DimCompat > operator+ (RectType< Dim, DimCompat > lhs, const PointType< Dim, DimCompat > &rhs) noexcept
 RectType operator. More...
 
template<class Dim , detail::Compatible DimCompat>
constexpr RectType< Dim, DimCompat > operator+ (RectType< Dim, DimCompat > lhs, const SizeType< Dim, DimCompat > &rhs) noexcept
 RectType operator. More...
 
template<class Dim , detail::Compatible DimCompat>
constexpr SizeType< Dim, DimCompat > operator+ (SizeType< Dim, DimCompat > lhs, const SizeType< Dim, DimCompat > &rhs) noexcept
 SizeType operator. More...
 
template<class Dim , detail::Compatible DimCompat, class T >
constexpr SizeType< Dim, DimCompat > operator+ (SizeType< Dim, DimCompat > lhs, const T &rhs) noexcept
 SizeType operator. More...
 
template<class T >
constexpr Color operator+ (T scalar, const Color &rhs)
 Color operator. More...
 
template<class Dim , detail::Compatible DimCompat>
constexpr PointType< Dim, DimCompat > operator- (PointType< Dim, DimCompat > lhs, const PointType< Dim, DimCompat > &rhs) noexcept
 PointType operator. More...
 
template<class Dim , detail::Compatible DimCompat, class T >
constexpr PointType< Dim, DimCompat > operator- (PointType< Dim, DimCompat > lhs, const T &rhs) noexcept
 PointType operator. More...
 
template<class Dim , detail::Compatible DimCompat>
constexpr RectType< Dim, DimCompat > operator- (RectType< Dim, DimCompat > lhs, const PointType< Dim, DimCompat > &rhs) noexcept
 RectType operator. More...
 
template<class Dim , detail::Compatible DimCompat>
constexpr RectType< Dim, DimCompat > operator- (RectType< Dim, DimCompat > lhs, const SizeType< Dim, DimCompat > &rhs) noexcept
 RectType operator. More...
 
template<class Dim , detail::Compatible DimCompat>
constexpr SizeType< Dim, DimCompat > operator- (SizeType< Dim, DimCompat > lhs, const SizeType< Dim, DimCompat > &rhs) noexcept
 SizeType operator. More...
 
template<class Dim , detail::Compatible DimCompat, class T >
constexpr SizeType< Dim, DimCompat > operator- (SizeType< Dim, DimCompat > lhs, const T &rhs) noexcept
 SizeType operator. More...
 
template<class T >
constexpr Color operator- (T scalar, const Color &rhs)
 Color operator. More...
 
template<class Dim , detail::Compatible DimCompat>
constexpr PointType< Dim, DimCompat > operator/ (PointType< Dim, DimCompat > lhs, const PointType< Dim, DimCompat > &rhs) noexcept
 PointType operator. More...
 
template<class Dim , detail::Compatible DimCompat, class T >
constexpr PointType< Dim, DimCompat > operator/ (PointType< Dim, DimCompat > lhs, const T &rhs) noexcept
 PointType operator. More...
 
template<class Dim , detail::Compatible DimCompat>
constexpr RectType< Dim, DimCompat > operator/ (RectType< Dim, DimCompat > lhs, const PointType< Dim, DimCompat > &rhs) noexcept
 RectType operator. More...
 
template<class Dim , detail::Compatible DimCompat>
constexpr RectType< Dim, DimCompat > operator/ (RectType< Dim, DimCompat > lhs, const SizeType< Dim, DimCompat > &rhs) noexcept
 RectType operator. More...
 
template<class Dim , detail::Compatible DimCompat>
constexpr SizeType< Dim, DimCompat > operator/ (SizeType< Dim, DimCompat > lhs, const SizeType< Dim, DimCompat > &rhs) noexcept
 SizeType operator. More...
 
template<class Dim , detail::Compatible DimCompat, class T >
constexpr SizeType< Dim, DimCompat > operator/ (SizeType< Dim, DimCompat > lhs, const T &rhs) noexcept
 SizeType operator. More...
 
template<class T >
constexpr Color operator/ (T scalar, const Color &rhs)
 Color operator. More...
 
template<typename T , size_t Capacity>
constexpr bool operator< (FixedVector< T, Capacity > const &a, FixedVector< T, Capacity > const &b) noexcept
 
EGT_API std::ostream & operator<< (std::ostream &os, const AlignFlags &align)
 Overloaded std::ostream insertion operator. More...
 
template<class Dim >
std::ostream & operator<< (std::ostream &os, const CircleType< Dim > &circle)
 Overloaded std::ostream insertion operator. More...
 
EGT_API std::ostream & operator<< (std::ostream &os, const Color &color)
 Overloaded std::ostream insertion operator. More...
 
template<class Dim >
std::ostream & operator<< (std::ostream &os, const EllipseType< Dim > &ellipse)
 Overloaded std::ostream insertion operator. More...
 
EGT_API std::ostream & operator<< (std::ostream &os, const Event &event)
 Overloaded std::ostream insertion operator. More...
 
EGT_API std::ostream & operator<< (std::ostream &os, const EventId &event)
 Overloaded std::ostream insertion operator. More...
 
template<class T >
std::ostream & operator<< (std::ostream &os, const Flags< T > &flags)
 Overloaded std::ostream insertion operator. More...
 
EGT_API std::ostream & operator<< (std::ostream &os, const Font &font)
 
EGT_API std::ostream & operator<< (std::ostream &os, const Key &key)
 Overloaded std::ostream insertion operator. More...
 
template<class Dim >
std::ostream & operator<< (std::ostream &os, const LineType< Dim > &line)
 Overloaded std::ostream insertion operator. More...
 
EGT_API std::ostream & operator<< (std::ostream &os, const Palette::ColorId &color)
 Overloaded std::ostream insertion operator. More...
 
EGT_API std::ostream & operator<< (std::ostream &os, const Palette::GroupId &group)
 Overloaded std::ostream insertion operator. More...
 
EGT_API std::ostream & operator<< (std::ostream &os, const PixelFormat &format)
 Overloaded std::ostream insertion operator. More...
 
EGT_API std::ostream & operator<< (std::ostream &os, const Pointer &pointer)
 Overloaded std::ostream insertion operator. More...
 
EGT_API std::ostream & operator<< (std::ostream &os, const Pointer::Button &btn)
 Overloaded std::ostream insertion operator. More...
 
template<class Dim , detail::Compatible DimCompat>
std::ostream & operator<< (std::ostream &os, const PointType< Dim, DimCompat > &point)
 Overloaded std::ostream insertion operator. More...
 
template<class Dim , detail::Compatible DimCompat>
std::ostream & operator<< (std::ostream &os, const RectType< Dim, DimCompat > &rect)
 Overloaded std::ostream insertion operator. More...
 
EGT_API std::ostream & operator<< (std::ostream &os, const SideBoard::PositionFlag &flag)
 Overloaded std::ostream insertion operator. More...
 
template<class Dim , detail::Compatible DimCompat>
std::ostream & operator<< (std::ostream &os, const SizeType< Dim, DimCompat > &size)
 Overloaded std::ostream insertion operator. More...
 
EGT_API std::ostream & operator<< (std::ostream &os, const Widget::Flag &flag)
 Overloaded std::ostream insertion operator. More...
 
EGT_API std::ostream & operator<< (std::ostream &os, const Widget::Flags &flags)
 Overloaded std::ostream insertion operator. More...
 
EGT_API std::ostream & operator<< (std::ostream &os, const WindowHint &hint)
 Overloaded std::ostream insertion operator. More...
 
template<typename T , size_t Capacity>
constexpr bool operator<= (FixedVector< T, Capacity > const &a, FixedVector< T, Capacity > const &b) noexcept
 
constexpr bool operator== (const Color &lhs, const Color &rhs)
 Color operator. More...
 
template<class T >
constexpr bool operator== (const Flags< T > &lhs, const Flags< T > &rhs)
 Flags operator. More...
 
bool EGT_API operator== (const Font &lhs, const Font &rhs)
 Font operator. More...
 
template<class Dim , detail::Compatible DimCompat>
constexpr bool operator== (const PointType< Dim, DimCompat > &lhs, const PointType< Dim, DimCompat > &rhs) noexcept
 PointType operator. More...
 
template<detail::Compatible DimCompat>
constexpr bool operator== (const PointType< float, DimCompat > &lhs, const PointType< float, DimCompat > &rhs)
 PointType operator. More...
 
template<class Dim , detail::Compatible DimCompat>
constexpr bool operator== (const RectType< Dim, DimCompat > &lhs, const RectType< Dim, DimCompat > &rhs) noexcept
 RectType operator. More...
 
template<class Dim , detail::Compatible DimCompat>
constexpr bool operator== (const SizeType< Dim, DimCompat > &lhs, const SizeType< Dim, DimCompat > &rhs) noexcept
 SizeType operator. More...
 
template<detail::Compatible DimCompat>
constexpr bool operator== (const SizeType< float, DimCompat > &lhs, const SizeType< float, DimCompat > &rhs)
 SizeType operator. More...
 
template<typename T , size_t Capacity>
constexpr bool operator== (FixedVector< T, Capacity > const &a, FixedVector< T, Capacity > const &b) noexcept
 
template<typename T , size_t Capacity>
constexpr bool operator> (FixedVector< T, Capacity > const &a, FixedVector< T, Capacity > const &b) noexcept
 
template<typename T , size_t Capacity>
constexpr bool operator>= (FixedVector< T, Capacity > const &a, FixedVector< T, Capacity > const &b) noexcept
 
AlignFlags operator| (AlignFlag lhs, AlignFlag rhs)
 AlignFlags operator. More...
 
PopupVirtualKeyboard *& popup_virtual_keyboard ()
 Get a pointer to the popup virtual keyboard. More...
 
EGT_API std::string resolve_file_path (const std::string &filename)
 Given a file path, try to find it related to any added search paths. More...
 
template<class T >
const std::shared_ptr< T > & right (const std::shared_ptr< T > &widget)
 Helper to set alignment of a widget. More...
 
template<class T >
std::shared_ptr< T > & right (std::shared_ptr< T > &widget)
 Helper to set alignment of a widget. More...
 
template<class T >
T & right (T &widget)
 Helper to set alignment of a widget. More...
 
template<class T >
const std::shared_ptr< T > & top (const std::shared_ptr< T > &widget)
 Helper to set alignment of a widget. More...
 
template<class T >
std::shared_ptr< T > & top (std::shared_ptr< T > &widget)
 Helper to set alignment of a widget. More...
 
template<class T >
T & top (T &widget)
 Helper to set alignment of a widget. More...
 

Detailed Description

EGT API Version 1 inline namespace.

Typedef Documentation

◆ AlignFlags

Alignment flags.

◆ AnimationCallback

using AnimationCallback = std::function<void (EasingScalar value)>

Animation callback type.

◆ DefaultDim

using DefaultDim = int

Define the default dimension type used for geometry.

◆ EasingFunc

using EasingFunc = std::function<EasingScalar(EasingScalar percent)>

Easing function type.

◆ EasingScalar

typedef float EasingScalar

Easing function value type.

◆ Popup

Helper type alias.

◆ shared_cairo_pattern_t

using shared_cairo_pattern_t = std::shared_ptr<cairo_pattern_t>

Shared pointer for a cairo pattern.

◆ shared_cairo_scaled_font_t

using shared_cairo_scaled_font_t = std::shared_ptr<cairo_scaled_font_t>

Shared pointer for a cairo font.

◆ shared_cairo_surface_t

using shared_cairo_surface_t = std::shared_ptr<cairo_surface_t>

Shared pointer for a cairo surface.

◆ shared_cairo_t

using shared_cairo_t = std::shared_ptr<cairo_t>

Shared pointer for a cairo context.

◆ unique_cairo_pattern_t

using unique_cairo_pattern_t = std::unique_ptr<cairo_pattern_t, detail::cairo_pattern_t_deleter>

Unique pointer for a cairo pattern.

◆ unique_cairo_surface_t

using unique_cairo_surface_t = std::unique_ptr<cairo_surface_t, detail::cairo_surface_t_deleter>

Unique pointer for a cairo surface.

◆ unique_cairo_t

using unique_cairo_t = std::unique_ptr<cairo_t, detail::cairo_t_deleter>

Unique pointer for a cairo context.

Enumeration Type Documentation

◆ AlignFlag

enum AlignFlag : uint32_t
strong

Alignment flags.

Note
Center alignment is a weak alignment both horizontal and vertical. To break one of those dimensions to another alignment, specify it in addition to center. If both are broken, center has no effect.
Enumerator
center_horizontal 

Center alignment is a weak alignment both horizontal and vertical.

To break one of those dimensions to another alignment, specify it in addition to center. If both are broken, center has no effect. Center horizontal alignment.

center_vertical 

Center vertical alignment.

center 

Center horizontal and vertical alignment.

left 

Horizontal alignment.

right 

Horizontal alignment.

top 

Vertical alignment.

bottom 

Vertical alignment.

expand_horizontal 

Expand only horizontally.

expand_vertical 

Expand only vertically.

expand 

Expand horizontally and vertically.

◆ Justification

enum Justification : uint32_t
strong

Generic justification of children flags.

Enumerator
start 
middle 
ending 
justify 
none 

◆ KeyboardCode

Key codes that represent a physical key.

Enumerator
EKEY_UNKNOWN 
EKEY_BACKSPACE 
EKEY_TAB 
EKEY_CLEAR 
EKEY_ENTER 
EKEY_MENU 
EKEY_PAUSE 
EKEY_CAPSLOCK 
EKEY_SNAPSHOT 
EKEY_ESCAPE 
EKEY_NEXT 
EKEY_SPACE 
EKEY_PAGEUP 
EKEY_PAGEDOWN 
EKEY_END 
EKEY_HOME 
EKEY_LEFT 
EKEY_UP 
EKEY_RIGHT 
EKEY_DOWN 
EKEY_SELECT 
EKEY_PRINT 
EKEY_INSERT 
EKEY_DELETE 
EKEY_HELP 
EKEY_0 
EKEY_1 
EKEY_2 
EKEY_3 
EKEY_4 
EKEY_5 
EKEY_6 
EKEY_7 
EKEY_8 
EKEY_9 
EKEY_A 
EKEY_B 
EKEY_C 
EKEY_D 
EKEY_E 
EKEY_F 
EKEY_G 
EKEY_H 
EKEY_I 
EKEY_J 
EKEY_K 
EKEY_L 
EKEY_M 
EKEY_N 
EKEY_O 
EKEY_P 
EKEY_Q 
EKEY_R 
EKEY_S 
EKEY_T 
EKEY_U 
EKEY_V 
EKEY_W 
EKEY_X 
EKEY_Y 
EKEY_Z 
EKEY_SLEEP 
EKEY_NUMPAD0 
EKEY_NUMPAD1 
EKEY_NUMPAD2 
EKEY_NUMPAD3 
EKEY_NUMPAD4 
EKEY_NUMPAD5 
EKEY_NUMPAD6 
EKEY_NUMPAD7 
EKEY_NUMPAD8 
EKEY_NUMPAD9 
EKEY_MULTIPLY 
EKEY_ADD 
EKEY_KPENTER 
EKEY_SUBTRACT 
EKEY_DECIMAL 
EKEY_DIVIDE 
EKEY_F1 
EKEY_F2 
EKEY_F3 
EKEY_F4 
EKEY_F5 
EKEY_F6 
EKEY_F7 
EKEY_F8 
EKEY_F9 
EKEY_F10 
EKEY_F11 
EKEY_F12 
EKEY_F13 
EKEY_F14 
EKEY_F15 
EKEY_F16 
EKEY_F17 
EKEY_F18 
EKEY_F19 
EKEY_F20 
EKEY_F21 
EKEY_F22 
EKEY_F23 
EKEY_F24 
EKEY_NUMLOCK 
EKEY_SCROLL 
EKEY_LSHIFT 
EKEY_RSHIFT 
EKEY_LCONTROL 
EKEY_RCONTROL 
EKEY_LEFTALT 
EKEY_RIGHTALT 
EKEY_VOLUME_MUTE 
EKEY_VOLUME_DOWN 
EKEY_VOLUME_UP 
EKEY_PLUS 
EKEY_COMMA 
EKEY_MINUS 
EKEY_DOT 
EKEY_NUMDOT 
EKEY_SLASH 
EKEY_SEMICOLON 
EKEY_APOSTROPHE 
EKEY_LEFTBRACE 
EKEY_RIGHTBRACE 
EKEY_EQUAL 
EKEY_GRAVE 
EKEY_BACKSLASH 
EKEY_PLAY 
EKEY_ZOOM 
EKEY_WLAN 
EKEY_POWER 
EKEY_COMPOSE 
EKEY_USER1 

◆ Orientation

enum Orientation : uint32_t
strong

Generic orientation flags.

Enumerator
horizontal 
vertical 
flex 
none 

◆ PixelFormat

enum PixelFormat
strong

Supported pixel formats.

Note
Not all formats are supported by all windows or backends.
Enumerator
invalid 

Invalid color format.

rgb565 

16 bpp, 16-bit color

argb8888 

32 bpp, 24-bit color + 8-bit alpha

xrgb8888 

32 bpp, 24-bit color

yuyv 

Packed format with ½ horizontal chroma resolution, also known.

as YUV 4:2:2

nv21 

YUV 4:2:0 planar image, with 8 bit Y samples, followed by.

interleaved V/U plane with 8bit 2x2 subsampled chroma samples

yuv420 

Planar format.

yvyu 
nv61 
yuy2 

Packed YUY 4:2:2.

uyvy 

Reverse byte order of YUY2.

◆ WindowHint

enum WindowHint : uint32_t
strong

Hint used for configuring Window backends.

Enumerator
automatic 

Allow automatic detection of the window type to create.

software 

Request a software only implementation.

overlay 

Request an overlay plane.

heo_overlay 

Request specifically an HEO overlay plane.

cursor_overlay 

Request a cursor overlay plane.

Function Documentation

◆ add_search_path()

EGT_API void egt::v1::add_search_path ( const std::string &  path)

Add a search path for files.

Any actual file path used, for example when loading images, will be searched for relative to any added path here.

See also
File Paths

◆ align() [1/3]

const std::shared_ptr<T>& egt::v1::align ( const std::shared_ptr< T > &  widget,
AlignFlags  a 
)

Helper to set alignment of a widget.

◆ align() [2/3]

std::shared_ptr<T>& egt::v1::align ( std::shared_ptr< T > &  widget,
AlignFlags  a 
)

Helper to set alignment of a widget.

◆ align() [3/3]

T& egt::v1::align ( T &  widget,
AlignFlags  a 
)

Helper to set alignment of a widget.

◆ bottom() [1/3]

const std::shared_ptr<T>& egt::v1::bottom ( const std::shared_ptr< T > &  widget)

Helper to set alignment of a widget.

◆ bottom() [2/3]

std::shared_ptr<T>& egt::v1::bottom ( std::shared_ptr< T > &  widget)

Helper to set alignment of a widget.

◆ bottom() [3/3]

T& egt::v1::bottom ( T &  widget)

Helper to set alignment of a widget.

◆ center() [1/3]

const std::shared_ptr<T>& egt::v1::center ( const std::shared_ptr< T > &  widget)

Helper to set alignment of a widget.

◆ center() [2/3]

std::shared_ptr<T>& egt::v1::center ( std::shared_ptr< T > &  widget)

Helper to set alignment of a widget.

◆ center() [3/3]

T& egt::v1::center ( T &  widget)

Helper to set alignment of a widget.

◆ egt_version()

EGT_API std::string egt::v1::egt_version ( )

Get the version of the EGT library.

◆ expand() [1/3]

const std::shared_ptr<T>& egt::v1::expand ( const std::shared_ptr< T > &  widget)

Helper to set alignment of a widget.

◆ expand() [2/3]

std::shared_ptr<T>& egt::v1::expand ( std::shared_ptr< T > &  widget)

Helper to set alignment of a widget.

◆ expand() [3/3]

T& egt::v1::expand ( T &  widget)

Helper to set alignment of a widget.

◆ expand_horizontal() [1/3]

const std::shared_ptr<T>& egt::v1::expand_horizontal ( const std::shared_ptr< T > &  widget)

Helper to set alignment of a widget.

◆ expand_horizontal() [2/3]

std::shared_ptr<T>& egt::v1::expand_horizontal ( std::shared_ptr< T > &  widget)

Helper to set alignment of a widget.

◆ expand_horizontal() [3/3]

T& egt::v1::expand_horizontal ( T &  widget)

Helper to set alignment of a widget.

◆ expand_vertical() [1/3]

const std::shared_ptr<T>& egt::v1::expand_vertical ( const std::shared_ptr< T > &  widget)

Helper to set alignment of a widget.

◆ expand_vertical() [2/3]

std::shared_ptr<T>& egt::v1::expand_vertical ( std::shared_ptr< T > &  widget)

Helper to set alignment of a widget.

◆ expand_vertical() [3/3]

T& egt::v1::expand_vertical ( T &  widget)

Helper to set alignment of a widget.

◆ global_theme() [1/2]

EGT_API Theme& egt::v1::global_theme ( )

Get the global theme.

This is the point to get and modify the global theme.

Warning
Keep in mind that themes can be set on individual widgets, in which case, they are disconnected from the global theme.
Returns
Reference to the current Theme.

◆ global_theme() [2/2]

EGT_API void egt::v1::global_theme ( std::shared_ptr< Theme theme)

Set the global theme.

This function will call Theme::apply() on the passed in Theme.

Note
This will destroy any pre-existing theme instance.

◆ left() [1/3]

const std::shared_ptr<T>& egt::v1::left ( const std::shared_ptr< T > &  widget)

Helper to set alignment of a widget.

◆ left() [2/3]

std::shared_ptr<T>& egt::v1::left ( std::shared_ptr< T > &  widget)

Helper to set alignment of a widget.

◆ left() [3/3]

T& egt::v1::left ( T &  widget)

Helper to set alignment of a widget.

◆ multichoice_a()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_a ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_A()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_A ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_c()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_c ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_C()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_C ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_d()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_d ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_D()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_D ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_e()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_e ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_E()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_E ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_g()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_g ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_G()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_G ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_i()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_i ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_I()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_I ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_k()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_k ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_K()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_K ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_l()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_l ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_L()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_L ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_n()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_n ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_N()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_N ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_o()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_o ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_O()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_O ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_r()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_r ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_R()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_R ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_s()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_s ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_S()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_S ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_t()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_t ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_T()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_T ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_u()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_u ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_U()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_U ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_y()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_y ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_Y()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_Y ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_z()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_z ( )

Default panel defined for VirtualKeyboard.

◆ multichoice_Z()

VirtualKeyboard::PanelKeys& egt::v1::multichoice_Z ( )

Default panel defined for VirtualKeyboard.

◆ operator!=() [1/7]

constexpr bool egt::v1::operator!= ( const Color lhs,
const Color rhs 
)
constexpr

Color operator.

◆ operator!=() [2/7]

constexpr bool egt::v1::operator!= ( const Flags< T > &  lhs,
const Flags< T > &  rhs 
)
constexpr

Flags operator.

◆ operator!=() [3/7]

bool EGT_API egt::v1::operator!= ( const Font lhs,
const Font rhs 
)
inline

Font operator.

◆ operator!=() [4/7]

constexpr bool egt::v1::operator!= ( const PointType< Dim, DimCompat > &  lhs,
const PointType< Dim, DimCompat > &  rhs 
)
constexprnoexcept

PointType operator.

◆ operator!=() [5/7]

constexpr bool egt::v1::operator!= ( const RectType< Dim, DimCompat > &  lhs,
const RectType< Dim, DimCompat > &  rhs 
)
constexprnoexcept

RectType operator.

◆ operator!=() [6/7]

constexpr bool egt::v1::operator!= ( const SizeType< Dim, DimCompat > &  lhs,
const SizeType< Dim, DimCompat > &  rhs 
)
constexprnoexcept

SizeType operator.

◆ operator!=() [7/7]

constexpr bool egt::v1::operator!= ( FixedVector< T, Capacity > const &  a,
FixedVector< T, Capacity > const &  b 
)
constexprnoexcept

◆ operator*() [1/7]

constexpr PointType<Dim, DimCompat> egt::v1::operator* ( PointType< Dim, DimCompat >  lhs,
const PointType< Dim, DimCompat > &  rhs 
)
constexprnoexcept

PointType operator.

◆ operator*() [2/7]

constexpr PointType<Dim, DimCompat> egt::v1::operator* ( PointType< Dim, DimCompat >  lhs,
const T &  rhs 
)
constexprnoexcept

PointType operator.

◆ operator*() [3/7]

constexpr RectType<Dim, DimCompat> egt::v1::operator* ( RectType< Dim, DimCompat >  lhs,
const PointType< Dim, DimCompat > &  rhs 
)
constexprnoexcept

RectType operator.

◆ operator*() [4/7]

constexpr RectType<Dim, DimCompat> egt::v1::operator* ( RectType< Dim, DimCompat >  lhs,
const SizeType< Dim, DimCompat > &  rhs 
)
constexprnoexcept

RectType operator.

◆ operator*() [5/7]

constexpr SizeType<Dim, DimCompat> egt::v1::operator* ( SizeType< Dim, DimCompat >  lhs,
const SizeType< Dim, DimCompat > &  rhs 
)
constexprnoexcept

SizeType operator.

◆ operator*() [6/7]

constexpr SizeType<Dim, DimCompat> egt::v1::operator* ( SizeType< Dim, DimCompat >  lhs,
const T &  rhs 
)
constexprnoexcept

SizeType operator.

◆ operator*() [7/7]

constexpr Color egt::v1::operator* ( scalar,
const Color rhs 
)
constexpr

Color operator.

◆ operator+() [1/7]

constexpr PointType<Dim, DimCompat> egt::v1::operator+ ( PointType< Dim, DimCompat >  lhs,
const PointType< Dim, DimCompat > &  rhs 
)
constexprnoexcept

PointType operator.

◆ operator+() [2/7]

constexpr PointType<Dim, DimCompat> egt::v1::operator+ ( PointType< Dim, DimCompat >  lhs,
const T &  rhs 
)
constexprnoexcept

PointType operator.

◆ operator+() [3/7]

constexpr RectType<Dim, DimCompat> egt::v1::operator+ ( RectType< Dim, DimCompat >  lhs,
const PointType< Dim, DimCompat > &  rhs 
)
constexprnoexcept

RectType operator.

◆ operator+() [4/7]

constexpr RectType<Dim, DimCompat> egt::v1::operator+ ( RectType< Dim, DimCompat >  lhs,
const SizeType< Dim, DimCompat > &  rhs 
)
constexprnoexcept

RectType operator.

◆ operator+() [5/7]

constexpr SizeType<Dim, DimCompat> egt::v1::operator+ ( SizeType< Dim, DimCompat >  lhs,
const SizeType< Dim, DimCompat > &  rhs 
)
constexprnoexcept

SizeType operator.

◆ operator+() [6/7]

constexpr SizeType<Dim, DimCompat> egt::v1::operator+ ( SizeType< Dim, DimCompat >  lhs,
const T &  rhs 
)
constexprnoexcept

SizeType operator.

◆ operator+() [7/7]

constexpr Color egt::v1::operator+ ( scalar,
const Color rhs 
)
constexpr

Color operator.

◆ operator-() [1/7]

constexpr PointType<Dim, DimCompat> egt::v1::operator- ( PointType< Dim, DimCompat >  lhs,
const PointType< Dim, DimCompat > &  rhs 
)
constexprnoexcept

PointType operator.

◆ operator-() [2/7]

constexpr PointType<Dim, DimCompat> egt::v1::operator- ( PointType< Dim, DimCompat >  lhs,
const T &  rhs 
)
constexprnoexcept

PointType operator.

◆ operator-() [3/7]

constexpr RectType<Dim, DimCompat> egt::v1::operator- ( RectType< Dim, DimCompat >  lhs,
const PointType< Dim, DimCompat > &  rhs 
)
constexprnoexcept

RectType operator.

◆ operator-() [4/7]

constexpr RectType<Dim, DimCompat> egt::v1::operator- ( RectType< Dim, DimCompat >  lhs,
const SizeType< Dim, DimCompat > &  rhs 
)
constexprnoexcept

RectType operator.

◆ operator-() [5/7]

constexpr SizeType<Dim, DimCompat> egt::v1::operator- ( SizeType< Dim, DimCompat >  lhs,
const SizeType< Dim, DimCompat > &  rhs 
)
constexprnoexcept

SizeType operator.

◆ operator-() [6/7]

constexpr SizeType<Dim, DimCompat> egt::v1::operator- ( SizeType< Dim, DimCompat >  lhs,
const T &  rhs 
)
constexprnoexcept

SizeType operator.

◆ operator-() [7/7]

constexpr Color egt::v1::operator- ( scalar,
const Color rhs 
)
constexpr

Color operator.

◆ operator/() [1/7]

constexpr PointType<Dim, DimCompat> egt::v1::operator/ ( PointType< Dim, DimCompat >  lhs,
const PointType< Dim, DimCompat > &  rhs 
)
constexprnoexcept

PointType operator.

◆ operator/() [2/7]

constexpr PointType<Dim, DimCompat> egt::v1::operator/ ( PointType< Dim, DimCompat >  lhs,
const T &  rhs 
)
constexprnoexcept

PointType operator.

◆ operator/() [3/7]

constexpr RectType<Dim, DimCompat> egt::v1::operator/ ( RectType< Dim, DimCompat >  lhs,
const PointType< Dim, DimCompat > &  rhs 
)
constexprnoexcept

RectType operator.

◆ operator/() [4/7]

constexpr RectType<Dim, DimCompat> egt::v1::operator/ ( RectType< Dim, DimCompat >  lhs,
const SizeType< Dim, DimCompat > &  rhs 
)
constexprnoexcept

RectType operator.

◆ operator/() [5/7]

constexpr SizeType<Dim, DimCompat> egt::v1::operator/ ( SizeType< Dim, DimCompat >  lhs,
const SizeType< Dim, DimCompat > &  rhs 
)
constexprnoexcept

SizeType operator.

◆ operator/() [6/7]

constexpr SizeType<Dim, DimCompat> egt::v1::operator/ ( SizeType< Dim, DimCompat >  lhs,
const T &  rhs 
)
constexprnoexcept

SizeType operator.

◆ operator/() [7/7]

constexpr Color egt::v1::operator/ ( scalar,
const Color rhs 
)
constexpr

Color operator.

◆ operator<()

constexpr bool egt::v1::operator< ( FixedVector< T, Capacity > const &  a,
FixedVector< T, Capacity > const &  b 
)
constexprnoexcept

◆ operator<<() [1/22]

EGT_API std::ostream& egt::v1::operator<< ( std::ostream &  os,
const AlignFlags align 
)

Overloaded std::ostream insertion operator.

◆ operator<<() [2/22]

std::ostream& egt::v1::operator<< ( std::ostream &  os,
const CircleType< Dim > &  circle 
)

Overloaded std::ostream insertion operator.

◆ operator<<() [3/22]

EGT_API std::ostream& egt::v1::operator<< ( std::ostream &  os,
const Color color 
)

Overloaded std::ostream insertion operator.

◆ operator<<() [4/22]

std::ostream& egt::v1::operator<< ( std::ostream &  os,
const EllipseType< Dim > &  ellipse 
)

Overloaded std::ostream insertion operator.

◆ operator<<() [5/22]

EGT_API std::ostream& egt::v1::operator<< ( std::ostream &  os,
const Event event 
)

Overloaded std::ostream insertion operator.

◆ operator<<() [6/22]

EGT_API std::ostream& egt::v1::operator<< ( std::ostream &  os,
const EventId event 
)

Overloaded std::ostream insertion operator.

◆ operator<<() [7/22]

std::ostream& egt::v1::operator<< ( std::ostream &  os,
const Flags< T > &  flags 
)

Overloaded std::ostream insertion operator.

◆ operator<<() [8/22]

EGT_API std::ostream& egt::v1::operator<< ( std::ostream &  os,
const Font font 
)

Overloaded std::ostream insertion operator

◆ operator<<() [9/22]

EGT_API std::ostream& egt::v1::operator<< ( std::ostream &  os,
const Key key 
)

Overloaded std::ostream insertion operator.

◆ operator<<() [10/22]

std::ostream& egt::v1::operator<< ( std::ostream &  os,
const LineType< Dim > &  line 
)

Overloaded std::ostream insertion operator.

◆ operator<<() [11/22]

EGT_API std::ostream& egt::v1::operator<< ( std::ostream &  os,
const Palette::ColorId color 
)

Overloaded std::ostream insertion operator.

◆ operator<<() [12/22]

EGT_API std::ostream& egt::v1::operator<< ( std::ostream &  os,
const Palette::GroupId group 
)

Overloaded std::ostream insertion operator.

◆ operator<<() [13/22]

EGT_API std::ostream& egt::v1::operator<< ( std::ostream &  os,
const PixelFormat format 
)

Overloaded std::ostream insertion operator.

◆ operator<<() [14/22]

EGT_API std::ostream& egt::v1::operator<< ( std::ostream &  os,
const Pointer pointer 
)

Overloaded std::ostream insertion operator.

◆ operator<<() [15/22]

EGT_API std::ostream& egt::v1::operator<< ( std::ostream &  os,
const Pointer::Button btn 
)

Overloaded std::ostream insertion operator.

◆ operator<<() [16/22]

std::ostream& egt::v1::operator<< ( std::ostream &  os,
const PointType< Dim, DimCompat > &  point 
)

Overloaded std::ostream insertion operator.

◆ operator<<() [17/22]

std::ostream& egt::v1::operator<< ( std::ostream &  os,
const RectType< Dim, DimCompat > &  rect 
)

Overloaded std::ostream insertion operator.

◆ operator<<() [18/22]

EGT_API std::ostream& egt::v1::operator<< ( std::ostream &  os,
const SideBoard::PositionFlag flag 
)

Overloaded std::ostream insertion operator.

◆ operator<<() [19/22]

std::ostream& egt::v1::operator<< ( std::ostream &  os,
const SizeType< Dim, DimCompat > &  size 
)

Overloaded std::ostream insertion operator.

◆ operator<<() [20/22]

EGT_API std::ostream& egt::v1::operator<< ( std::ostream &  os,
const Widget::Flag flag 
)

Overloaded std::ostream insertion operator.

◆ operator<<() [21/22]

EGT_API std::ostream& egt::v1::operator<< ( std::ostream &  os,
const Widget::Flags flags 
)

Overloaded std::ostream insertion operator.

◆ operator<<() [22/22]

EGT_API std::ostream& egt::v1::operator<< ( std::ostream &  os,
const WindowHint hint 
)

Overloaded std::ostream insertion operator.

◆ operator<=()

constexpr bool egt::v1::operator<= ( FixedVector< T, Capacity > const &  a,
FixedVector< T, Capacity > const &  b 
)
constexprnoexcept

◆ operator==() [1/9]

constexpr bool egt::v1::operator== ( const Color lhs,
const Color rhs 
)
constexpr

Color operator.

◆ operator==() [2/9]

constexpr bool egt::v1::operator== ( const Flags< T > &  lhs,
const Flags< T > &  rhs 
)
constexpr

Flags operator.

◆ operator==() [3/9]

bool EGT_API egt::v1::operator== ( const Font lhs,
const Font rhs 
)
inline

Font operator.

◆ operator==() [4/9]

constexpr bool egt::v1::operator== ( const PointType< Dim, DimCompat > &  lhs,
const PointType< Dim, DimCompat > &  rhs 
)
constexprnoexcept

PointType operator.

◆ operator==() [5/9]

constexpr bool egt::v1::operator== ( const PointType< float, DimCompat > &  lhs,
const PointType< float, DimCompat > &  rhs 
)
constexpr

PointType operator.

◆ operator==() [6/9]

constexpr bool egt::v1::operator== ( const RectType< Dim, DimCompat > &  lhs,
const RectType< Dim, DimCompat > &  rhs 
)
constexprnoexcept

RectType operator.

◆ operator==() [7/9]

constexpr bool egt::v1::operator== ( const SizeType< Dim, DimCompat > &  lhs,
const SizeType< Dim, DimCompat > &  rhs 
)
constexprnoexcept

SizeType operator.

◆ operator==() [8/9]

constexpr bool egt::v1::operator== ( const SizeType< float, DimCompat > &  lhs,
const SizeType< float, DimCompat > &  rhs 
)
constexpr

SizeType operator.

◆ operator==() [9/9]

constexpr bool egt::v1::operator== ( FixedVector< T, Capacity > const &  a,
FixedVector< T, Capacity > const &  b 
)
constexprnoexcept

◆ operator>()

constexpr bool egt::v1::operator> ( FixedVector< T, Capacity > const &  a,
FixedVector< T, Capacity > const &  b 
)
constexprnoexcept

◆ operator>=()

constexpr bool egt::v1::operator>= ( FixedVector< T, Capacity > const &  a,
FixedVector< T, Capacity > const &  b 
)
constexprnoexcept

◆ operator|()

AlignFlags egt::v1::operator| ( AlignFlag  lhs,
AlignFlag  rhs 
)
inline

AlignFlags operator.

◆ popup_virtual_keyboard()

PopupVirtualKeyboard*& egt::v1::popup_virtual_keyboard ( )

Get a pointer to the popup virtual keyboard.

◆ QwertyLettersLowerCase()

VirtualKeyboard::PanelKeys& egt::v1::QwertyLettersLowerCase ( )

Default panel defined for VirtualKeyboard.

◆ QwertyLettersUpperCase()

VirtualKeyboard::PanelKeys& egt::v1::QwertyLettersUpperCase ( )

Default panel defined for VirtualKeyboard.

◆ QwertySymbols1()

VirtualKeyboard::PanelKeys& egt::v1::QwertySymbols1 ( )

Default panel defined for VirtualKeyboard.

◆ QwertySymbols2()

VirtualKeyboard::PanelKeys& egt::v1::QwertySymbols2 ( )

Default panel defined for VirtualKeyboard.

◆ resolve_file_path()

EGT_API std::string egt::v1::resolve_file_path ( const std::string &  filename)

Given a file path, try to find it related to any added search paths.

Returns
The full path to the file if found, or a path to a file that doesn't exist.
See also
File Paths

◆ right() [1/3]

const std::shared_ptr<T>& egt::v1::right ( const std::shared_ptr< T > &  widget)

Helper to set alignment of a widget.

◆ right() [2/3]

std::shared_ptr<T>& egt::v1::right ( std::shared_ptr< T > &  widget)

Helper to set alignment of a widget.

◆ right() [3/3]

T& egt::v1::right ( T &  widget)

Helper to set alignment of a widget.

◆ top() [1/3]

const std::shared_ptr<T>& egt::v1::top ( const std::shared_ptr< T > &  widget)

Helper to set alignment of a widget.

◆ top() [2/3]

std::shared_ptr<T>& egt::v1::top ( std::shared_ptr< T > &  widget)

Helper to set alignment of a widget.

◆ top() [3/3]

T& egt::v1::top ( T &  widget)

Helper to set alignment of a widget.