Planeshift
Classes | Defines | Enumerations

pawswidget.h File Reference

#include <ivideo/graph2d.h>
#include <csutil/array.h>
#include <csutil/csstring.h>
#include <csgeom/csrectrg.h>
#include <csgeom/vector2.h>
#include <iutil/document.h>
#include "pawsmanager.h"
#include "util/scriptvar.h"

Go to the source code of this file.

Classes

class  pawsWidget::iWidgetData
 A class that can be inherited to store extra data in a widget. More...
class  pawsBaseWidgetFactory
class  pawsWidget
 The main base widget that all other widgets should inherit from. More...
class  pawsWidgetFactory

Defines

#define ATTACH_BOTTOM   8
#define ATTACH_LEFT   2
#define ATTACH_RIGHT   4
#define ATTACH_TOP   16
#define BORDER_BUMP   (BORDER_OUTER_BEVEL)
#define BORDER_ETCHED   (BORDER_REVERSED|BORDER_RAISED)
#define BORDER_INNER_BEVEL   0x1
#define BORDER_OUTER_BEVEL   0x2
#define BORDER_RAISED   (BORDER_INNER_BEVEL|BORDER_OUTER_BEVEL)
#define BORDER_REVERSED   0x4
#define BORDER_SUNKEN   (BORDER_REVERSED|BORDER_OUTER_BEVEL)
#define CREATE_PAWS_FACTORY(factoryName)
#define DEFAULT_FONT_SIZE   12
#define DEFAULT_FONT_STYLE   0
#define DEFAULT_MIN_HEIGHT   5
#define DEFAULT_MIN_WIDTH   5
#define FONT_STYLE_BOLD   2
#define FONT_STYLE_DROPSHADOW   1
#define PROPORTIONAL_BOTTOM   256
#define PROPORTIONAL_LEFT   32
#define PROPORTIONAL_RIGHT   64
#define PROPORTIONAL_TOP   128
#define RESIZE_BOTTOM   16
#define RESIZE_LEFT   2
#define RESIZE_RIGHT   4
#define RESIZE_TOP   8
#define SCROLL_AUTO   -4000
#define SCROLL_DOWN   -2000
#define SCROLL_SET   -5000
#define SCROLL_THUMB   -3000
#define SCROLL_UP   -1000

Enumerations

enum  { ALIGN_LEFT, ALIGN_CENTER, ALIGN_RIGHT }
enum  PAWS_WIDGET_SCRIPT_EVENTS {
  PW_SCRIPT_EVENT_SHOW = 0, PW_SCRIPT_EVENT_HIDE, PW_SCRIPT_EVENT_MOUSEDOWN, PW_SCRIPT_EVENT_MOUSEUP,
  PW_SCRIPT_EVENT_VALUECHANGED, PW_SCRIPT_EVENT_COUNT
}