From 3507b6cf9f5cb20d2df458bf66845c159d7cbcfc Mon Sep 17 00:00:00 2001
From: Matthias Melcher
Date: Fri, 4 Jan 2008 20:31:06 +0000
Subject: 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
---
documentation/basics.html | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
(limited to 'documentation/basics.html')
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.
#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();
+ 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();
}
@@ -55,7 +55,7 @@ Fl_Box *box = new Fl_Box(20,40,260,100,"He
Next, we set the type of box and the size, font, and style of the label:
-box->box(FL_UP_BOX);
+box->box(FL_UP_BOX);
box->labelsize(36);
box->labelfont(FL_BOLD+FL_ITALIC);
box->labeltype(FL_SHADOW_LABEL);
--
cgit v1.2.3