Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
enwidgets.c File Reference

Go to the source code of this file.

Data Structures

class  WorkspaceWidget
 
class  Widget
 
class  TextWidget
 
class  TextWidget
 
class  Widget
 
class  Widget
 
class  Widget
 
class  TextWidget
 
class  Widget
 
class  Widget
 
class  UIWidget
 
class  EditBoxWidget
 
class  UIWidget
 
class  UIWidget
 
class  SimpleProgressBarWidget
 
class  UIWidget
 
class  UIWidget
 
class  UIWidget
 
class  UIWidget
 
class  BaseListboxWidget
 
class  SimpleListboxWidget
 
class  UIWidget
 
class  SpacerWidget
 
class  Widget
 
class  ScriptedWidgetEventHandler
 map: item x vector(index, width, height) More...
 

Typedefs

typedef TypeID WidgetType
 
typedef TypeID EventType
 

Enumerations

enum  WidgetFlags {
  SOURCEALPHA, BLEND, ADDITIVE, VISIBLE,
  NOWRAP, CENTER, VCENTER, HEXACTPOS,
  VEXACTPOS, EXACTPOS, HEXACTSIZE, VEXACTSIZE,
  EXACTSIZE, NOFILTER, RALIGN, STRETCH,
  FLIPU, FLIPV, CUSTOMUV, IGNOREPOINTER,
  DISABLED, NOFOCUS, CLIPCHILDREN, RENDER_ALWAYS,
  NOCLEAR, DRAGGABLE
}
 
enum  WidgetAlignment
 
enum  VideoCommand {
  PLAY, STOP, REWIND, POSITION,
  REPEAT, ISPLAYING, KILL
}
 Legacy, do not use. More...
 
enum  VideoState {
  NONE, PLAYING, PAUSED, STOPPED,
  FINISHED
}
 
enum  VideoCallback {
  ON_PLAY, ON_PAUSE, ON_STOP, ON_END,
  ON_LOAD, ON_SEEK, ON_BUFFERING_START, ON_BUFFERING_END
}
 
enum  ControlID {
  CID_NONE = 0, CID_SELECT = 1, CID_BACK, CID_LEFT,
  CID_RIGHT, CID_UP, CID_DOWN, CID_MENU,
  CID_DRAG, CID_TABLEFT, CID_TABRIGHT, CID_RADIALMENU,
  CID_COUNT
}
 

Functions

proto native owned string GetName ()
 
proto native void SetName (string name)
 
proto native owned string GetTypeName ()
 
proto native WidgetType GetTypeID ()
 
proto native void Show (bool show, bool immedUpdate=true)
 
proto native void Enable (bool enable)
 
proto native int GetFlags ()
 
proto native int SetFlags (int flags, bool immedUpdate=true)
 
proto native int GetSort ()
 
proto native void SetSort (int sort, bool immedUpdate=true)
 
proto native int ClearFlags (int flags, bool immedUpdate=true)
 
proto native bool IsControlClass ()
 
proto native owned string GetStyleName ()
 
proto void GetUserData (out Class data)
 
proto native void SetUserData (Class data)
 
proto native int GetUserID ()
 
proto native void SetUserID (int id)
 
proto native bool IsVisible ()
 
proto native bool IsVisibleHierarchy ()
 
proto native void SetPos (float x, float y, bool immedUpdate=true)
 
proto native void SetSize (float w, float h, bool immedUpdate=true)
 
proto native void SetScreenPos (float x, float y, bool immedUpdate=true)
 
proto native void SetScreenSize (float w, float h, bool immedUpdate=true)
 
proto native void SetColor (int color)
 
proto native int GetColor ()
 
proto native void SetRotation (float roll, float pitch, float yaw, bool immedUpdate=true)
 
proto native vector GetRotation ()
 returns rotation of widget in order roll, pitch, yaw More...
 
proto native void SetAlpha (float alpha)
 
proto native float GetAlpha ()
 
proto void GetPos (out float x, out float y)
 
proto void GetSize (out float width, out float height)
 
proto void GetScreenPos (out float x, out float y)
 
proto void GetScreenSize (out float width, out float height)
 
proto native void SetTransform (vector mat[4], bool immedUpdate=true)
 
proto native Widget GetParent ()
 Get parent of the Effect. More...
 
proto native Widget GetChildren ()
 
proto native Widget GetSibling ()
 
proto native void AddChild (Widget child, bool immedUpdate=true)
 
proto native void RemoveChild (Widget child)
 
proto native volatile void Update ()
 
proto void GetScript (out Class data)
 
proto native Widget FindWidget (string pathname)
 
proto native Widget FindAnyWidget (string pathname)
 
proto native Widget FindAnyWidgetById (int user_id)
 
proto native void SetHandler (ScriptedWidgetEventHandler eventHandler)
 
proto native void Unlink ()
 
proto native Widget GetWidgetUnderCursor ()
 
proto native Widget CancelWidgetDragging ()
 
proto native Widget GetDragWidget ()
 
proto native void ReportMouse (int mousex, int mousey, Widget rootWidget)
 
class SpacerBaseWidget extends UIWidget GetContentAlignmentH ()
 
proto native void AddChildAfter (Widget child, Widget after, bool immedUpdate=true)
 
proto native void SetContentAlignmentH (WidgetAlignment alignment)
 
proto native WidgetAlignment GetContentAlignmentV ()
 
proto native void SetContentAlignmentV (WidgetAlignment alignment)
 
proto native bool IsScrollbarVisible ()
 
proto native float GetContentWidth ()
 
proto native float GetContentHeight ()
 
proto native float GetHScrollPos ()
 
proto native float GetHScrollPos01 ()
 
proto native bool HScrollStep (int steps)
 
proto native void HScrollToPos (float pos)
 
proto native void HScrollToPos01 (float pos01)
 
proto native void HScrollToWidget (Widget child)
 
proto native float GetVScrollPos ()
 
proto native float GetVScrollPos01 ()
 
proto native bool VScrollStep (int steps)
 
proto native void VScrollToPos (float pos)
 
proto native void VScrollToPos01 (float pos01)
 
proto native void VScrollToWidget (Widget child)
 
proto native void SetGUIWidget (IEntity ent, int index, RTTextureWidget w)
 
proto native void SetCursorWidget (Widget cursor)
 
proto native void ShowCursorWidget (bool show)
 direct mouse cursor visibility control More...
 
proto native bool LoadWidgetImageSet (string filename)
 
proto native void LoadWidgetStyles (string filename)
 
proto native bool SetActiveWindow (Widget w, bool resetFocus)
 
proto native void SetFocus (Widget w)
 
proto native void SetModal (Widget w)
 
proto native Widget GetFocus ()
 
proto native void SetWidgetWorld (RenderTargetWidget w, IEntity wrldEntity, int camera)
 
proto native bool ReloadTexture (string path)
 

Variables

 WA_LEFT = 0
 
 WA_RIGHT = 1
 
 WA_CENTER = 2
 
 WA_TOP = 0
 
 WA_BOTTOM = 1
 
WorkspaceWidget Widget ()
 Defined in code. More...
 
enum VideoCommand GetScrollbarWidth