diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2008-01-04 20:31:06 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2008-01-04 20:31:06 +0000 |
| commit | 3507b6cf9f5cb20d2df458bf66845c159d7cbcfc (patch) | |
| tree | 3c7cff1d5a58330973823b18560c62a21cf9fa4c /documentation/basics.html | |
| parent | 88b4e6fab6c8dae1057567a67ec31718fa9c4649 (diff) | |
Added a few links in the documentation Basics page
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6009 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/basics.html')
| -rw-r--r-- | documentation/basics.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/documentation/basics.html b/documentation/basics.html index efb8d6926..42ce0131a 100644 --- a/documentation/basics.html +++ b/documentation/basics.html @@ -24,15 +24,15 @@ World!" program that uses FLTK to display the window.</P> #include <FL/Fl_Box.H> int main(int argc, char **argv) { - Fl_Window *window = new Fl_Window(300,180); - Fl_Box *box = new Fl_Box(20,40,260,100,"Hello, World!"); - box->box(FL_UP_BOX); - box->labelsize(36); - box->labelfont(FL_BOLD+FL_ITALIC); - box->labeltype(FL_SHADOW_LABEL); - window->end(); - window->show(argc, argv); - return Fl::run(); + <A href="Fl_Window.html">Fl_Window</A> *window = new <A href="Fl_Window.html#Fl_Window.Fl_Window">Fl_Window</A>(300,180); + <A href="Fl_Box.html">Fl_Box</A> *box = new <A href="Fl_Box.html#Fl_Box.Fl_Box">Fl_Box</A>(20,40,260,100,"Hello, World!"); + box-><A href="Fl_Widget.html#Fl_Widget.box">box</A>(<A href="common.html#boxtypes">FL_UP_BOX</A>); + box-><A href="Fl_Widget.html#Fl_Widget.labelsize">labelsize</A>(36); + box-><A href="Fl_Widget.html#Fl_Widget.labelfont">labelfont</A>(<A href="drawing.html#fonts">FL_BOLD</A>+<A href="drawing.html#fonts">FL_ITALIC</A>); + box-><A href="Fl_Widget.html#Fl_Widget.labeltype">labeltype</A>(<A href="common.html#labels">FL_SHADOW_LABEL</A>); + window-><A href="Fl_Group.html#Fl_Group.end">end</A>(); + window-><A href="Fl_Window.html#Fl_Window.show">show</A>(argc, argv); + return <A href="Fl.html#Fl.run">Fl::run</A>(); } </PRE></UL> @@ -55,7 +55,7 @@ Fl_Box *box = new <A href="Fl_Box.html#Fl_Box">Fl_Box</A>(20,40,260,100,"He <P>Next, we set the type of box and the size, font, and style of the label:</P> <UL><PRE> -box->box(FL_UP_BOX); +box-><A href="Fl_Widget.html#Fl_Widget.box">box</A>(FL_UP_BOX); box-><A href=Fl_Widget.html#Fl_Widget.labelsize>labelsize</A>(36); box-><A href=Fl_Widget.html#Fl_Widget.labelfont>labelfont</A>(FL_BOLD+FL_ITALIC); box-><A href=Fl_Widget.html#Fl_Widget.labeltype>labeltype</A>(FL_SHADOW_LABEL); |
