Skip to content

Commit

Permalink
Fix order of output mode buttons...
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4161 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
michaelrsweet committed Mar 21, 2005
1 parent e2a0427 commit 4afcc17
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
8 changes: 4 additions & 4 deletions fluid/print_panel.cxx
Expand Up @@ -465,21 +465,21 @@ Fl_Double_Window* make_print_panel() {
o->selection_color(FL_FOREGROUND_COLOR);
o->image(image_print_color);
}
{ Fl_Button* o = print_output_mode[1] = new Fl_Button(200, 45, 30, 40);
{ Fl_Button* o = print_output_mode[1] = new Fl_Button(150, 50, 40, 30);
o->type(102);
o->box(FL_BORDER_BOX);
o->down_box(FL_BORDER_BOX);
o->color(FL_BACKGROUND2_COLOR);
o->selection_color(FL_FOREGROUND_COLOR);
o->image(image_print_gray);
o->image(image_print_color);
}
{ Fl_Button* o = print_output_mode[2] = new Fl_Button(150, 50, 40, 30);
{ Fl_Button* o = print_output_mode[2] = new Fl_Button(200, 45, 30, 40);
o->type(102);
o->box(FL_BORDER_BOX);
o->down_box(FL_BORDER_BOX);
o->color(FL_BACKGROUND2_COLOR);
o->selection_color(FL_FOREGROUND_COLOR);
o->image(image_print_color);
o->image(image_print_gray);
}
{ Fl_Button* o = print_output_mode[3] = new Fl_Button(240, 50, 40, 30);
o->type(102);
Expand Down
11 changes: 5 additions & 6 deletions fluid/print_panel.fl
Expand Up @@ -235,17 +235,17 @@ print_update_status();} open
}
}
Fl_Group {} {
label {Output Mode:}
label {Output Mode:} open
xywh {110 45 170 40} labelfont 1 align 4
} {
Fl_Button {print_output_mode[0]} {
Fl_Button {print_output_mode[0]} {selected
image {pixmaps/print_color.xpm} xywh {110 45 30 40} type Radio box BORDER_BOX down_box BORDER_BOX value 1 color 7 selection_color 0
}
Fl_Button {print_output_mode[1]} {
image {pixmaps/print_gray.xpm} xywh {200 45 30 40} type Radio box BORDER_BOX down_box BORDER_BOX color 7 selection_color 0
image {pixmaps/print_color.xpm} xywh {150 50 40 30} type Radio box BORDER_BOX down_box BORDER_BOX color 7 selection_color 0
}
Fl_Button {print_output_mode[2]} {
image {pixmaps/print_color.xpm} xywh {150 50 40 30} type Radio box BORDER_BOX down_box BORDER_BOX color 7 selection_color 0
image {pixmaps/print_gray.xpm} xywh {200 45 30 40} type Radio box BORDER_BOX down_box BORDER_BOX color 7 selection_color 0
}
Fl_Button {print_output_mode[3]} {
image {pixmaps/print_gray.xpm} xywh {240 50 40 30} type Radio box BORDER_BOX down_box BORDER_BOX color 7 selection_color 0
Expand Down Expand Up @@ -355,8 +355,7 @@ print_page_size->value(val);

snprintf(name, sizeof(name), "%s/output_mode", printer);
fluid_prefs.get(name, val, 0);
print_output_mode[val]->setonly();} {selected
}
print_output_mode[val]->setonly();} {}
}

comment {
Expand Down

0 comments on commit 4afcc17

Please sign in to comment.