00001 /* 00002 * Copyright (c) 2006 Ondrej Palkovsky 00003 * All rights reserved. 00004 * 00005 * Redistribution and use in source and binary forms, with or without 00006 * modification, are permitted provided that the following conditions 00007 * are met: 00008 * 00009 * - Redistributions of source code must retain the above copyright 00010 * notice, this list of conditions and the following disclaimer. 00011 * - Redistributions in binary form must reproduce the above copyright 00012 * notice, this list of conditions and the following disclaimer in the 00013 * documentation and/or other materials provided with the distribution. 00014 * - The name of the author may not be used to endorse or promote products 00015 * derived from this software without specific prior written permission. 00016 * 00017 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 00018 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 00019 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 00020 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 00021 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 00022 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 00023 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 00024 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 00025 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 00026 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00027 */ 00028 00035 #ifndef LIBC_FB_H_ 00036 #define LIBC_FB_H_ 00037 00038 #include <ipc/common.h> 00039 00040 typedef enum { 00041 FB_PUTCHAR = IPC_FIRST_USER_METHOD, 00042 FB_CLEAR, 00043 FB_GET_CSIZE, 00044 FB_GET_COLOR_CAP, 00045 FB_CURSOR_VISIBILITY, 00046 FB_CURSOR_GOTO, 00047 FB_SCROLL, 00048 FB_VIEWPORT_SWITCH, 00049 FB_VIEWPORT_CREATE, 00050 FB_VIEWPORT_DELETE, 00051 FB_SET_STYLE, 00052 FB_SET_COLOR, 00053 FB_SET_RGB_COLOR, 00054 FB_GET_RESOLUTION, 00055 FB_DRAW_TEXT_DATA, 00056 FB_FLUSH, 00057 FB_DRAW_PPM, 00058 FB_PREPARE_SHM, 00059 FB_DROP_SHM, 00060 FB_SHM2PIXMAP, 00061 FB_VP_DRAW_PIXMAP, 00062 FB_VP2PIXMAP, 00063 FB_DROP_PIXMAP, 00064 FB_ANIM_CREATE, 00065 FB_ANIM_DROP, 00066 FB_ANIM_ADDPIXMAP, 00067 FB_ANIM_CHGVP, 00068 FB_ANIM_START, 00069 FB_ANIM_STOP, 00070 FB_POINTER_MOVE, 00071 FB_SCREEN_YIELD, 00072 FB_SCREEN_RECLAIM 00073 } fb_request_t; 00074 00075 enum { 00076 FB_CCAP_NONE = 0, 00077 FB_CCAP_STYLE, 00078 FB_CCAP_INDEXED, 00079 FB_CCAP_RGB 00080 }; 00081 00082 #endif 00083