5 protected bool m_RPCSent;
23 void Init(
Widget widget_root );
25 void SetUpdate(
bool state );
29 if(m_Show && !m_RPCSent)
74 void FitWindowByContent( TextListboxWidget wgt )
76 int size_of_value = 17;
77 SetValueListSize( 250, size_of_value * wgt.GetNumItems(), wgt );
83 void SetValueListSize(
int x,
int y, TextListboxWidget wgt )
86 int size_of_title = 20;
90 int root_size_x =
x + ( 2 * offset );
91 int root_size_y =
y + ( 2 * offset ) + size_of_title;
93 m_WgtRoot.SetSize( root_size_x, root_size_y );