]> git.lyx.org Git - features.git/blobdiff - src/bullet_forms.C
some small updates to Painter, and make the new painter the default.
[features.git] / src / bullet_forms.C
index ba1fbfad35960a920e7fea04e318f33429a97aab..b32dd0015db54809ecbc20859ca66ab9bdf0d803 100644 (file)
@@ -11,7 +11,9 @@
 #include "bmtable.h"
 #include "support/filetools.h"
 
+#ifdef MONO
 extern int mono_video;
+#endif
 
 FD_form_bullet *create_form_form_bullet(void)
 {
@@ -29,15 +31,19 @@ FD_form_bullet *create_form_form_bullet(void)
      fl_set_object_callback(obj, BulletBMTableCB, 0);
      fl_set_object_lcol(obj, FL_BLUE);
      fl_set_object_boxtype(obj, FL_UP_BOX);
+#ifdef MONO
      if (mono_video) {
         fl_set_bmtable_file(obj, 6, 6,
                            LibFileSearch("images",
                                          "standard.xbm").c_str());
      } else {
+#endif
         fl_set_bmtable_pixmap_file(obj, 6, 6,
                                   LibFileSearch("images",
                                                 "standard.xpm").c_str());
+#ifdef MONO
     }
+#endif
 
   fl_set_border_width(-1);
   obj = fl_add_frame(FL_ENGRAVED_FRAME, 95, 20, 255, 70, "");