mirror of https://github.com/fltk/fltk
simplified and removed an extraneous statement.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6596 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
0aacaeb2c2
commit
60b723c00c
|
@ -66,7 +66,7 @@ void test_box::draw() {
|
|||
// draw the defined fl_rect and fl_vertex first and then
|
||||
// the additional one-pixel line, if enabled
|
||||
|
||||
for (int i=0; i<(draw_line->value()?2:1); i++) {
|
||||
for (int i=0; i<draw_line->value()+1; i++) {
|
||||
fl_rect(10,10,w()-20,h()-20);
|
||||
fl_begin_line();
|
||||
fl_vertex(35, 35);
|
||||
|
@ -116,7 +116,6 @@ void makeform(const char *) {
|
|||
sliders[0]->bounds(0,255);
|
||||
sliders[1]= new Fl_Value_Slider(280,30,180,20,"G");
|
||||
sliders[1]->bounds(0,255);
|
||||
sliders[1]->value(255);
|
||||
sliders[2]= new Fl_Value_Slider(280,50,180,20,"B");
|
||||
sliders[2]->bounds(0,255);
|
||||
choice[0]= new Fl_Choice(280,70,180,20,"Style");
|
||||
|
@ -167,7 +166,6 @@ int main(int argc, char **argv) {
|
|||
return Fl::run();
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// End of "$Id$".
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue