types.h File Reference


Detailed Description

Basic omgui types.

Date:
Crated: 2005-04-05

#include <stddef.h>
#include <omgui/dllimpexp.h>
#include <omgui/refcount.h>
#include <omgui/api-prototypes.h>
#include <string>
#include <sstream>
#include <list>

Go to the source code of this file.

Namespaces

namespace  omgui

Classes

struct  omgui::Point
 Class representing a point using floating point values. More...
struct  omgui::Rect
 Data structure representing a rectangle, which is composed of an origin position and a size. More...
struct  omgui::Size
 Data structure representing a size using floating point values. More...
struct  omgui::TextRange

Defines

#define OMGUI_STR(s)   s

Typedefs

typedef std::list< Pointer
< omgui::Widget > > 
omgui::ChildList
typedef int omgui::event_id
 event identifier
typedef unsigned short omgui::menu_id
typedef Pointer< Panel > omgui::NotebookPage
typedef int omgui::object_id
typedef std::string omgui::string
typedef std::stringstream omgui::stringstream
typedef int omgui::text_range_t

Enumerations

enum  omgui::LAYOUT_FLAGS {
  omgui::ALIGN_LEFT = 0x01, omgui::ALIGN_RIGHT = 0x02, omgui::ALIGN_CENTER_HORIZONTAL = 0x04, omgui::ALIGN_TOP = 0x08,
  omgui::ALIGN_BOTTOM = 0x10, omgui::ALIGN_CENTER_VERTICAL = 0x20, omgui::ALIGN_CENTER = ALIGN_CENTER_HORIZONTAL | ALIGN_CENTER_VERTICAL, omgui::EXPAND_HORIZONTAL = 0x40,
  omgui::EXPAND_VERTICAL = 0x80, omgui::EXPAND_BOTH = EXPAND_HORIZONTAL | EXPAND_VERTICAL
}
 Flags controlling the placement of the Widget within the layout. These flags are used by TableLayoutInfo and TableLayout. More...

Functions

omgui::Size operator* (const omgui::Size &l, float f)
omgui::Point operator+ (const omgui::Point &l, const omgui::Point &r)
omgui::Size operator+ (const omgui::Size &l, const omgui::Size &r)
omgui::Point operator- (const omgui::Point &l, const omgui::Point &r)
omgui::Size operator- (const omgui::Size &l, const omgui::Size &r)
omgui::Size operator/ (const omgui::Size &l, float f)

Variables

const object_id omgui::OBJECT_ID_ANY = 0


Define Documentation

#define OMGUI_STR (  )     s

Used for string literals, this macro will prepend L to the string literal when OMGUI_WIDECHARS is defined. Otherwise, it simply evaluates to the string literal.

See also:
stringspage


Function Documentation

omgui::Size operator* ( const omgui::Size l,
float  f 
) [inline]

omgui::Point operator+ ( const omgui::Point l,
const omgui::Point r 
) [inline]

omgui::Size operator+ ( const omgui::Size l,
const omgui::Size r 
) [inline]

omgui::Point operator- ( const omgui::Point l,
const omgui::Point r 
) [inline]

omgui::Size operator- ( const omgui::Size l,
const omgui::Size r 
) [inline]

omgui::Size operator/ ( const omgui::Size l,
float  f 
) [inline]


doxygen SourceForge.net Logo