4 protected bool m_IsSelected;
5 protected Widget m_ParentRoot;
8 protected ScriptConsole m_ScriptConsole;
11 protected PluginConfigDebugProfileFixed m_ConfigDebugProfileFixed;
16 m_ScriptConsole = console;
19 m_ParentRoot = parent.GetRoot();
21 m_ParentRoot = console.layoutRoot;
23 m_ConfigDebugProfileFixed = PluginConfigDebugProfileFixed.Cast(
GetPlugin(PluginConfigDebugProfileFixed));
51 Show(select, selectedHandler);
52 ButtonWidget btn = ButtonWidget.Cast(m_Button);
73 void Update(
float timeslice);
75 bool OnChange(
Widget w,
int x,
int y,
bool finished);
76 bool OnClick(
Widget w,
int x,
int y,
int button);
77 bool OnItemSelected(
Widget w,
int x,
int y,
int row,
int column,
int oldRow,
int oldColumn);
78 bool OnKeyDown(
Widget w,
int x,
int y,
int key);
79 bool OnDoubleClick(
Widget w,
int x,
int y,
int button);
81 bool OnMouseButtonDown(
Widget w,
int x,
int y,
int button);
82 bool OnKeyPress(
Widget w,
int x,
int y,
int key);
84 protected void AddItemToClipboard(TextListboxWidget text_listbox_widget)
86 int selected_row_index = text_listbox_widget.GetSelectedRow();
87 if (selected_row_index != -1)
90 text_listbox_widget.GetItemText(selected_row_index, 0, item_name);
91 GetGame().CopyToClipboard(item_name);