]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/form_splash.C
try this for distinguishing inner and outer tabs
[lyx.git] / src / frontends / xforms / form_splash.C
1 // File modified by fdfix.sh for use by lyx (with xforms >= 0.88) and gettext
2 #include <config.h>
3 #include "lyx_gui_misc.h"
4 #include "gettext.h"
5
6 /* Form definition file generated with fdesign. */
7
8 #include FORMS_H_LOCATION
9 #include <stdlib.h>
10 #include "form_splash.h"
11 #include "FormSplash.h"
12
13 FD_form_splash::~FD_form_splash()
14 {
15   if ( form->visible ) fl_hide_form( form );
16   fl_free_form( form );
17 }
18
19
20 FD_form_splash * FormSplash::build_splash()
21 {
22   FL_OBJECT *obj;
23   FD_form_splash *fdui = new FD_form_splash;
24
25   fdui->form = fl_bgn_form(FL_NO_BOX, 420, 290);
26   fdui->form->u_vdata = this;
27   obj = fl_add_box(FL_UP_BOX, 0, 0, 420, 290, "");
28     fl_set_object_color(obj, FL_BLACK, FL_TOP_BCOL);
29   fdui->splash_timer = obj = fl_add_timer(FL_HIDDEN_TIMER, 110, 170, 190, 60, "");
30     fl_set_object_callback(obj, C_FormSplashTimerCB, 0);
31   fl_end_form();
32
33   fdui->form->fdui = fdui;
34
35   return fdui;
36 }
37 /*---------------------------------------*/
38