Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
5Activity
0 of .
Results for:
No results containing your search query
P. 1
fltk

fltk

Ratings: (0)|Views: 649 |Likes:
Published by api-3702302

More info:

Published by: api-3702302 on Oct 19, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

03/18/2014

pdf

text

original

FLTK 1.0.4 Programming Manual
Revision 11
Written by Michael Sweet, Craig P. Earls, and Bill Spitzak
Copyright 1998-1999 by Bill Spitzak and Others.
Table of Contents
Preface..................................................................................................................................................................1

Organization.............................................................................................................................................1 Conventions.............................................................................................................................................2 Abbreviations...........................................................................................................................................2 Copyrights and Trademarks.....................................................................................................................2

1 - Introduction to FLTK..................................................................................................................................3

History of FLTK......................................................................................................................................3 Features....................................................................................................................................................4 Licensing..................................................................................................................................................5 What Does "FLTK" Mean?.....................................................................................................................5 Building and Installing FLTK Under UNIX............................................................................................5 Building FLTK Under Microsoft Windows............................................................................................6 Building FLTK Under OS/2....................................................................................................................7 Internet Resources....................................................................................................................................7 Reporting Bugs........................................................................................................................................7

2 - FLTK Basics..................................................................................................................................................9

Naming.....................................................................................................................................................9 Header Files.............................................................................................................................................9 Compiling Programs with Standard Compilers.....................................................................................10 Compiling Programs with Microsoft Visual C++..................................................................................10 Writing Your First FLTK Program........................................................................................................10

3 - Common Widgets and Attributes..............................................................................................................13

Buttons...................................................................................................................................................13 Text........................................................................................................................................................14 Valuators................................................................................................................................................14 Groups....................................................................................................................................................15 Setting the Size and Position of Widgets...............................................................................................15 Colors.....................................................................................................................................................16 Box Types..............................................................................................................................................16 Labels and Label Types.........................................................................................................................18 Callbacks................................................................................................................................................20 Shortcuts................................................................................................................................................21

4 - Designing a Simple Text Editor.................................................................................................................23

Determining the Goals of the Text Editor..............................................................................................23 Designing the Main Window.................................................................................................................23 Variables................................................................................................................................................24 Menubars and Menus.............................................................................................................................24 Editing the Text.....................................................................................................................................25 The Replace Dialog................................................................................................................................25 Callbacks................................................................................................................................................25 Other Functions......................................................................................................................................30 Compiling the Editor.............................................................................................................................32 The Final Product...................................................................................................................................32

FLTK 1.0.4 Programming Manual
i

Activity (5)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Padmaraj Pj liked this
sumantanwar liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->