home *** CD-ROM | disk | FTP | other *** search
- /*
- #### # # # #
- # # # # # The FreeWare C library for
- # # ## ### # # # # ### RISC OS machines
- # # # # # # # # # # # ___________________________________
- # # #### ### ## # # # #
- # # # # # # # # # # Please refer to the accompanying
- #### ### #### # # ##### # ### documentation for conditions of use
- ________________________________________________________________________
-
- File: ColourTran.h
- Author: Copyright © 1993 Shaun Blackmore
- Version: 1.00 (13 May 1994)
- Purpose: Function veneer for ColourTrans SWIs
- */
-
-
-
- #ifndef __dl_coltrans_h
- #define __dl_coltrans_h
-
- #ifndef __dl_core_h
- #include "core.h"
- #endif
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- extern os_error *ColourTrans_SetGCOL(int palette, int flag, int gcol);
-
- extern os_error *ColourTrans_InvalidateCache(void);
-
- extern os_error *ColourTrans_SelectTable(int src_mode, int *src_pal,
- int dst_mode, int *dst_pal,
- char *table);
-
- typedef struct
- {
- int font;
- int back;
- int fore;
- int max;
- } colourtrans_fontblock;
-
- extern os_error *ColourTrans_ReturnFontColours(colourtrans_fontblock *fontcols);
-
-
- /* ColourTrans_ReturnColourNumberForMode --------------------------------------
- * Returns -1 to indicate an error.
- */
- extern int ColourTrans_ReturnColourNumberForMode(int palette, int mode,
- int *pal);
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif
-