34 if (
w.FindAnyWidget(
"Cursor"))
35 w.FindAnyWidget(
"Cursor").SetColor(
color);
38 string name =
w.GetName();
39 name.Replace(
"PanelWidget",
"Cursor");
56 if (
item.GetHierarchyParent() &&
item.GetHierarchyParent() !=
player)
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
static int COLOR_NORMAL_TEXT
void SetColor(Widget w, int color)
static int COLOR_SELECTED_PANEL
static int COLOR_SELECTED_TEXT
static int COLOR_DISABLED_PANEL
static int COLOR_NORMAL_PANEL
static ref ColorManager m_Instance
static int ITEM_BACKGROUND_COLOR
static int COLOR_HIGHLIGHT_TEXT
static int COLOR_DISABLED_TEXT
int GetItemColor(ItemBase item)
static int COLOR_HIGHLIGHT_PANEL
static ColorManager GetInstance()
static ItemManager GetInstance()
proto native CGame GetGame()
int ARGB(int a, int r, int g, int b)