bx-lib : the Basic X11 Library tuned for C beginners  1.0
Modules
Here is a list of all modules:
[detail level 12]
oLibrary initialisation and event loop
oWindows
oCanvas (the area of a window where you can draw)
oColor (the main attribute of the pen)
|oFunctions manipulating the RGB model
|oPredefined neutral RGB colorsNeutral RGB colors are the ones whose (r,g,b) triplets verify r = g = b, that is, black, white, and all levels of gray in between
|oPredefined primary RGB colorsPrimary RGB colors are the three colors whose (r,g,b) triplets have one saturated channel and twos zeroed channels, that is, red, green and blue
|oPredefined secondary RGB colorsSecondary RGB colors are the three RGB colors (namely cyan, magenta and yellow) obtained by computing the sum of two of the three primary RGB colors (namely red, green, blue). They have two saturated channel and one zeroed channel
|\Predefined tertiary RGB colorsTertiary RGB colors are the six colors (namely pink, orange, violet, azure, spring, lawn) obtained by computing the mean between one of the three primary RGB colors (red, green, blue) and one the three secondary RGB colors (cyan, magenta, yellow) at the exclusion of the complementary color that would result into neutral gray
oPen (what you use to draw on a canvas)
|oSymbolic constants for pen attributes
|\Setting the active pen attributes
oDrawing (what you can do with a pen on a canvas)
|oDrawing simple shapes (points, lines, boxes, circles...)
|oDrawing complex shapes (polygons, Bezier curves...)
|oDrawing Text
|\Drawing images
oInput Control (how to deal with mouse and keyboard)
|oActively reading the current state of the keyboard
|oActively reading the current state of the mouse
|\Being Passively notified of state changes by eventsMore advanced programmers in C can be notified of events such as a change of the state of the mouse and the keyboard by making some of their own functions be automatically called by the bx-lib. This requires the knowledge that functions may be passed as arguments to other functions. The notifications occur when the bx-lib "has the hand" on the system, that is, during the execution of functions such as bx_wait(), bx_loop() and bx_show_canvas()
oDirectories (how to inspect file system easily)
\Audio (how to play sounds and music easily)