Allegro Manual
Windows specifics
JOY_TYPE_Windows
GFX_Windows
DIGI_Windows
MIDI_Windows
win_get_window
win_set_window
win_set_wnd_create_proc
win_get_dc
win_release_dc
set_gdi_color_format
set_palette_to_hdc
convert_palette_to_hpalette
convert_hpalette_to_palette
convert_bitmap_to_hbitmap
convert_hbitmap_to_bitmap
draw_to_hdc
blit_to_hdc
stretch_blit_to_hdc
blit_from_hdc
stretch_blit_from_hdc
convert_hpalette_to_palette
Converts a Windows palette to an Allegro palette.
Description
void
convert_hpalette_to_palette
(
HPALETTE hpal,
PALETTE
pal
)
;
Converts a Windows palette to an Allegro palette.
See Also:
convert_palette_to_hpalette
Related Projects
The following projects include source code containing this keyword:
Star Control: TimeWarp
TW-Light