From 45234052284f7be1dd53ef49bb2186c65aed0cf6 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Sun, 6 Jun 2010 21:43:59 +0000 Subject: [PATCH] wizard example mods, Makefile. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7631 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- examples/Makefile | 3 ++- examples/wizard-simple.cxx | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/examples/Makefile b/examples/Makefile index c06cafdf2..c55891a3c 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -2,7 +2,8 @@ include ../makeinclude ALL = howto-add_fd-and-popen$(EXEEXT) \ tabs-simple$(EXEEXT) \ - tree-simple$(EXEEXT) + tree-simple$(EXEEXT) \ + wizard-simple$(EXEEXT) # default target -- build everything default: $(ALL) diff --git a/examples/wizard-simple.cxx b/examples/wizard-simple.cxx index 267414ca4..101402b5c 100644 --- a/examples/wizard-simple.cxx +++ b/examples/wizard-simple.cxx @@ -49,7 +49,7 @@ int main(int argc, char **argv) { // Wizard: page 1 { Fl_Group *g = new Fl_Group(0,0,400,300); - Fl_Button *next = new Fl_Button(290,265,100,25,"Next"); next->callback(next_cb); + Fl_Button *next = new Fl_Button(290,265,100,25,"Next @->"); next->callback(next_cb); Fl_Multiline_Output *out = new Fl_Multiline_Output(10,30,400-20,300-80,"Welcome"); out->labelsize(20); out->align(FL_ALIGN_TOP|FL_ALIGN_LEFT); @@ -59,8 +59,8 @@ int main(int argc, char **argv) { // Wizard: page 2 { Fl_Group *g = new Fl_Group(0,0,400,300); - Fl_Button *next = new Fl_Button(290,265,100,25,"Next"); next->callback(next_cb); - Fl_Button *back = new Fl_Button(180,265,100,25,"Back"); back->callback(back_cb); + Fl_Button *next = new Fl_Button(290,265,100,25,"Next @->"); next->callback(next_cb); + Fl_Button *back = new Fl_Button(180,265,100,25,"@<- Back"); back->callback(back_cb); Fl_Multiline_Output *out = new Fl_Multiline_Output(10,30,400-20,300-80,"Terms And Conditions"); out->labelsize(20); out->align(FL_ALIGN_TOP|FL_ALIGN_LEFT); @@ -71,7 +71,7 @@ int main(int argc, char **argv) { { Fl_Group *g = new Fl_Group(0,0,400,300); Fl_Button *done = new Fl_Button(290,265,100,25,"Finish"); done->callback(done_cb); - Fl_Button *back = new Fl_Button(180,265,100,25,"Back"); back->callback(back_cb); + Fl_Button *back = new Fl_Button(180,265,100,25,"@<- Back"); back->callback(back_cb); Fl_Multiline_Output *out = new Fl_Multiline_Output(10,30,400-20,300-80,"Finish"); out->labelsize(20); out->align(FL_ALIGN_TOP|FL_ALIGN_LEFT);