00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef CALLCPP_H
00021 #define CALLCPP_H
00022
00023 #ifndef __UNIX__
00024 #include <assert.h>
00025 #endif
00026 #include "host.h"
00027 #include "params.h"
00028 #include "unichar.h"
00029
00030 class ScrollView;
00031
00032 typedef enum {
00033 Black,
00034 White,
00035 Red,
00036 Yellow,
00037 Green,
00038 Cyan,
00039 Blue,
00040 Magenta,
00041 Aquamarine,
00042 Dark_SLATE_BLUE,
00043 Light_BLUE,
00044 Medium_BLUE,
00045 Midnight_BLUE,
00046 Navy_BLUE,
00047 Sky_BLUE,
00048 Slate_BLUE,
00049 Steel_BLUE,
00050 Coral,
00051 Brown,
00052 Sandy_BROWN,
00053 Gold,
00054 GoldENROD,
00055 Dark_GREEN,
00056 Dark_OLIVE_GREEN,
00057 Forest_GREEN,
00058 Lime_GREEN,
00059 Pale_GREEN,
00060 Yellow_GREEN,
00061 Light_GREY,
00062 Dark_SLATE_GREY,
00063 Dim_GREY,
00064 Grey,
00065 Khaki,
00066 Maroon,
00067 Orange,
00068 Orchid,
00069 Pink,
00070 Plum,
00071 Indian_RED,
00072 Orange_RED,
00073 Violet_RED,
00074 Salmon,
00075 Tan,
00076 Turqoise,
00077 Dark_TURQUOISE,
00078 Violet,
00079 Wheat,
00080 Green_YELLOW
00081 } C_COL;
00082
00083 void cprintf (
00084 const char *format, ...
00085 );
00086 ScrollView *c_create_window(
00087 const char *name,
00088 inT16 xpos,
00089 inT16 ypos,
00090 inT16 xsize,
00091 inT16 ysize,
00092 double xmin,
00093 double xmax,
00094 double ymin,
00095 double ymax
00096 );
00097 void c_line_color_index(
00098 void *win,
00099 C_COL index);
00100 void c_move(
00101 void *win,
00102 double x,
00103 double y);
00104 void c_draw(
00105 void *win,
00106 double x,
00107 double y);
00108 void c_make_current(
00109 void *win);
00110 void c_clear_window(
00111 void *win);
00112 char window_wait(ScrollView* win);
00113 void reverse32(void *ptr);
00114 void reverse16(void *ptr);
00115
00116 #endif