PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
ScriptConsoleSoundsTab Class Reference

Private Member Functions

void ScriptConsoleSoundsTab (Widget root, ScriptConsole console, Widget button, ScriptConsoleTabBase parent=null)
 
void ~ScriptConsoleSoundsTab (Widget root)
 
override bool OnChange (Widget w, int x, int y, bool finished)
 
void UpdateMousePos ()
 
protected void PrepareFilters (string filter, out TStringArray filters)
 
protected void ChangeFilter (TStringArray classes, TextListboxWidget widget, EditBoxWidget filterWidget, int categoryMask=-1, bool ignoreScope=false)
 
override void Update (float timeslice)
 
protected void HandleKeys ()
 
protected void SetMapPos (vector pos)
 
protected vector GetMapPos ()
 
protected void PlaySoundEvent ()
 
protected void UpdateAttachmentSelection ()
 
protected void UpdateSelectedColor (ImageWidget buttonBackground)
 
override bool OnMouseButtonDown (Widget w, int x, int y, int button)
 
override bool OnClick (Widget w, int x, int y, int button)
 
override bool OnDoubleClick (Widget w, int x, int y, int button)
 
protected TStringArray GetSoundClasses ()
 
protected void ChangeFilterSound ()
 

Private Attributes

protected bool m_PlayerPosRefreshBlocked
 
protected vector m_MapPos
 
protected ButtonWidget m_SetETSoundButton
 
protected ButtonWidget m_SetETSoundWeaponButton
 
protected ButtonWidget m_SetETSoundAttachmentButton
 
protected ButtonWidget m_SetETSoundVoiceButton
 
protected ButtonWidget m_PlaySoundEventButton
 
protected ButtonWidget m_CopySoundset
 
protected ButtonWidget m_PlaySoundset
 
protected ButtonWidget m_PlaySoundsetLooped
 
protected ButtonWidget m_StopSoundset
 
protected EditBoxWidget m_SoundEventIDBox
 
protected EditBoxWidget m_SoundFilter
 
protected TextListboxWidget m_SoundsTextListbox
 
protected ref Timer m_RefreshFilterTimer = new Timer()
 
protected MapWidget m_DebugMapWidget
 
protected TextWidget m_MapDistWidget
 
protected TextWidget m_MouseCurPos
 
protected TextWidget m_MapHeadingWidget
 
protected ImageWidget m_BBackgroundSound
 
protected ImageWidget m_BBackgroundSoundWeapon
 
protected ImageWidget m_BBackgroundSoundAttachment
 
protected ImageWidget m_BBackgroundSoundVoice
 
protected ImageWidget m_SelectedBackground
 
protected CheckBoxWidget m_CheckBoxShoulderAtt
 
protected CheckBoxWidget m_CheckBoxBodyAtt
 
protected CheckBoxWidget m_CheckBoxBackAtt
 

Static Private Attributes

static protected float DEBUG_MAP_ZOOM = 1
 
static protected int m_SelectedID
 
static protected string m_SelectedSoundEventType
 
static protected string m_SelectedAttachments
 
static protected EffectSound m_SoundSet
 

Constructor & Destructor Documentation

◆ ScriptConsoleSoundsTab()

◆ ~ScriptConsoleSoundsTab()

void ~ScriptConsoleSoundsTab ( Widget  root)
inlineprivate

Member Function Documentation

◆ ChangeFilter()

protected void ChangeFilter ( TStringArray  classes,
TextListboxWidget  widget,
EditBoxWidget  filterWidget,
int  categoryMask = -1,
bool  ignoreScope = false 
)
inlineprivate

◆ ChangeFilterSound()

protected void ChangeFilterSound ( )
inlineprivate

◆ GetMapPos()

protected vector GetMapPos ( )
inlineprivate

References m_MapPos.

Referenced by HandleKeys(), OnClick(), Update(), and UpdateMousePos().

◆ GetSoundClasses()

protected TStringArray GetSoundClasses ( )
inlineprivate

References CFG_SOUND_SETS.

Referenced by ChangeFilterSound().

◆ HandleKeys()

◆ OnChange()

override bool OnChange ( Widget  w,
int  x,
int  y,
bool  finished 
)
inlineprivate

References m_RefreshFilterTimer, m_SoundFilter, x, and y.

◆ OnClick()

◆ OnDoubleClick()

override bool OnDoubleClick ( Widget  w,
int  x,
int  y,
int  button 
)
inlineprivate

References m_SoundEventIDBox, m_SoundFilter, x, and y.

◆ OnMouseButtonDown()

override bool OnMouseButtonDown ( Widget  w,
int  x,
int  y,
int  button 
)
inlineprivate

◆ PlaySoundEvent()

protected void PlaySoundEvent ( )
inlineprivate

◆ PrepareFilters()

