Getting Started With Microwindows & Nano-X
Gary James
Sr Software Engineer
Critical Link, LLC
,
Personel Homepage
gary.james@criticallink.com
gjames@twcny.rr.com
Copyright © 2000,2001 by Gary James
Table of Contents
Release Information
1.
Getting Started With Microwindows
Installing Microwindows
Download The Latest Sources
Configure The Build Scripts
Build The Library And Demos
Install The Libraries
Hello World Example
hello.c
Include Files
Library Initialization
Create a Graphics Context
Create a Window
Select Events
Show The Window
Handle Events
Drum Roll Please...
Summary
2.
Working With Images
Embeddeding Images in an Application
Convert a Bitmap Image to C Source
Nano-X Client Fixup
Example Drawing Tux I
Drawing Images Fom Files
Example Drawing Tux II
Loading Images Fom Files
Example Drawing Tux III
3.
Working With Fonts
Using TrueType Fonts in Your Application
Installing The FreeType Library
Download The FreeType Library
Extract The Sources
Build & Install The Library
Modify The Microwindows Configuration File
Rebuild Microwindows With FreeType Support
Get Some TrueType Fonts
Font Example
Example Using Fonts
List of Figures
1-1.
Hello World Example
2-1.
Tux I Example
3-1.
TrueType Font Example
List of Examples
1-1.
hello.c
2-1.
image_01.c
2-2.
image_02.c
2-3.
image_03.c
3-1.
fonts.c
Next
Release Information