~ubuntu-branches/ubuntu/hardy/codeblocks/hardy-backports

« back to all changes in this revision

Viewing changes to src/plugins/scriptedwizard/resources/fltk/files/main.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Michael Casadevall
  • Date: 2008-07-17 04:39:23 UTC
  • Revision ID: james.westby@ubuntu.com-20080717043923-gmsy5cwkdjswghkm
Tags: upstream-8.02
ImportĀ upstreamĀ versionĀ 8.02

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <FL/Fl.H>
 
2
#include <FL/Fl_Window.H>
 
3
#include <FL/Fl_Box.H>
 
4
 
 
5
int main (int argc, char ** argv)
 
6
{
 
7
  Fl_Window *window;
 
8
  Fl_Box *box;
 
9
 
 
10
  window = new Fl_Window (300, 180);
 
11
  box = new Fl_Box (20, 40, 260, 100, "Hello World!");
 
12
 
 
13
  box->box (FL_UP_BOX);
 
14
  box->labelsize (36);
 
15
  box->labelfont (FL_BOLD+FL_ITALIC);
 
16
  box->labeltype (FL_SHADOW_LABEL);
 
17
  window->end ();
 
18
  window->show (argc, argv);
 
19
 
 
20
  return(Fl::run());
 
21
}