libc.obj: headers update (now used true functions with attributes instead of pointers)
git-svn-id: svn://kolibrios.org@9810 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -30,10 +30,8 @@ enum BUF2D_OPT_CROP {
|
||||
BUF2D_OPT_CROP_RIGHT = 8
|
||||
};
|
||||
|
||||
int kolibri_buf2d_init(void);
|
||||
|
||||
extern void __stdcall (*buf2d_create_asm)(buf2d_struct*);
|
||||
extern void __stdcall (*buf2d_curve_bezier_asm)(buf2d_struct*, unsigned int, unsigned int, unsigned int, unsigned int);
|
||||
DLLAPI void __stdcall buf2d_create_asm(buf2d_struct*);
|
||||
DLLAPI void __stdcall buf2d_curve_bezier_asm(buf2d_struct*, unsigned int, unsigned int, unsigned int, unsigned int);
|
||||
|
||||
buf2d_struct* buf2d_create(uint16_t tlx, uint16_t tly, unsigned int sizex, unsigned int sizey, unsigned int font_bgcolor, uint8_t color_bit)
|
||||
{
|
||||
@@ -53,31 +51,31 @@ void buf2d_curve_bezier(buf2d_struct* buf, unsigned int p0_x, unsigned int p0_y,
|
||||
buf2d_curve_bezier_asm(buf, (p0_x << 16) + p0_y, (p1_x << 16) + p1_y, (p2_x << 16) + p2_y, color);
|
||||
}
|
||||
|
||||
extern void __stdcall (*buf2d_draw)(buf2d_struct*);
|
||||
extern void __stdcall (*buf2d_clear)(buf2d_struct*, unsigned int);
|
||||
extern void __stdcall (*buf2d_delete)(buf2d_struct*);
|
||||
extern void __stdcall (*buf2d_rotate)(buf2d_struct*, unsigned int);
|
||||
extern void __stdcall (*buf2d_resize)(buf2d_struct*, unsigned int, unsigned int, unsigned int);
|
||||
extern void __stdcall (*buf2d_line)(buf2d_struct*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int);
|
||||
extern void __stdcall (*buf2d_line_sm)(buf2d_struct*, unsigned int, unsigned int, unsigned int, unsigned int);
|
||||
extern void __stdcall (*buf2d_rect_by_size)(buf2d_struct*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int);
|
||||
extern void __stdcall (*buf2d_filled_rect_by_size)(buf2d_struct*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int);
|
||||
extern void __stdcall (*buf2d_circle)(buf2d_struct*, unsigned int, unsigned int, unsigned int, unsigned int);
|
||||
extern void __stdcall (*buf2d_img_hdiv2)(buf2d_struct*);
|
||||
extern void __stdcall (*buf2d_img_wdiv2)(buf2d_struct*);
|
||||
extern void __stdcall (*buf2d_conv_24_to_8)(buf2d_struct*, unsigned int);
|
||||
extern void __stdcall (*buf2d_conv_24_to_32)(buf2d_struct*, unsigned int);
|
||||
extern void __stdcall (*buf2d_bit_blt_transp)(buf2d_struct*, unsigned int, unsigned int, buf2d_struct*);
|
||||
extern void __stdcall (*buf2d_bit_blt_alpha)(buf2d_struct*, unsigned int, unsigned int, buf2d_struct*);
|
||||
extern void __stdcall (*buf2d_convert_text_matrix)(buf2d_struct*);
|
||||
extern void __stdcall (*buf2d_draw_text)(buf2d_struct*, buf2d_struct*, const char*, unsigned int, unsigned int);
|
||||
extern void __stdcall (*buf2d_crop_color)(buf2d_struct*, unsigned int, unsigned int);
|
||||
extern void __stdcall (*buf2d_offset_h)(buf2d_struct*, unsigned int, unsigned int, unsigned int);
|
||||
extern void __stdcall (*buf2d_flood_fill)(buf2d_struct*, unsigned int, unsigned int, unsigned int, unsigned int);
|
||||
extern void __stdcall (*buf2d_set_pixel)(buf2d_struct*, unsigned int, unsigned int, unsigned int);
|
||||
extern unsigned __stdcall (*buf2d_get_pixel)(buf2d_struct*, unsigned int, unsigned int);
|
||||
extern void __stdcall (*buf2d_flip_h)(buf2d_struct*);
|
||||
extern void __stdcall (*buf2d_flip_v)(buf2d_struct*);
|
||||
extern void __stdcall (*buf2d_filter_dither)(buf2d_struct*, unsigned int);
|
||||
DLLAPI void __stdcall buf2d_draw(buf2d_struct*);
|
||||
DLLAPI void __stdcall buf2d_clear(buf2d_struct*, unsigned int);
|
||||
DLLAPI void __stdcall buf2d_delete(buf2d_struct*);
|
||||
DLLAPI void __stdcall buf2d_rotate(buf2d_struct*, unsigned int);
|
||||
DLLAPI void __stdcall buf2d_resize(buf2d_struct*, unsigned int, unsigned int, unsigned int);
|
||||
DLLAPI void __stdcall buf2d_line(buf2d_struct*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int);
|
||||
DLLAPI void __stdcall buf2d_line_sm(buf2d_struct*, unsigned int, unsigned int, unsigned int, unsigned int);
|
||||
DLLAPI void __stdcall buf2d_rect_by_size(buf2d_struct*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int);
|
||||
DLLAPI void __stdcall buf2d_filled_rect_by_size(buf2d_struct*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int);
|
||||
DLLAPI void __stdcall buf2d_circle(buf2d_struct*, unsigned int, unsigned int, unsigned int, unsigned int);
|
||||
DLLAPI void __stdcall buf2d_img_hdiv2(buf2d_struct*);
|
||||
DLLAPI void __stdcall buf2d_img_wdiv2(buf2d_struct*);
|
||||
DLLAPI void __stdcall buf2d_conv_24_to_8(buf2d_struct*, unsigned int);
|
||||
DLLAPI void __stdcall buf2d_conv_24_to_32(buf2d_struct*, unsigned int);
|
||||
DLLAPI void __stdcall buf2d_bit_blt_transp(buf2d_struct*, unsigned int, unsigned int, buf2d_struct*);
|
||||
DLLAPI void __stdcall buf2d_bit_blt_alpha(buf2d_struct*, unsigned int, unsigned int, buf2d_struct*);
|
||||
DLLAPI void __stdcall buf2d_convert_text_matrix(buf2d_struct*);
|
||||
DLLAPI void __stdcall buf2d_draw_text(buf2d_struct*, buf2d_struct*, const char*, unsigned int, unsigned int);
|
||||
DLLAPI void __stdcall buf2d_crop_color(buf2d_struct*, unsigned int, unsigned int);
|
||||
DLLAPI void __stdcall buf2d_offset_h(buf2d_struct*, unsigned int, unsigned int, unsigned int);
|
||||
DLLAPI void __stdcall buf2d_flood_fill(buf2d_struct*, unsigned int, unsigned int, unsigned int, unsigned int);
|
||||
DLLAPI void __stdcall buf2d_set_pixel(buf2d_struct*, unsigned int, unsigned int, unsigned int);
|
||||
DLLAPI unsigned __stdcall buf2d_get_pixel(buf2d_struct*, unsigned int, unsigned int);
|
||||
DLLAPI void __stdcall buf2d_flip_h(buf2d_struct*);
|
||||
DLLAPI void __stdcall buf2d_flip_v(buf2d_struct*);
|
||||
DLLAPI void __stdcall buf2d_filter_dither(buf2d_struct*, unsigned int);
|
||||
|
||||
#endif /* KOLIBRI_BUF2D_H */
|
||||
|
Reference in New Issue
Block a user