![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Data Structures | |
| class | BaseListboxWidget |
| class | EditBoxWidget |
| class | ScriptedWidgetEventHandler |
| map: item x vector(index, width, height) More... | |
| class | SimpleListboxWidget |
| class | SimpleProgressBarWidget |
| class | SpacerWidget |
| class | TextWidget |
| class | UIWidget |
| class | Widget |
| class | WorkspaceWidget |
Typedefs | |
| typedef TypeID | EventType |
| typedef TypeID | WidgetType |
Enumerations | |
| 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 } |
| enum | VideoCallback { ON_PLAY , ON_PAUSE , ON_STOP , ON_END , ON_LOAD , ON_SEEK , ON_BUFFERING_START , ON_BUFFERING_END , ON_ERROR } |
| enum | VideoCommand { PLAY , STOP , REWIND , POSITION , REPEAT , ISPLAYING , KILL } |
| Legacy, do not use. More... | |
| enum | VideoState { NONE , PLAYING , PAUSED , STOPPED , FINISHED } |
| enum | WidgetAlignment |
| enum | WidgetFlags { SOURCEALPHA , BLEND , ADDITIVE , VISIBLE , NOWRAP , CENTER , VCENTER , HEXACTPOS , VEXACTPOS , EXACTPOS , HEXACTSIZE , VEXACTSIZE , EXACTSIZE , NOFILTER , RALIGN , STRETCH , FLIPU , FLIPV , CUSTOMUV , IGNOREPOINTER , DISABLED = 0 , NOFOCUS , CLIPCHILDREN , RENDER_ALWAYS , NOCLEAR , DRAGGABLE } |
Functions | |
| proto native void | AddChild (Widget child, bool immedUpdate=true) |
| proto native void | AddChildAfter (Widget child, Widget after, bool immedUpdate=true) |
| proto native void | AddChildAfter (Widget child, Widget after, bool immedUpdate=true) |
| proto native int | AddItem (string text, Class userData, int column, int row=-1) |
| Insert new Row, if row = -1, new Row is inserted at the end otherwise at row index. | |
| proto native int | AddItem (string item) |
| proto native Widget | CancelWidgetDragging () |
| proto native void | Clear () |
| proto native void | ClearAll () |
| proto native int | ClearFlags (int flags, bool immedUpdate=true) |
| proto native void | ClearItems () |
| proto native external Widget | CreateWidget (WidgetType type, int left, int top, int width, int height, WidgetFlags flags, int color, int sort, Widget parentWidget=NULL) |
| Create widgets by WidgetType. | |
| proto native external Widget | CreateWidgets (string layout, Widget parentWidget=NULL, bool immedUpdate=true) |
| Create widgets from *.layout file. | |
| proto native void | DisableSubtitles (bool disable) |
| Enable/Disable subtitles. | |
| proto native void | DrawLine (float x1, float y1, float x2, float y2, float width, int color) |
| proto native void | ElideText (int line, float maxWidth, string str) |
| proto native void | Enable (bool enable) |
| proto native void | EnsureVisible (int row) |
| proto native Widget | FindAnyWidget (string pathname) |
| proto native Widget | FindAnyWidgetById (int user_id) |
| proto native Widget | FindWidget (string pathname) |
| proto native float | GetAlpha () |
| proto native bool | GetBold () |
| proto native int | GetCarriageLine () |
| proto native int | GetCarriagePos () |
| proto native Widget | GetChildren () |
| proto native int | GetColor () |
| class SpacerBaseWidget extends UIWidget | GetContentAlignmentH () |
| proto native WidgetAlignment | GetContentAlignmentV () |
| proto native float | GetContentHeight () |
| proto native float | GetContentHeight () |
| proto native float | GetContentOffset () |
| proto native float | GetContentWidth () |
| proto native float | GetCurrent () |
| proto native int | GetCurrentItem () |
| proto native Widget | GetDragWidget () |
| proto native int | GetFlags () |
| proto native Widget | GetFocus () |
| proto native float | GetHScrollPos () |
| proto native float | GetHScrollPos01 () |
| proto native int | GetImage () |
| Returns active image. | |
| proto void | GetImageSize (int image, out int sx, out int sy) |
| returns size of image | |
| proto native bool | GetItalic () |
| proto void | GetItemData (int row, int column, out Class data) |
| proto bool | GetItemText (int row, int column, out string text) |
| Get item. | |
| proto void | GetLine (int line, out string text) |
| proto native int | GetLinesCount () |
| proto native float | GetLineWidth (int line) |
| proto native float | GetMaskProgress () |
| Progress determines which alpha values are opaque using the mask. | |
| proto native float | GetMaskTransitionWidth () |
| Transition width 0.1 and progress 0.2 mean that values in mask lower than progress will be opaque. | |
| proto native float | GetMax () |
| proto native float | GetMin () |
| proto native owned string | GetName () |
| Test name getter. Strictly for UI porposes! | |
| proto native int | GetNumItems () |
| proto native int | GetNumLines () |
| proto native int | GetOutlineColor () |
| proto native int | GetOutlineSize () |
| proto native Widget | GetParent () |
| Get parent of the Effect. | |
| proto void | GetPos (out float x, out float y) |
| proto native vector | GetRotation () |
| returns rotation of widget in order roll, pitch, yaw | |
| proto void | GetScreenPos (out float x, out float y) |
| proto void | GetScreenSize (out float width, out float height) |
| proto void | GetScript (out Class data) |
| proto native int | GetSelectedRow () |
| proto native int | GetShadowColor () |
| proto void | GetShadowOffset (out float sx, out float sy) |
| proto native float | GetShadowOpacity () |
| proto native int | GetShadowSize () |
| proto native Widget | GetSibling () |
| proto void | GetSize (out float width, out float height) |
| proto native int | GetSort () |
| ADDS the value to the existing flag. | |
| proto native bool | GetState () |
| proto native VideoState | GetState () |
| Get the current state of the video. | |
| proto native float | GetStep () |
| proto native owned string | GetStyleName () |
| proto void | GetText (out string text) |
| proto string | GetText () |
| proto void | GetText (out string text) |
| proto native bool | GetTextBold () |
| proto native bool | GetTextItalic () |
| proto native int | GetTextOutlineColor () |
| proto native int | GetTextOutlineSize () |
| proto native float | GetTextProportion () |
| Get text proportion - ratio between button height and button text height in interval <0,1>. | |
| proto native float | GetTextProportion () |
| Get text proportion - ratio between button height and button text height in interval <0,1>. | |
| proto native int | GetTextShadowColor () |
| proto native float | GetTextShadowOffsetX () |
| proto native float | GetTextShadowOffsetY () |
| proto native float | GetTextShadowOpacity () |
| proto native int | GetTextShadowSize () |
| proto void | GetTextSize (out int sx, out int sy) |
| Returns text size in pixels. | |
| proto native int | GetTime () |
| Get the current time of the video. | |
| proto native int | GetTotalTime () |
| Get the total time of the video. | |
| proto native WidgetType | GetTypeID () |
| proto native owned string | GetTypeName () |
| proto void | GetUserData (out Class data) |
| proto native int | GetUserID () |
| proto native float | GetVScrollPos () |
| proto native float | GetVScrollPos01 () |
| proto native Widget | GetWidgetUnderCursor () |
| 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 bool | IsChecked () |
| proto native bool | IsControlClass () |
| SUBSTRACTS the value to the existing flag. | |
| proto native bool | IsLooping () |
| Whether looping is enabled. | |
| proto native bool | IsPlaying () |
| QoL direct method to check for playing state (buffering while playing will still return true). | |
| proto native bool | IsScrollbarVisible () |
| proto native bool | IsSubtitlesDisabled () |
| Check if subtitles are disabled (enabled by default if available, so it will return false even if there are none). | |
| proto native bool | IsVisible () |
| proto native bool | IsVisibleHierarchy () |
| proto native bool | Load (string name, bool looping=false, int startTime=0) |
| Load a video file Return is deprecated, treat as void and use 'VideoCallback.ON_ERROR'. | |
| proto native bool | LoadImageFile (int num, string name, bool noCache=false) |
| Loads image. | |
| proto native bool | LoadMaskTexture (string resource) |
| Loads texture as mask used for alpha masking. | |
| bool | LoadVideo (string name, int soundScene) |
| Legacy, preferably not used, left for backwards compat. | |
| proto native bool | LoadWidgetImageSet (string filename) |
| proto native void | LoadWidgetStyles (string filename) |
| bool | OnChange (Widget w, int x, int y, bool finished) |
| bool | OnChildAdd (Widget w, Widget child) |
| bool | OnChildRemove (Widget w, Widget child) |
| bool | OnClick (Widget w, int x, int y, int button) |
| bool | OnController (Widget w, int control, int value) |
| control is one of ControlID | |
| bool | OnDoubleClick (Widget w, int x, int y, int button) |
| bool | OnDrag (Widget w, int x, int y) |
| bool | OnDragging (Widget w, int x, int y, Widget reciever) |
| bool | OnDraggingOver (Widget w, int x, int y, Widget reciever) |
| bool | OnDrop (Widget w, int x, int y, Widget reciever) |
| bool | OnDropReceived (Widget w, int x, int y, Widget reciever) |
| bool | OnEvent (EventType eventType, Widget target, int parameter0, int parameter1) |
| bool | OnFocus (Widget w, int x, int y) |
| bool | OnFocusLost (Widget w, int x, int y) |
| bool | OnItemSelected (Widget w, int x, int y, int row, int column, int oldRow, int oldColumn) |
| bool | OnKeyDown (Widget w, int x, int y, int key) |
| bool | OnKeyPress (Widget w, int x, int y, int key) |
| bool | OnKeyUp (Widget w, int x, int y, int key) |
| bool | OnModalResult (Widget w, int x, int y, int code, int result) |
| bool | OnMouseButtonDown (Widget w, int x, int y, int button) |
| bool | OnMouseButtonUp (Widget w, int x, int y, int button) |
| bool | OnMouseEnter (Widget w, int x, int y) |
| bool | OnMouseLeave (Widget w, Widget enterW, int x, int y) |
| bool | OnMouseWheel (Widget w, int x, int y, int wheel) |
| bool | OnResize (Widget w, int x, int y) |
| bool | OnSelect (Widget w, int x, int y) |
| bool | OnUpdate (Widget w) |
| proto native bool | Pause () |
| Pauses video playback Return is deprecated, treat as void and use 'VideoCallback.ON_ERROR'. | |
| proto native bool | Play () |
| Starts video playback Return is deprecated, treat as void and use 'VideoCallback.ON_ERROR'. | |
| int | Play (VideoCommand cmd) |
| Legacy, preferably not used, left for backwards compat. | |
| proto native bool | ReloadTexture (string path) |
| proto native void | RemoveChild (Widget child) |
| proto native void | RemoveItem (int item) |
| proto native void | RemoveRow (int row) |
| proto native void | ReportMouse (int mousex, int mousey, Widget rootWidget) |
| proto native void | SelectRow (int row) |
| proto native bool | SetActiveWindow (Widget w, bool resetFocus) |
| proto native void | SetAlpha (float alpha) |
| proto native void | SetBold (bool bold) |
| proto void | SetCallback (VideoCallback cb, func fn) |
| Set a callback for a certain video event. | |
| proto native void | SetChecked (bool checked) |
| proto native void | SetColor (int color) |
| proto native void | SetContentAlignmentH (WidgetAlignment alignment) |
| proto native void | SetContentAlignmentV (WidgetAlignment alignment) |
| proto native void | SetContentOffset (float offset, bool snapToLine=false) |
| proto native void | SetCurrent (float curr) |
| proto native int | SetCurrentItem (int n) |
| proto native void | SetCursorWidget (Widget cursor) |
| proto native int | SetFlags (int flags, bool immedUpdate=true) |
| proto native void | SetFocus (Widget w) |
| proto native void | SetGUIWidget (IEntity ent, int index, RTTextureWidget w) |
| sets Widget typu RTTextureWidgetTypeID, to which it is possible to reference in shader as $rendertarget it is posible to use only after object selection. | |
| proto native void | SetHandler (ScriptedWidgetEventHandler eventHandler) |
| proto native void | SetHideText (bool hide) |
| proto native bool | SetImage (int num) |
| Switches to another image, if it's loaded. | |
| proto native void | SetImageTexture (int image, RTTextureWidget texture) |
| proto native void | SetItalic (bool italic) |
| proto native void | SetItem (int position, string text, Class userData, int column) |
| proto native void | SetItem (int item, string value) |
| proto native void | SetItemColor (int row, int column, int color) |
| proto native void | SetLine (int line, string text) |
| proto native float | SetLineBreakingOverride (int mode) |
| proto native void | SetLinesVisibility (int lineFrom, int lineTo, bool visible) |
| proto native void | SetLooping (bool looping) |
| Set whether the video should loop. | |
| static proto void | SetLV (float lv) |
| Set global LV of widgets, value between [-15, 0], default: 0, lower value is less bright. | |
| proto native void | SetMaskProgress (float value) |
| See GetMaskProgress for explanation. | |
| proto native void | SetMaskTransitionWidth (float value) |
| See GetMaskTransitionWidth for transition width explanation. | |
| proto native void | SetMinMax (float minimum, float maximum) |
| proto native void | SetModal (Widget w) |
| proto native void | SetName (string name) |
| static proto void | SetObjectLighting (float lighting) |
| Set global lighting of objects in widgets, value between [0, 1], default: 1, lower value is less bright. | |
| proto native void | SetOutline (int outlineSize, int argb=0xFF000000) |
| proto native void | SetPos (float x, float y, bool immedUpdate=true) |
| proto native void | SetRefresh (int period, int offset) |
| when period > 1 then every n-th frame will be rendered. Offset is initial counter. | |
| proto native void | SetResolutionScale (float xscale, float ycale) |
| proto native void | SetRotation (float roll, float pitch, float yaw, 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 | SetShadow (int shadowSize, int shadowARGB=0xFF000000, float shadowOpacity=1, float shadowOffsetX=0, float shadowOffsetY=0) |
| proto native void | SetSize (float w, float h, bool immedUpdate=true) |
| proto native void | SetSort (int sort, bool immedUpdate=true) |
| proto native bool | SetState (bool state) |
| proto native void | SetStep (float step) |
| proto native void | SetText (string str) |
| proto native void | SetText (string text, bool immedUpdate=true) |
| proto native void | SetTextBold (bool bold) |
| proto native void | SetTextColor (int color) |
| proto native void | SetTextExactSize (int size) |
| set text exact size. Exact Text flag must be enabled. 0 equals original size. | |
| proto void | SetTextFormat (string text, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL) |
| proto native void | SetTextHorizontalAlignment (int align) |
| proto native void | SetTextItalic (bool italic) |
| static proto void | SetTextLV (float lv) |
| Set global LV of the text in widgets, value between [-15, 0], default: 0, lower value is less bright. | |
| proto native void | SetTextOffset (float xoffset, float yoffset) |
| proto native void | SetTextOffset (int left, int top) |
| proto native void | SetTextOutline (int outlineSize, int argb=0xFF000000) |
| proto native void | SetTextProportion (float val) |
| Set text proportion - ratio between button height and button text height in interval <0,1>. | |
| proto native void | SetTextProportion (float val) |
| Set text proportion - ratio between button height and button text height in interval <0,1>. | |
| proto native void | SetTextShadow (int shadowSize, int shadowARGB=0xFF000000, float shadowOpacity=1.0, float shadowOffsetX=0.0, float shadowOffsetY=0.0) |
| proto native void | SetTextSpacing (int horiz, int vert) |
| proto native void | SetTextVerticalAlignment (int align) |
| proto native bool | SetTime (int time, bool preload) |
| Set the desired time for the video (preload decides whether it will already load the next frames too) Return is deprecated, treat as void and use 'VideoCallback.ON_ERROR'. | |
| proto native void | SetTransform (vector mat[4], bool immedUpdate=true) |
| proto native void | SetUserData (Class data) |
| proto native void | SetUserID (int id) |
| proto native void | SetUV (float uv[4][2]) |
| When WF_CUSTOMUV is set, we can supply our own UV coords instead of computed ones. | |
| proto native void | SetWidgetWorld (RenderTargetWidget w, IEntity wrldEntity, int camera) |
| proto native void | Show (bool show, bool immedUpdate=true) |
| proto native void | ShowCursorWidget (bool show) |
| direct mouse cursor visibility control | |
| proto native bool | Stop () |
| Stop video playback (cancels everything and sets it back at time 0) Return is deprecated, treat as void and use 'VideoCallback.ON_ERROR'. | |
| static proto string | TranslateString (string stringId) |
| proto native void | Unlink () |
| proto native void | Unload () |
| Unload the video, freeing up all resources. | |
| proto native volatile void | Update () |
| proto native bool | VScrollStep (int steps) |
| proto native void | VScrollToPos (float pos) |
| proto native void | VScrollToPos01 (float pos01) |
| proto native void | VScrollToWidget (Widget child) |
Variables | |
| enum VideoCommand | GetScrollbarWidth |
| WA_BOTTOM = 1 | |
| WA_CENTER = 2 | |
| WA_LEFT = 0 | |
| WA_RIGHT = 1 | |
| WA_TOP = 0 | |
| WorkspaceWidget | Widget () |
| Defined in code. | |
Definition at line 55 of file enwidgets.c.
| typedef TypeID WidgetType |
Definition at line 52 of file enwidgets.c.
|
private |
| Enumerator | |
|---|---|
| CID_NONE | |
| CID_SELECT | |
| CID_BACK | |
| CID_LEFT | |
| CID_RIGHT | |
| CID_UP | |
| CID_DOWN | |
| CID_MENU | |
| CID_DRAG | |
| CID_TABLEFT | |
| CID_TABRIGHT | |
| CID_RADIALMENU | |
| CID_COUNT | |
Definition at line 639 of file enwidgets.c.
|
private |
| Enumerator | |
|---|---|
| ON_PLAY | |
| ON_PAUSE | |
| ON_STOP | |
| ON_END | |
| ON_LOAD | |
| ON_SEEK | |
| ON_BUFFERING_START | |
| ON_BUFFERING_END | |
| ON_ERROR | |
Definition at line 530 of file enwidgets.c.
|
private |
Legacy, do not use.
| Enumerator | |
|---|---|
| PLAY | |
| STOP | |
| REWIND | |
| POSITION | |
| REPEAT | |
| ISPLAYING | |
| KILL | |
Definition at line 505 of file enwidgets.c.
|
private |
Definition at line 516 of file enwidgets.c.
| enum WidgetAlignment |
Definition at line 88 of file enwidgets.c.
| enum WidgetFlags |
Definition at line 57 of file enwidgets.c.
Insert new Row, if row = -1, new Row is inserted at the end otherwise at row index.
|
private |
|
private |
|
private |
Referenced by EEKilled(), Ammo_40mm_Explosive::OnDamageDestroyed(), and Grenade_ChemGas::OnDamageDestroyed().
|
private |
|
private |
Create widgets by WidgetType.
|
private |
Create widgets from *.layout file.
Referenced by CGame::CreateTitleScreen().
|
private |
Enable/Disable subtitles.
|
private |
Referenced by DrawConnectingLines(), and UIScriptedMenu::DrawConnectingLines().
|
private |
Referenced by OptionSelectorBase::OptionSelector().
|
private |
Referenced by ClosableHeader::ClosableHeader(), Header::Header(), Icon::Icon(), SlotsContainer::SlotsContainer(), ClosableContainer::DropReceived(), ContainerWithElectricManager::ElectricityIcon(), HandsContainer::ElectricityIcon(), Icon::InitEx(), InitWidgets(), PluginBase::InitWidgets(), Inventory(), and Header::SetItemPreview().
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by InventoryItemSuper::EEHealthLevelChanged().
|
private |
Referenced by InventoryItem::GetColorString(), and InventoryItem::WriteVarsToCTX().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by GetNextEntry(), GetPrevEntry(), UIScriptedMenu::Init(), ScriptedWidgetEventHandler::Lighten(), UIScriptedMenu::NextOption(), OptionSelectorBase::OnFocus(), UIScriptedMenu::OnInputDeviceChanged(), UIScriptedMenu::OnModalResult(), ScriptConsoleCameraTab::OnMouseLeave(), UIScriptedMenu::PreviousOption(), ScriptConsoleCameraTab::Update(), and Update().
|
private |
|
private |
|
private |
Returns active image.
|
private |
Get item.
| row | int Index of row |
| column | int Index of column |
string Value in widget on row and column
|
private |
|
private |
Progress determines which alpha values are opaque using the mask.
For progress x, pixels with alpha in mask < x will be opaque and alpha in mask > x will be transparent. For smooth transition see GetMaskTransitionWidth.
|
private |
Transition width 0.1 and progress 0.2 mean that values in mask lower than progress will be opaque.
Values higher than (progress + width) will be transparent and values between progress and (progress + width) will be smoothly transitioned.
|
private |
|
private |
|
private |
Test name getter. Strictly for UI porposes!
Definition at line 119 of file syncedvalue.c.
Referenced by ActionEnterLadder::ActionCondition(), AddExplosionEffectForSurface(), GetComponentIndex(), ActionTargetsCursor::GetOnScreenPosition(), GetParticleExplosionID(), GetSlotAttachSoundSet(), GetSlotDetachSoundSet(), Init(), IsComponentInSelection(), HumanInventory::ReplaceItemInElsewhereWithNewinHandsImpl(), HumanInventory::ReplaceItemInHandsWithNewImpl(), SetAttachSoundEvent(), and SetDetachSoundEvent().
|
private |
|
private |
|
private |
|
private |
|
private |
Get parent of the Effect.
Object The parent of the Effect Definition at line 422 of file effect.c.
References m_Parent, and m_ParentObject.
Referenced by ClosableHeader::ClosableHeader(), PlayerContainer::PlayerContainer(), VicinityContainer::VicinityContainer(), AttachmentCategoriesContainer::~AttachmentCategoriesContainer(), BuildPartServer(), DayZPlayer::CameraHandler(), Bolt_Base::CanBeActionTarget(), CanUseToolToBuildPart(), CanUseToolToDismantlePart(), CreateCollisionTrigger(), DestroyMaterialsServer(), DestroyPartServer(), EntityLightSource::DetachFromParent(), DismantlePartServer(), DrawDebugCollisionBox(), DropNonUsableMaterialsServer(), DayZPlayer::EOnContact(), GetAttachmentParent(), GetCollisionBoxData(), EffectParticle::GetCurrentLocalPosition(), DayZPlayer::GetDebugText(), GetMaterialType(), ParticleSource::GetParticleParent(), GetRequiredParts(), HasConflictPart(), HasMaterials(), HasMaterialWithQuantityAttached(), HasRequiredPart(), HideConstructionPart(), HideConstructionPartPhysics(), IsColliding(), IsCollidingEx(), EntityAI::IsInTransport(), DayZPlayer::IsInVehicle(), Entity::IsInventoryVisible(), HumanCommandVehicle::IsObjectIgnoredOnGettingOut(), MaterialIsRuined(), ManBase::OnVehicleSeatDriverEnter(), EffectParticle::ReAttach(), ReceiveMaterialsServer(), EffectParticle::SetCurrentLocalPosition(), SetLockOnAttachedMaterials(), AttachmentsGroupContainer::SetNextActive(), LayoutHolder::SetNextActive(), AttachmentsGroupContainer::SetPreviousActive(), LayoutHolder::SetPreviousActive(), LayoutHolder::SetSameLevelNextActive(), LayoutHolder::SetSameLevelPreviousActive(), ShowConstructionPart(), ShowConstructionPartPhysics(), EffectParticle::Start(), Particle::StopParticle(), TakeMaterialsServer(), PlayerContainer::TransferItem(), ZombieContainer::TransferItem(), DayZPlayer::TriggerPullPlayerOutOfVehicle(), UniversalTemperatureSourceDebug::Update(), UpdateConstructionParts(), Container::UpdateHeaderText(), and VicinityContainer::UpdateInterval().
|
private |
returns rotation of widget in order roll, pitch, yaw
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by InventoryItemSuper::EEHealthLevelChanged().
|
private |
ADDS the value to the existing flag.
|
private |
|
private |
Get the current state of the video.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Get text proportion - ratio between button height and button text height in interval <0,1>.
|
private |
Get text proportion - ratio between button height and button text height in interval <0,1>.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Get the total time of the video.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
SUBSTRACTS the value to the existing flag.
|
private |
Whether looping is enabled.
|
private |
QoL direct method to check for playing state (buffering while playing will still return true).
Referenced by Play().
|
private |
|
private |
Check if subtitles are disabled (enabled by default if available, so it will return false even if there are none).
|
private |
|
private |
Load a video file Return is deprecated, treat as void and use 'VideoCallback.ON_ERROR'.
References name.
Referenced by LoadVideo().
Loads image.
When image of this 'num' is already loaded, then is replaced by new one.
| num | Number of image (0...7) |
| name | Name of image file |
| noCache | Do not cache the texture |
References name.
Loads texture as mask used for alpha masking.
| resource | Resource name of the texture to load |
Legacy, preferably not used, left for backwards compat.
Definition at line 628 of file enwidgets.c.
|
private |
|
private |
Pauses video playback Return is deprecated, treat as void and use 'VideoCallback.ON_ERROR'.
Referenced by Play().
|
private |
Starts video playback Return is deprecated, treat as void and use 'VideoCallback.ON_ERROR'.
Referenced by Play().
|
inlineprivate |
Legacy, preferably not used, left for backwards compat.
Definition at line 593 of file enwidgets.c.
References GetTime(), IsPlaying(), Pause(), Play(), SetLooping(), SetTime(), and Unload().
|
private |
Referenced by InventoryItemSuper::EEHealthLevelChanged().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Set a callback for a certain video event.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by UIScriptedMenu::BackButtonFocus(), UIScriptedMenu::CheckNewOptions(), UIScriptedMenu::CloseOnline(), ColorDisable(), ServerBrowserTab::ColorDisable(), UIScriptedMenu::ColorDisable(), UIScriptedMenu::ColorDisabled(), OptionSelectorBase::ColorHighlight(), ScriptedWidgetEventHandler::ColorRed(), ScriptedWidgetEventHandler::ColorRed(), UIScriptedMenu::ColorRed(), UIScriptedMenu::ColorWhite(), ScriptedWidgetEventHandler::Focus(), ScriptedWidgetEventHandler::FocusFirst(), GetNextEntry(), GetPrevEntry(), UIScriptedMenu::Init(), ScriptedWidgetEventHandler::OnChange(), OptionSelectorSliderSetup::OnDoubleClick(), OptionSelectorBase::OnFocus(), UIScriptedMenu::OnInputDeviceChanged(), ServerBrowserTab::OnLoadServersAsyncFinished(), UIScriptedMenu::OnModalResult(), UIScriptedMenu::OnMouseButtonDown(), OnMouseEnter(), ScriptedWidgetEventHandler::OnMouseEnter(), ServerBrowserTab::OnMouseEnter(), OptionSelectorBase::OnMouseLeave(), ScriptConsoleCameraTab::OnMouseLeave(), ServerBrowserTab::OnMouseLeave(), UIScriptedMenu::OnMouseLeave(), ScriptedWidgetEventHandler::OnSelect(), OnShow(), UIScriptedMenu::OnShow(), ServerBrowserTab::SetEnableFilters(), ServerBrowserTab::SetFocusServers(), UIScriptedMenu::ToggleFeedbackDialog(), ScriptedWidgetEventHandler::UpdateEntry(), and UIScriptedMenu::UpdateMenuFocus().
sets Widget typu RTTextureWidgetTypeID, to which it is possible to reference in shader as $rendertarget it is posible to use only after object selection.
When selecting another object, it is necessary to set GUI widget again
|
private |
|
private |
Switches to another image, if it's loaded.
| num | Number of image. |
|
private |
|
private |
|
private |
Set whether the video should loop.
Referenced by Play().
|
staticprivate |
Set global LV of widgets, value between [-15, 0], default: 0, lower value is less bright.
|
private |
See GetMaskProgress for explanation.
| value | Expected in range [0; 1] |
|
private |
See GetMaskTransitionWidth for transition width explanation.
| value | Expected in range [0; 1] |
|
private |
|
staticprivate |
Set global lighting of objects in widgets, value between [0, 1], default: 1, lower value is less bright.
when period > 1 then every n-th frame will be rendered. Offset is initial counter.
|
private |
Referenced by ScriptedWidgetEventHandler::CreateFollowedObject().
|
private |
Referenced by updateSlotsCount().
Referenced by ServerBrowserTab::Construct(), and ServerBrowserTab::ToggleSort().
|
private |
|
private |
|
private |
|
private |
|
private |
set text exact size. Exact Text flag must be enabled. 0 equals original size.
|
private |
|
private |
| align | ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT |
|
private |
|
staticprivate |
Set global LV of the text in widgets, value between [-15, 0], default: 0, lower value is less bright.
|
private |
Set text proportion - ratio between button height and button text height in interval <0,1>.
|
private |
Set text proportion - ratio between button height and button text height in interval <0,1>.
|
private |
|
private |
| align | ALIGN_CENTER, ALIGN_TOP, ALIGN_BOTTOM |
Set the desired time for the video (preload decides whether it will already load the next frames too) Return is deprecated, treat as void and use 'VideoCallback.ON_ERROR'.
Referenced by Play().
Referenced by IEntity::Gizmo_SetWorldTransform().
|
private |
|
private |
|
private |
When WF_CUSTOMUV is set, we can supply our own UV coords instead of computed ones.
| uv | Pointer to array of at least 8 floats (4 corners * 2 floats for u/v) |
|
private |
direct mouse cursor visibility control
Referenced by CGame::RefreshMouseCursorVisibility().
|
private |
Stop video playback (cancels everything and sets it back at time 0) Return is deprecated, treat as void and use 'VideoCallback.ON_ERROR'.
|
private |
|
private |
Unload the video, freeing up all resources.
Referenced by Play().
|
private |
Definition at line 125 of file playersoundmanager.c.
References CleanupEntries(), CONTROLLER_DESELECT_TIMEOUT, CONTROLLER_TILT_TRESHOLD_SELECT, g_Game, ScriptedWidgetEventHandler::GetActionManager(), GetAngleInDegrees(), GetCurrentCrossHair(), GetMouseDistance(), GetMousePointerAngle(), GetObjectByDegAngle(), ScriptedWidgetEventHandler::GetPlayer(), GetZone(), HideRadialSelector(), InitDebug(), InitEntityEntries(), IsUsingController(), IsUsingMouse(), last_time, m_AM, m_ControllerAngle, m_ControllerTilt, m_ControllerTimout, m_DevSyncPlugin, m_Handlers, m_IsControllerTimoutEnabled, m_IsInit, m_IsModeSelf, m_player, m_RegisteredClass, m_SelectedObject, m_Stamina, m_StaminaLastValue, m_StaminaZoneOffset, m_TargetDisplayNameW, m_TargetEntity, m_UpdateTimer, m_WidgetInitialized, MAX_HANDLERS_COUNT, MOUSE_SAFE_ZONE_RADIUS, ProcessSound(), randomValuesArray, Refresh(), SelectCrossHair(), SetAgents(), SetAllowUpdate(), ShowCrossHair(), ShowRadialSelector(), UpdataControllerInput(), UpdateZones(), and USAGE_COUNT.
Referenced by ~CrossHairSelector(), CrossHairSelector(), GameplayEffectsData::ForceStop(), Init(), StaminaHandler::ReplayMove(), and ParticleSource::SetWiggle().
|
private |
|
private |
|
private |
|
private |
| WA_BOTTOM = 1 |
Definition at line 4 of file enwidgets.c.
| WA_CENTER = 2 |
Definition at line 2 of file enwidgets.c.
| WA_LEFT = 0 |
Definition at line 0 of file enwidgets.c.
| WA_RIGHT = 1 |
Definition at line 1 of file enwidgets.c.
| WA_TOP = 0 |
Definition at line 3 of file enwidgets.c.
|
private |
Defined in code.