3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: SkyOS GI library
5 * FILE: lib/libskygi/stubs.c
6 * PURPOSE: libskygi.dll stubs
7 * NOTES: If you implement a function, remove it from this file
13 #include <rosky/rosky.h>
21 DefaultWindowFunc(s_window
*win
,
24 STUB("DefaultWindowFunc(0x%x, 0x%x) returns 0!\n", win
, pMsg
);
33 GC_ResetBlit(sBlit
*pBlit
)
35 STUB("GC_ResetBlit(0x%x) returns 0!\n", pBlit
);
47 STUB("GC_blit(0x%x, 0x%x) returns 0!\n", gc
, pBlit
);
56 GI_create_DDB_from_DIB(DIB
*dib
)
58 STUB("GI_create_DDB_from_DIB(0x%x) returns NULL!\n", dib
);
67 GI_kill_timer(unsigned int uiID
)
69 STUB("GI_kill_timer(0x%x) returns 0!\n", uiID
);
78 GI_set_high_timer(HANDLE w
,
81 STUB("GI_set_high_timer(0x%x, 0x%x) returns 0!\n", w
, msec
);
94 STUB("GC_draw_text(0x%x, 0x%x, 0x%x) returns 0!\n", gc
, rect
, text
);
104 unsigned int fontIndex
)
106 STUB("GC_set_font(0x%x, 0x%x) returns 0!\n", gc
, fontIndex
);
115 GC_set_font_size(GC
*gc
,
116 unsigned int fontSize
)
118 STUB("GC_set_font_size(0x%x, 0x%x) returns 0!\n", gc
, fontSize
);
127 GC_set_font_flags(GC
*gc
,
130 STUB("GC_set_font_flags(0x%x, 0x%x) returns 0!\n", gc
, flags
);
139 GC_set_font_param(GC
*gc
,
141 unsigned int fontsize
,
145 STUB("GC_set_font_param(0x%x, 0x%x, 0x%x, 0x%x, 0x%x) returns 0!\n", gc
, font
, fontsize
, flags
, trans
);
154 GI_CreateApplication(sCreateApplication
*application
)
156 STUB("GI_CreateApplication(0x%x) returns NULL!\n", application
);
165 GI_create_font(unsigned char *family
,
166 unsigned char *style
,
167 unsigned char *filename
)
169 STUB("GI_create_font(0x%x, 0x%x, 0x%x) returns 0!\n", family
, style
, filename
);
178 GI_textheight(unsigned int index
,
182 STUB("GI_textheight(0x%x, 0x%x, 0x%x) returns 0!\n", index
, size
, text
);
191 GI_textlength(unsigned int index
,
195 STUB("GI_textlength(0x%x, 0x%x, 0x%x) returns 0!\n", index
, size
, text
);
206 STUB("GI_init() returns 0!\n");
215 GI_set_dimension(s_window
*win
,
222 STUB("GI_set_dimension(0x%x, 0x%x, 0x%x, 0x%x, 0x%x, 0x%x) returns 0!\n", win
, notify
, x1
, y1
, width
, height
);
234 STUB("GC_set_clip(0x%x, 0x%x) returns 0!\n", gc
, clip
);
243 GI_ScaleDIB(DIB
*srcbitmap
,
249 STUB("GI_ScaleDIB(0x%x, 0x%x, 0x%x, 0x%x, 0x%x) returns 0!\n", srcbitmap
, iWidth
, iHeight
, filtertype
, filterwidth
);
258 GI_get_resolution(s_resolution
*res
)
260 STUB("GI_get_resolution(0x%x) returns 0!\n", res
);
269 GI_widget_status_set(s_window
*win
,
272 STUB("GI_widget_status_set(0x%x, 0x%x) returns 0!\n", win
, text
);
281 GI_load_bitmap(char *filename
,
282 unsigned int ImageIndex
)
284 STUB("GI_load_bitmap(%s, 0x%x) returns NULL!\n", filename
, ImageIndex
);