ALLEGRO_COLOR
typedef struct ALLEGRO_COLOR ALLEGRO_COLOR;
Introduced in 5.0.0
An ALLEGRO_COLOR structure describes a color in a device independant way. Use al_map_rgb et al. and al_unmap_rgb et al. to translate from and to various color representations.
Examples: ex_blend, ex_blend2, ex_blend_test, ex_blit, ex_clip, ex_display_options, ex_draw, ex_drawpixels, ex_draw_bitmap, ex_filter, ex_fs_resize, ex_fs_window, ex_gp2xwiz, ex_haiku, ex_joystick_events, ex_keyboard_focus, ex_lines, ex_logo, ex_mouse, ex_mouse_events, ex_mouse_focus, ex_native_filechooser, ex_nodisplay, ex_premulalpha, ex_prim, ex_resize, ex_rotate, ex_scale, ex_stream_seek, ex_threads, ex_transform, ex_ttf, ex_vsync, ex_warp_mouse
Most helpful discussions:
- What is the error in following little program
- Why some Shaders don't work !
- Further question regarding camera and projection transforms
- [ Allegro 5.2.11 ] al_put_pixel and al_get_pixel very very slow compared to A4 !
- Allegro 5 initializer element is not constant
- Setting up projection and camera matrices correctly for bitmaps in 3D
- Over mouse function
- Pixel perfect collision implementation for allegro 5
- Allegro 5.2 Image Xcode
- Java + Allegro = jalleg?
Other recent discussions:
- Performance issue regarding al_put_pixel and raycasting
- Memory leak in allegro5
- Coordinate systems
- Shader Problems - GLSL sampler3d() - 5.1.9
- memcmp for comparing colors
- Scaled font print call?
- Keyboard input
- Allegro 5 - Bitmap Deferred Corruption(?)
- Bitmap region vs Transforms for a camera
- How to make a ASCII game?