bx-lib: the Basic X11 Library tuned for C beginners
Modules
Main functions
Windows
Playing with colors
Functions manipulating the RGB model
Functions
bx_rgb_to_color
bx_mean_color
bx_blend_color
Predefined neutral RGB colors
bx_white
bx_black
bx_gray
bx_pale_gray
bx_dark_gray
Predefined primary RGB colors
bx_red
bx_green
bx_blue
bx_pale_red
bx_pale_green
bx_pale_blue
bx_dark_red
bx_dark_green
bx_dark_blue
Predefined secondary RGB colors
bx_yellow
bx_cyan
bx_magenta
bx_pale_yellow
bx_pale_cyan
bx_pale_magenta
bx_dark_yellow
bx_dark_cyan
bx_dark_magenta
Predefined tertiary RGB colors
bx_pink
bx_orange
bx_violet
bx_azure
bx_spring
bx_lawn
bx_pale_pink
bx_pale_orange
bx_pale_violet
bx_pale_azure
bx_pale_spring
bx_pale_lawn
bx_dark_pink
bx_dark_orange
bx_dark_violet
bx_dark_azure
bx_dark_spring
bx_dark_lawn
Changing pen attributes (pen color, line width)
bx_set_color
bx_set_rgb
bx_set_line_width
Canvas
Drawing functions
Simple drawing functions (points, lines, boxes, circles...)
bx_draw_point
bx_draw_line
bx_draw_box
bx_draw_circle
bx_draw_arc
Less simple drawing functions (polygons, curves...)
Drawing simple text
bx_draw_text
bx_draw_text_f
Drawing images
Enumerations
bx_effect
bx_load_image
bx_draw_image
bx_draw_image_fx
Input Control
Reading the state of the keyboard
bx_read_key
bx_keyname_pressed
bx_keycode_pressed
bx_keyname_to_keycode
bx_keycode_to_keyname
bx_keynames
bx_key_number
bx_set_autorepeat
bx_get_autorepeat
Reading the state of the mouse
Events (for more advanced programmers)
Typedefs
bx_mouse_function
bx_key_function
bx_on_mouse_press
bx_on_mouse_release
bx_on_mouse_move
bx_on_key_press
bx_on_key_release
Directories
Audio
Data Structures
bx_color
bx_dir
bx_image
bx_key
bx_mouse
bx_window