protected void PrepareFilters ( string  filter,
out TStringArray  filters 
)
inlineprivate

◆ SetMapPos()

protected void SetMapPos ( vector  pos)
inlineprivate

References m_MapPos.

Referenced by OnMouseButtonDown(), and ScriptConsoleSoundsTab().

◆ Update()

◆ UpdateAttachmentSelection()

protected void UpdateAttachmentSelection ( )
inlineprivate

◆ UpdateMousePos()

◆ UpdateSelectedColor()

protected void UpdateSelectedColor ( ImageWidget  buttonBackground)
inlineprivate

References COLOR_RED, and m_SelectedBackground.

Referenced by OnClick().

Field Documentation

◆ DEBUG_MAP_ZOOM

protected float DEBUG_MAP_ZOOM = 1
staticprivate

◆ m_BBackgroundSound

protected ImageWidget m_BBackgroundSound
private

Referenced by OnClick(), and ScriptConsoleSoundsTab().

◆ m_BBackgroundSoundAttachment

protected ImageWidget m_BBackgroundSoundAttachment
private

Referenced by OnClick(), and ScriptConsoleSoundsTab().

◆ m_BBackgroundSoundVoice

protected ImageWidget m_BBackgroundSoundVoice
private

Referenced by OnClick(), and ScriptConsoleSoundsTab().

◆ m_BBackgroundSoundWeapon

protected ImageWidget m_BBackgroundSoundWeapon
private

Referenced by OnClick(), and ScriptConsoleSoundsTab().

◆ m_CheckBoxBackAtt

protected CheckBoxWidget m_CheckBoxBackAtt
private

◆ m_CheckBoxBodyAtt

protected CheckBoxWidget m_CheckBoxBodyAtt
private

◆ m_CheckBoxShoulderAtt

protected CheckBoxWidget m_CheckBoxShoulderAtt
private

◆ m_CopySoundset

protected ButtonWidget m_CopySoundset
private

Referenced by OnClick(), and ScriptConsoleSoundsTab().

◆ m_DebugMapWidget

◆ m_MapDistWidget

protected TextWidget m_MapDistWidget
private

◆ m_MapHeadingWidget

protected TextWidget m_MapHeadingWidget
private

◆ m_MapPos

protected vector m_MapPos
private

Referenced by GetMapPos(), and SetMapPos().

◆ m_MouseCurPos

protected TextWidget m_MouseCurPos
private

◆ m_PlayerPosRefreshBlocked

protected bool m_PlayerPosRefreshBlocked
private

Referenced by OnMouseButtonDown().

◆ m_PlaySoundEventButton

protected ButtonWidget m_PlaySoundEventButton
private

Referenced by OnClick(), and ScriptConsoleSoundsTab().

◆ m_PlaySoundset

protected ButtonWidget m_PlaySoundset
private

Referenced by OnClick(), and ScriptConsoleSoundsTab().

◆ m_PlaySoundsetLooped

protected ButtonWidget m_PlaySoundsetLooped
private

Referenced by OnClick(), and ScriptConsoleSoundsTab().

◆ m_RefreshFilterTimer

protected ref Timer m_RefreshFilterTimer = new Timer()
private

Referenced by OnChange().

◆ m_SelectedAttachments

protected string m_SelectedAttachments
staticprivate

◆ m_SelectedBackground

protected ImageWidget m_SelectedBackground
private

Referenced by UpdateSelectedColor().

◆ m_SelectedID

protected int m_SelectedID
staticprivate

◆ m_SelectedSoundEventType

protected string m_SelectedSoundEventType
staticprivate

◆ m_SetETSoundAttachmentButton

protected ButtonWidget m_SetETSoundAttachmentButton
private

Referenced by OnClick(), and ScriptConsoleSoundsTab().

◆ m_SetETSoundButton

protected ButtonWidget m_SetETSoundButton
private

Referenced by OnClick(), and ScriptConsoleSoundsTab().

◆ m_SetETSoundVoiceButton

protected ButtonWidget m_SetETSoundVoiceButton
private

Referenced by OnClick(), and ScriptConsoleSoundsTab().

◆ m_SetETSoundWeaponButton

protected ButtonWidget m_SetETSoundWeaponButton
private

Referenced by OnClick(), and ScriptConsoleSoundsTab().

◆ m_SoundEventIDBox

protected EditBoxWidget m_SoundEventIDBox
private

◆ m_SoundFilter

protected EditBoxWidget m_SoundFilter
private

◆ m_SoundSet

protected EffectSound m_SoundSet
staticprivate

Referenced by HandleKeys(), and OnClick().

◆ m_SoundsTextListbox

protected TextListboxWidget m_SoundsTextListbox
private

◆ m_StopSoundset

protected ButtonWidget m_StopSoundset
private

Referenced by OnClick(), and ScriptConsoleSoundsTab().


The documentation for this class was generated from the following file: