Skip to content
Snippets Groups Projects
Commit f8440fa3 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

first pass at shrinking width of option windows

parent e22a2b67
No related branches found
No related tags found
No related merge requests found
// $Id: Colorbar_Window.cpp,v 1.63 2008-03-20 11:44:03 geuzaine Exp $
// $Id: Colorbar_Window.cpp,v 1.64 2008-04-22 22:55:06 geuzaine Exp $
//
// Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
//
......@@ -222,10 +222,10 @@ void Colorbar_Window::redraw_range(int a, int b)
// print colortable mode and help
fl_font(FL_HELVETICA, font_height);
fl_color(fl_contrast(FL_BLACK, color_bg));
int xx0 = 10, xx1 = 13 * font_height, yy0 = 10;
int xx0 = 6, xx1 = 10 * font_height, yy0 = 10;
if(help_flag) {
i = 0;
fl_draw("1, 2, ..., Ctrl+1, Ctrl+2, ...", xx0, yy0 + (i + 1) * font_height);
fl_draw("1, 2, ..., Ctrl+1, ...", xx0, yy0 + (i + 1) * font_height);
fl_draw("Select predefined colormap", xx1, yy0 + (i + 1) * font_height);
i++;
fl_draw("mouse1", xx0, yy0 + (i + 1) * font_height);
......@@ -256,7 +256,7 @@ void Colorbar_Window::redraw_range(int a, int b)
fl_draw("Invert abscissa or ordinate", xx1, yy0 + (i + 1) * font_height);
i++;
fl_draw("up, down", xx0, yy0 + (i + 1) * font_height);
fl_draw("Modify curvature of color channels", xx1, yy0 + (i + 1) * font_height);
fl_draw("Modify color channel curvature", xx1, yy0 + (i + 1) * font_height);
i++;
fl_draw("a, Ctrl+a", xx0, yy0 + (i + 1) * font_height);
fl_draw("Modify alpha coefficient", xx1, yy0 + (i + 1) * font_height);
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment