| 
    MiniGUI API Reference (MiniGUI-Standalone)
    v4.0.0
    
   A mature and proven cross-platform GUI system for embedded and smart IoT devices 
   | 
 
This file includes global and miscellaneous interfaces of xVFB for MiniGUI. More...
Go to the source code of this file.
Data Structures | |
| struct | _XVFBHeader | 
| struct | _XVFBKEYDATA | 
| struct | _XVFBMOUSEDATA | 
| struct | _XVFBEVENT | 
| struct | _XVFBPalEntry | 
Typedefs | |
| typedef struct _XVFBHeader | XVFBHeader | 
| typedef struct _XVFBKEYDATA | XVFBKEYDATA | 
| typedef struct _XVFBMOUSEDATA | XVFBMOUSEDATA | 
| typedef struct _XVFBEVENT | XVFBEVENT | 
| typedef struct _XVFBPalEntry | XVFBPalEntry | 
Functions | |
| MG_EXPORT XVFBHeader *GUIAPI | xVFBAllocVirtualFrameBuffer (int width, int height, int depth, Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask, BOOL MSBLeft) | 
| create virtual framebuffer  More... | |
| MG_EXPORT void GUIAPI | xVFBFreeVirtualFrameBuffer (XVFBHeader *buf) | 
| free virtual framebuffer.  More... | |
| MG_EXPORT void *GUIAPI | xVFBCreateEventBuffer (int nr_events) | 
| create event circular buffer.  More... | |
| MG_EXPORT void GUIAPI | xVFBDestroyEventBuffer (void *event_buf) | 
| destroy event circular buffer.  More... | |
| MG_EXPORT int GUIAPI | xVFBNotifyNewEvent (const void *xvfb_event_buffer, XVFBEVENT *event) | 
| put a event to event circular buffer  More... | |
Variables | |
| MG_EXPORT void * | __mg_rtos_xvfb_event_buffer | 
| shared memory header of x virtual framebuffer.  More... | |
This file includes global and miscellaneous interfaces of xVFB for MiniGUI.
This file is part of MiniGUI, a mature cross-platform windowing and Graphics User Interface (GUI) support system for embedded systems and smart IoT devices. Copyright (C) 2007~2018, Beijing FMSoft Technologies Co., Ltd. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. Or, As this program is a library, any link to this program must follow GNU General Public License version 3 (GPLv3). If you cannot accept GPLv3, you need to be licensed from FMSoft. If you have got a commercial license of this program, please use it under the terms and conditions of the commercial license. For more information about the commercial license, please refer to <http://www.minigui.com/en/about/licensing-policy/>.
Definition in file xvfb.h.
| XVFBHeader * xVFBAllocVirtualFrameBuffer | ( | int | width, | 
| int | height, | ||
| int | depth, | ||
| Uint32 | Rmask, | ||
| Uint32 | Gmask, | ||
| Uint32 | Bmask, | ||
| Uint32 | Amask, | ||
| BOOL | MSBLeft | ||
| ) | 
create virtual framebuffer
| width | the width of virtual framebuffer | 
| height | the height of virtual framebuffer | 
| depth | the color depth of virtual framebuffer | 
| Rmask | the pixel red color mask | 
| Gmask | the pixel green color mask | 
| Bmask | the pixel blue color mask | 
| Amask | the pixel alpha mask | 
| MSBLeft | The flag indicating the Most Significant Bits (MSB) \ is left when depth is less than 8. | 
| void *GUIAPI xVFBCreateEventBuffer | ( | int | nr_events | ) | 
create event circular buffer.
| nr_events | capability of the event buffer | 
| void GUIAPI xVFBDestroyEventBuffer | ( | void * | event_buf | ) | 
destroy event circular buffer.
| event_buf | The pointer to event circular buffer. | 
| void GUIAPI xVFBFreeVirtualFrameBuffer | ( | XVFBHeader * | buf | ) | 
free virtual framebuffer.
| buf | The pointer to virtual framebuffer. | 
| int xVFBNotifyNewEvent | ( | const void * | xvfb_event_buffer, | 
| XVFBEVENT * | event | ||
| ) | 
put a event to event circular buffer
| xvfb_event_buffer | event circular buffer | 
| event | event shall be put into xvfb_event_buffer | 
 1.8.13