Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Ctrl::Add(GLCtrl) Bug (Linux)
|
Re: Ctrl::Add(GLCtrl) Bug (Linux) [message #16594 is a reply to message #16583] |
Mon, 30 June 2008 21:22   |
mdelfede
Messages: 1308 Registered: September 2007
|
Ultimate Contributor |
|
|
X11DHCtrl.cpp, from line 293 :
/////////////////////////////////////////////////////////////////////////////////////////
// State handler
void DHCtrl::State(int reason)
{
Window dummy;
int x, y;
unsigned int width, height, border, depth;
Rect r;
// No handling if in error state
if( isError)
return;
// Initializes the control if needed (and possible...)
if(!isInitialized && GetTopWindow() && GetTopWindow()->GetWindow())
Init();
if(isInitialized)
{
switch( reason )
{
case FOCUS : // = 10,
break;
case ACTIVATE : // = 11,
break;
case DEACTIVATE : // = 12,
break;
case SHOW : // = 13,
MapWindow(IsShown());
break;
case ENABLE : // = 14,
break;
case EDITABLE : // = 15,
break;
case OPEN : // = 16,
===================>HERE MapWindow(IsShown());
break;
Ciao
Max
|
|
|
|
|
|
Goto Forum:
Current Time: Sun Apr 27 22:19:41 CEST 2025
Total time taken to generate the page: 0.01070 seconds
|