Skip to content

EditablePanel@

VGUI Editable Panel.

Methods

  • void Close() --
  • void SetName(const string&in name) --
  • void SetParent(vgui::Panel@ parent) --
  • vgui::Panel@ GetParent() --
  • string GetName() --
  • string GetClassName() --
  • void MakeReadyForUse() --
  • void SetPos(int x, int y) --
  • void GetPos(int&out x, int&out y) --
  • void SetSize(int wide, int tall) --
  • void GetSize(int&out wide, int&out tall) --
  • void SetBounds(int x, int y, int wide, int tall) --
  • void GetBounds(int&out x, int&out y, int&out wide, int&out tall) --
  • int GetWide() --
  • void SetWide(int wide) --
  • int GetTall() --
  • void SetTall(int tall) --
  • void SetMinimumSize(int wide, int tall) --
  • void GetMinimumSize(int&out wide, int&out tall) --
  • bool IsBuildModeEditable() --
  • void SetBuildModeEditable(bool state) --
  • bool IsBuildModeDeletable() --
  • void SetBuildModeDeletable(bool state) --
  • bool IsBuildModeActive() --
  • void SetZPos(int z) --
  • int GetZPos() --
  • void SetAlpha(int alpha) --
  • int GetAlpha() --
  • void SetVisible(bool state) --
  • bool IsVisible() --
  • bool IsWithin(int x, int y) --
  • void LocalToScreen(int&out x, int&out y) --
  • void ScreenToLocal(int&out x, int&out y) --
  • void ParentLocalToScreen(int&out x, int&out y) --
  • void MakePopup(bool showTaskbarIcon = true, bool disabled = false) --
  • int GetChildCount() --
  • vgui::Panel@ GetChild(int index) --
  • int FindChildIndexByName(string&in childName) --
  • vgui::Panel@ FindChildByName(string&in childName, bool recurseDown = false) --
  • vgui::Panel@ FindSiblingByName(string&in siblingName) --
  • void SetAutoDelete(bool state) --
  • bool IsAutoDeleteSet() --
  • void DeletePanel() --
  • void SetEnabled(bool state) --
  • bool IsEnabled() --
  • bool IsPopup() --
  • void GetClipRect(int&out x0, int&out y0, int&out x1, int&out y1) --
  • void MoveToFront() --
  • void SetPinCorner(PinCorner_e pinCorner, int nOffsetX, int nOffsetY) --
  • void SetAutoResize(PinCorner_e pinCorner, AutoResize_e resizeDir, int nPinOffsetX, int nPinOffsetY, int nUnpinnedCornerOffsetX, int nUnpinnedCornerOffsetY) --
  • AutoResize_e GetAutoResize() --
  • PinCorner_e GetPinCorner() --
  • void GetPinOffset(int&out dx, int&out dy) --
  • void GetResizeOffset(int&out dx, int&out dy) --
  • void PinToSibling(const string&in pszSibling, PinCorner_e pinOurCorner, PinCorner_e pinSibling) --
  • void UpdateSiblingPin() --
  • void SetBgColor(Color color) --
  • void SetFgColor(Color color) --
  • Color GetBgColor() --
  • Color GetFgColor() --
  • bool IsProportional() --
  • void SetProportional(bool state) --
  • void SetCursor(vgui::HCursor cursor) --
  • vgui::HCursor GetCursor() --
  • void RequestFocus(int direction = 0) --
  • bool HasFocus() --
  • void InvalidateLayout(bool layoutNow = false, bool reloadScheme = false) --
  • void SetTabPosition(int position) --
  • int GetTabPosition() --
  • void SetBorder(vgui::IBorder@ border) --
  • vgui::IBorder@ GetBorder() --
  • void SetPaintBorderEnabled(bool state) --
  • void SetPaintBackgroundEnabled(bool state) --
  • void SetPaintEnabled(bool state) --
  • void SetPostChildPaintEnabled(bool state) --
  • void SetPaintBackgroundType(int type) --
  • void GetInset(int&out left, int&out top, int&out right, int&out bottom) --
  • void GetPaintSize(int&out wide, int&out tall) --
  • bool IsCursorNone() --
  • bool IsCursorOver() --
  • void MarkForDeletion() --
  • bool IsLayoutInvalid() --
  • bool IsOpaque() --
  • bool IsRightAligned() --
  • bool IsBottomAligned() --
  • vgui::HScheme GetScheme() --
  • void SetScheme(const string&in path, const string&in tag) --
  • void SetScheme(vgui::HScheme scheme) --
  • Color GetSchemeColor(const string&in resource, vgui::IScheme@ scheme) --
  • Color GetSchemeColor(const string&in resource, Color defaultColor, vgui::IScheme@ scheme) --
  • void SetTriplePressAllowed(bool state) --
  • bool IsTriplePressAllowed() const --
  • void SetMouseInputEnabled(bool state) --
  • void SetKeyBoardInputEnabled(bool state) --
  • bool IsMouseInputEnabled() --
  • bool IsKeyBoardInputEnabled() --
  • void LoadControlSettings(const string&in dialogResourceName) --