|
| uint32_t | DeodhaiAllocateNewHandle () |
| | DeodhaiAllocateNewHandle – get a new window handle.
|
| |
| void | DeodhaiInitialiseData () |
| | DeodhaiInitialiseData – initialise all data.
|
| |
| void | DeodhaiAddWindow (Window *win) |
| | DeodhaiAddWindow – add a window to window list.
|
| |
| void | DeodhaiRemoveWindow (Window *win) |
| |
| void | DeodhaiAddWindowAlwaysOnTop (Window *win) |
| | DeodhaiAddWindow – add a window to window list.
|
| |
| void | DeodhaiRemoveWindowAlwaysOnTop (Window *win) |
| |
| Window * | DeodhaiCreateWindow (int x, int y, int w, int h, uint16_t flags, uint16_t ownerId, char *title) |
| | DeodhaiCreateWindow – create a new deodhai window.
|
| |
| void | CursorStoreBack (ChCanvas *canv, Cursor *cur, unsigned x, unsigned y) |
| |
| void | CursorDrawBack (ChCanvas *canv, Cursor *cur, unsigned x, unsigned y) |
| |
| void | DrawWallpaper (ChCanvas *canv, const char *filename) |
| | DrawWallpaper for getting jpeg image as wallpaper fully jpeg encoder is needed, i use synfig studio for jpeg encoder.
|
| |
| void | ChangeCursor (Cursor *newCursor) |
| | ChangeCursor – change current cursor to new cursor.
|
| |
| void | XRComposeFrame (ChCanvas *canvas) |
| |
| void | DeodhaiWindowMakeTop (Window *win) |
| | DeodhaiWindowMakeTop – brings a window to front.
|
| |
| void | DeodhaiWindowSetFocused (Window *win, bool notify) |
| | DeodhaiWindowSetFocused – cast focus to a new window.
|
| |
| void | DeodhaiWindowMove (Window *win, int x, int y) |
| | DeodhaiWindowMove – move an window to a new location.
|
| |
| bool | DeodhaiCheckWindowPointOcclusion (Window *win, int x, int y) |
| | DeodhaiCheckWindowPointOcclusion – checks if given x and y of point of a window is occluded by another window , from given window to front window of the list.
|
| |
| void | DeodhaiWindowCheckDraggable (int x, int y, int button) |
| | DeodhaiWindowCheckDraggable – check for draggable windows.
|
| |
| void | DeodhaiWindowCheckResizable (int x, int y, int button) |
| | DeodhaiWindowCheckResizable – checks and resize focused Window.
|
| |
| void | DeodhaiSendMouseEvent (int handle, int ownerId, uint8_t handleType, uint8_t eventType, int x, int y, int button) |
| | DeodhaiSendMouseEvent – send mouse event to desired window.
|
| |
| void | DeodhaiBroadcastMouse (int mouse_x, int mouse_y, int button) |
| |
| void | DeodhaiWindowHide (Window *win) |
| | DeodhaiWindowHide – hides a window.
|
| |
| void | DeodhaiBroadcastKey (int code) |
| |
| void | DeodhaiBroadcastMessage (PostEvent *e, Window *skippablewin) |
| | DeodhaiBrodcastMessage – broadcast a message to every window.
|
| |
| void | DeodhaiCloseWindow (Window *win) |
| | DeodhaiCloseWindow – closes and cleanup an opened window.
|
| |
| int | main (int argc, char *argv[]) |
| | main – main entry
|
| |
| void | DeodhaiUpdateBits (bool window_update, bool skip_disable) |
| |
| int | _get_gpu_display_id () |
| |
| bool | _is_gpu_enabled () |
| |
| bool | _is_gpu_userspace () |
| |
| int | _get_gpu_fd () |
| |
| Window * | _get_always_on_top () |
| |
| Window * | _get_root_window () |
| |
| Window * | _get_focused_window () |
| |
| Cursor * | _get_current_cursor () |
| |
| void | _take_update_bits (bool *window_update_all_, bool *always_on_top_update) |
| |
| void | _set_always_on_top_update (bool update) |
| |
| #define __DEODHAI_COMPOSE3D__ 1 |
BSD 2-Clause License
Copyright (c) 2022, 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:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
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.
BSD 2-Clause License
Copyright (c) 2022-2026, 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:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
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.
| void XRComposeFrame |
( |
ChCanvas * |
canvas | ) |
|
Normal application windows
do either one – dirty area tracking or else update all
Zoomed (maximised) windows: stretched-fill upscale into the compose canvas (the back surface the GPU flush presents from), above normal windows; always-on-top and cursor still compose over them afterwards. Fullscreen dirty is published so transfer moves it.
Always on Top window , stacking order