started to fix the manuals for EBuf. Implemented a
[neuro.git] / src / extlib / none.c
blob539ced7c13ed315f2e4006282ed6f87dcf89ab96
2 /*
3 * libneuro, a light weight abstraction of high or lower libraries
4 * and toolkit for applications.
5 * Copyright (C) 2005-2006 Nicholas Niro, Robert Lemay
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 /* none.c
23 * the source file permitting to compile this library without any lower
24 * extern library(this is used for debugging).
27 #include <extlib.h>
28 #include <stdlib.h>
30 /* video constructor destructor */
31 int
32 Lib_VideoInit(v_object **screen, v_object **screen_buf)
34 return 0;
37 void
38 Lib_BlitObject(v_object *source, Rectan *src, v_object *destination, Rectan *dst)
43 void
44 Lib_LoadBMP(const char *path, v_object **img)
49 void
50 Lib_LoadBMPBuffer(void *data, v_object **img)
55 u32
56 Lib_MapRGB(v_object *vobj, u8 r, u8 g, u8 b)
58 return 0;
61 void
62 Lib_SetColorKey(v_object *vobj, u32 key)
67 void
68 Lib_SetAlpha(v_object *vobj, u8 alpha)
73 v_object *
74 Lib_CreateVObject(u32 flags, i32 width, i32 height, i32 depth, u32 Rmask, u32 Gmask,
75 u32 Bmask, u32 Amask)
77 return NULL;
80 void
81 Lib_SetScreenSize(u32 width, u32 height)
86 void
87 Lib_GetScreenSize(u32 *width, u32 *height)
92 void
93 Lib_UpdateRect(v_object *source, Rectan *src)
98 u32
99 Lib_GetDefaultDepth()
101 return 0;
104 void
105 Lib_SyncPixels(v_object *src)
110 void
111 Lib_FillRect(v_object *source, Rectan *src, u32 color)
116 void
117 Lib_Flip(v_object *source)
122 void
123 Lib_FreeVobject(v_object *source)
128 void
129 Lib_LockVObject(v_object *vobj)
134 void
135 Lib_UnlockVObject(v_object *vobj)
140 void
141 Lib_GiveVobjectProp(v_object *source, Rectan *output)
146 void
147 Lib_GetVObjectData(v_object *vobj, u32 *flags, i32 *h, i32 *w, u32 *pitch,
148 void **pixels, Rectan **clip_rect, u8 *bpp,
149 u32 *Rmask, u32 *Gmask, u32 *Bmask,u32 *Amask)
154 v_object *
155 Lib_RenderUnicode(font_object *ttf, u32 size, u32 character, i16 *x, i16 *y, u32 color, Rectan *src, Rectan *dst)
157 return NULL;
160 font_object *
161 Lib_LoadFontFile(const char *fonts_file_path)
163 return NULL;
166 void
167 Lib_CleanFont(font_object *font)
173 Lib_FontsInit()
175 return 0;
178 void
179 Lib_FontsExit()
184 void
185 Lib_VideoExit()
190 /*----------------- Input Events -----------------*/
192 u8 *
193 Lib_GetKeyState(i32 *numkeys)
195 return NULL;
199 Lib_GetMouseState(i32 *x, i32 *y)
201 return 0;
204 void
205 Lib_EventPoll()
211 Lib_PollEvent(void *event)
213 return 0;
217 Lib_EventsInit()
219 return 0;
222 void
223 Lib_EventsExit()