Browse Source

If starting Fluid with the -c (compile only) option, Fluid should not require a connection to the X11 Display anymore, allowing fluid to create code on head-less terminals.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4422 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
pull/168/head
Matthias Melcher 20 years ago
parent
commit
59b74e9fcb
  1. 2
      CHANGES
  2. 3
      fluid/fluid.cxx

2
CHANGES

@ -2,6 +2,8 @@ CHANGES IN FLTK 1.1.7
- Documentation fixes (STR #648, STR #692, STR #730, STR - Documentation fixes (STR #648, STR #692, STR #730, STR
#744, STR #745) #744, STR #745)
- Fluid should not open the Display connection anymore if
creating code only (STR #904)
- Improved hidden copy / ctor implementation (STR #860) - Improved hidden copy / ctor implementation (STR #860)
- Increased matrix stack depth and added over/underfolw error - Increased matrix stack depth and added over/underfolw error
(STR #924) (STR #924)

3
fluid/fluid.cxx

@ -1649,6 +1649,9 @@ Fl_Menu_Item Main_Menu[] = {
extern void fill_in_New_Menu(); extern void fill_in_New_Menu();
void scheme_cb(Fl_Choice *, void *) { void scheme_cb(Fl_Choice *, void *) {
if (compile_only)
return;
switch (scheme_choice->value()) { switch (scheme_choice->value()) {
case 0 : // Default case 0 : // Default
Fl::scheme(NULL); Fl::scheme(NULL);

Loading…
Cancel
Save