|
XenevaOS
|


Go to the source code of this file.
Classes | |
| struct | _win_info_ |
| struct | _win_ |
Macros | |
| #define | WINDOW_FLAG_MOVABLE (1<<0) |
| #define | WINDOW_FLAG_STATIC (1<<1) |
| #define | WINDOW_FLAG_ALWAYS_ON_TOP (1<<2) |
| #define | WINDOW_FLAG_NON_RESIZABLE (1<<3) |
| #define | WINDOW_FLAG_BROADCAST_LISTENER (1<<4) |
| #define | WINDOW_FLAG_ANIMATED (1<<5) |
| #define | WINDOW_FLAG_BLOCKED (1<<6) |
| #define | WINDOW_FLAG_MESSAGEBOX (1<<7) |
| #define | WINDOW_FLAG_DIALOGBOX (1<<8) |
| #define | WINDOW_FLAG_ANIMATION_FADE_IN (1<<9) |
| #define | WINDOW_FLAG_ANIMATION_FADE_OUT (1<<10) |
| #define | WINDOW_FLAG_POPUP (1<<11) |
| #define | SHADOW_SIZE 0 |
| #define | SHADOW_COLOR 0 |
Typedefs | |
| typedef struct _win_info_ | WinSharedInfo |
| typedef struct _win_ | Window |
Functions | |
| uint32_t * | CreateSharedWinSpace (uint16_t *shkey, uint16_t ownerId) |
| CreateSharedWinSpace – Create a shared window space. | |
| void * | CreateNewBackBuffer (uint16_t ownerId, uint32_t sz, uint16_t *key) |
| CreateNewBackBuffer –Create a back buffer window. | |
| Window * | CreateWindow (int x, int y, int w, int h, uint16_t flags, uint16_t ownerId, char *title) |
| CreateWindow – create a new window. | |
BSD 2-Clause License
Copyright (c) 2022-2023, Manas Kamal Choudhury All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
| #define SHADOW_COLOR 0 |
| #define SHADOW_SIZE 0 |
| #define WINDOW_FLAG_ALWAYS_ON_TOP (1<<2) |
| #define WINDOW_FLAG_ANIMATED (1<<5) |
| #define WINDOW_FLAG_ANIMATION_FADE_IN (1<<9) |
| #define WINDOW_FLAG_ANIMATION_FADE_OUT (1<<10) |
| #define WINDOW_FLAG_BLOCKED (1<<6) |
| #define WINDOW_FLAG_BROADCAST_LISTENER (1<<4) |
| #define WINDOW_FLAG_DIALOGBOX (1<<8) |
| #define WINDOW_FLAG_MESSAGEBOX (1<<7) |
| #define WINDOW_FLAG_MOVABLE (1<<0) |
| #define WINDOW_FLAG_NON_RESIZABLE (1<<3) |
| #define WINDOW_FLAG_POPUP (1<<11) |
| #define WINDOW_FLAG_STATIC (1<<1) |
| typedef struct _win_info_ WinSharedInfo |
CreateNewBackBuffer –Create a back buffer window.
| ownerId | – owner id |
| sz | – Size of the buffer |
| key | – location where to store the buffer key |
CreateSharedWinSpace – Create a shared window space.
| shkey | – location where to store the window key |
| ownerId | – owning process id |
|
extern |
CreateWindow – create a new window.
| x | – X position of the window |
| y | – Y position of the window |
| w | – Width of the window |
| h | – Height of the window |
| flags | – Flags for thr window |
| ownerId | – process owner id of the window |
| title | – title of the window |