Skip to content
Snippets Groups Projects
Commit 541b023c authored by slevy's avatar slevy
Browse files

Er, um, make them Fl_Double_Windows correctly, not by setting the "class" field.

parent fb507900
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@
#ifndef partipanel_H
#define partipanel_H
#include <FL/Fl.H>
#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Pack.H>
#include <FL/Fl_Group.H>
#include <FL/Fl_Menu_Button.H>
......
......@@ -56,13 +56,6 @@ Fl_Double_Window* make_window() {
w = o;
o->box(FL_DOWN_BOX);
o->color(96);
o->selection_color(49);
o->labeltype(FL_NO_LABEL);
o->labelfont(0);
o->labelsize(14);
o->labelcolor(56);
o->align(FL_ALIGN_TOP);
o->when(FL_WHEN_RELEASE);
{ Fl_Pack* o = new Fl_Pack(0, 0, 540, 466);
o->color(96);
{ Fl_Group* o = ppui.toprow = new Fl_Group(0, 0, 540, 37);
......@@ -488,15 +481,6 @@ Fl_Double_Window* make_window() {
}
{ Fl_Double_Window* o = ppui.hrdiagwin = new Fl_Double_Window(280, 230);
w = o;
o->box(FL_FLAT_BOX);
o->color(49);
o->selection_color(49);
o->labeltype(FL_NO_LABEL);
o->labelfont(0);
o->labelsize(14);
o->labelcolor(56);
o->align(FL_ALIGN_TOP);
o->when(FL_WHEN_RELEASE);
{ Fl_Plot* o = ppui.hrdiag = new Fl_Plot(0, 0, 284, 234);
o->box(FL_DOWN_BOX);
o->color(0);
......
......@@ -7,9 +7,8 @@ decl {\#include "partiview.H"} {}
Function {make_window()} {open
} {
Fl_Window {ppui.mainwin} {open
xywh {940 547 540 465} box DOWN_BOX color 96 resizable
code0 {o->size_range(101,130);}
class Fl_Double_Window visible
xywh {859 556 540 465} type Double box DOWN_BOX color 96 resizable
code0 {o->size_range(101,130);} visible
} {
Fl_Pack {} {open
xywh {0 0 540 466} color 96 resizable
......@@ -297,9 +296,8 @@ specks_commandfmt( &ppui.st, homestr, o->value());}
}
}
Fl_Window {ppui.hrdiagwin} {selected
xywh {618 472 280 230} resizable
code0 {o->hide();}
class Fl_Double_Window visible
xywh {618 481 280 230} type Double resizable
code0 {o->hide();} visible
} {
Fl_Group {ppui.hrdiag} {
xywh {0 0 284 234} box DOWN_BOX color 0 resizable
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment