mod/maxgui.mod/fltkmaxgui.mod/src/Fl_win32.cxx
void Fl_Window::show() {
  image(Fl::scheme_bg_);
  if (Fl::scheme_bg_) {
    labeltype(FL_NORMAL_LABEL);
    align(FL_ALIGN_CENTER | FL_ALIGN_INSIDE | FL_ALIGN_CLIP);
  } else {
    labeltype(FL_NO_LABEL);
  }
  Fl_Tooltip::exit(this);
  if (!shown()) {
    // if (can_boxcheat(box())) fl_background_pixel = fl_xpixel(color());
    Fl_X::make(this);
  } else {
    // Once again, we would lose the capture if we activated the window.
    if (IsIconic(i->xid)) OpenIcon(i->xid);
    if (!fl_capture) BringWindowToTop(i->xid);
    //ShowWindow(i->xid,fl_capture?SW_SHOWNOACTIVATE:SW_RESTORE);
  }
#ifdef USE_PRINT_BUTTON
void preparePrintFront(void);
preparePrintFront();
#endif
}
// If the box is a filled rectangle, we can make the redisplay *look*
// faster by using X's background pixel erasing.  We can make it
// actually *be* faster by drawing the frame only, this is done by
// setting fl_boxcheat, which is seen by code in fl_drawbox.cxx:
// For WIN32 it looks like all windows share a background color, so
// I use FL_GRAY for this and only do this cheat for windows that are
// that color.
// Actually it is totally disabled.
// Fl_Widget *fl_boxcheat;
//static inline int can_boxcheat(uchar b) {return (b==1 || (b&2) && b<=15);}
If the box is a filled rectangle, we can make the redisplay *look
faster by using X's background pixel erasing.  We can make it
actually *be* faster by drawing the frame only, this is done by
setting fl_boxcheat, which is seen by code in fl_drawbox.cxx:
For WIN32 it looks like all windows share a background color, so
I use FL_GRAY for this and only do this cheat for windows that are
that color.
Actually it is totally disabled.
If the box is a filled rectangle we can make the redisplay * look faster by using X ' s background pixel erasing . We can make it actually * be * faster by drawing the frame only this is done by setting fl_boxcheat which is seen by code in fl_drawbox . cxx : For WIN32 it looks like all windows share a background color so I use FL_GRAY for this and only do this cheat for windows that are that color . Actually it is totally disabled .
void Fl_Window::show() {
  image(Fl::scheme_bg_);
  if (Fl::scheme_bg_) {
    labeltype(FL_NORMAL_LABEL);
    align(FL_ALIGN_CENTER | FL_ALIGN_INSIDE | FL_ALIGN_CLIP);
  } else {
    labeltype(FL_NO_LABEL);
  }
  Fl_Tooltip::exit(this);
  if (!shown()) {
    Fl_X::make(this);
  } else {
    if (IsIconic(i->xid)) OpenIcon(i->xid);
    if (!fl_capture) BringWindowToTop(i->xid);
  }
#ifdef USE_PRINT_BUTTON
void preparePrintFront(void);
preparePrintFront();
#endif
}
void Fl_Window :: show ( ) { image ( Fl :: scheme_bg_ ) ; if ( Fl :: scheme_bg_ ) { labeltype ( FL_NORMAL_LABEL ) ; align ( FL_ALIGN_CENTER | FL_ALIGN_INSIDE | FL_ALIGN_CLIP ) ; } else { labeltype ( FL_NO_LABEL ) ; } Fl_Tooltip :: exit ( this ) ; if ( ! shown ( ) ) { Fl_X :: make ( this ) ; } else { if ( IsIconic ( i -> xid ) ) OpenIcon ( i -> xid ) ; if ( ! fl_capture ) BringWindowToTop ( i -> xid ) ; } #ifdef USE_PRINT_BUTTON void preparePrintFront ( void ) ; preparePrintFront ( ) ; #endif }
If the box is a filled rectangle, we can make the redisplay *look
faster by using X's background pixel erasing.
If the box is a filled rectangle we can make the redisplay * look faster by using X ' s background pixel erasing .
// if (can_boxcheat(box())) fl_background_pixel = fl_xpixel(color()); // Once again, we would lose the capture if we activated the window. //ShowWindow(i->xid,fl_capture?SW_SHOWNOACTIVATE:SW_RESTORE);