-
-
- // Resizing the display causes the version string to move relative to
- // the splash pixmap because the parameters xforms uses to control
- // resizing are not very sophisticated.
- // I found it easier, therefore, to just remove the splash screen.
- // (Angus, 25 September 2001)
- static
- int C_WorkAreaSplashPH(FL_OBJECT * ob, int event,
- FL_Coord, FL_Coord, int, void *)
- {
- static int counter = 0;
- if (event != FL_DRAW || ++counter > 3) {
- return 0;
- }
-
- lyx::Assert(ob && ob->u_vdata);
- WorkArea * pre = static_cast<WorkArea *>(ob->u_vdata);
-
- if (counter == 3) {
- pre->destroySplash();
- }
-
- return 0;
- }