|
| void | ChDefaultWinPaint (ChWindow *win) |
| |
| void | ChWindowPaintCloseButton (ChWindow *win, ChWinGlobalControl *button) |
| |
| void | ChWindowPaintMaximButton (ChWindow *win, ChWinGlobalControl *button) |
| |
| void | ChWindowPaintMinimButton (ChWindow *win, ChWinGlobalControl *button) |
| |
| void | ChWindowPaintTitlebar (ChWindow *win) |
| |
| void | ChDefaultPopupWinPaint (ChWindow *win) |
| |
| void | _apply_rounded_corner (uint32_t *backbuff, int radius, int winw, int winh) |
| |
| void | ChRequestWindow (ChitralekhaApp *app, int x, int y, int w, int h, char *title, uint16_t attrib, int handle) |
| |
| void | ChGlobalCtlMouseHandler (ChWindow *win, ChWinGlobalControl *global, int x, int y, int button) |
| |
| XE_EXTERN XE_EXPORT ChWinGlobalControl * | ChCreateGlobalButton (ChWindow *win, int x, int y, int w, int h, uint8_t type) |
| |
| void | ChGlobalCloseAction (ChWindow *win, ChWinGlobalControl *ctl) |
| |
| void | ChGlobalMaximAction (ChWindow *win, ChWinGlobalControl *ctl) |
| |
| void | ChGlobalMinimiseAction (ChWindow *win, ChWinGlobalControl *ctl) |
| |
| XE_EXTERN XE_EXPORT ChWindow * | ChCreateWindow (ChitralekhaApp *app, uint16_t attrib, char *title, int x, int y, int w, int h) |
| |
| XE_EXTERN XE_EXPORT void | ChWindowBroadcastIcon (ChitralekhaApp *app, char *iconfile) |
| |
| XE_EXTERN XE_EXPORT void | ChWindowUpdate (ChWindow *win, int x, int y, int w, int h, bool updateEntireWin, bool dirty) |
| |
| XE_EXTERN XE_EXPORT void | ChWindowPaint (ChWindow *win) |
| |
| XE_EXTERN XE_EXPORT void | ChWindowSetGlassMorphism (ChWindow *win, uint8_t alpha) |
| |
| XE_EXTERN XE_EXPORT void | ChWindowAddSubWindow (ChWindow *parent, ChWindow *win) |
| |
| XE_EXTERN XE_EXPORT ChWindow * | ChGetWindowByHandle (ChWindow *mainWin, int handle) |
| |
| XE_EXTERN XE_EXPORT ChWindow * | ChGetPopupWindowByHandle (ChWindow *mainWin, int handle) |
| |
| XE_EXTERN XE_EXPORT void | ChWindowHide (ChWindow *win) |
| |
| XE_EXTERN XE_EXPORT uint32_t | ChGetWindowHandle (ChitralekhaApp *app, char *title) |
| |
| XE_EXTERN XE_EXPORT void | ChWindowSetFocused (ChWindow *win) |
| |
| XE_EXTERN XE_EXPORT void | ChWindowHandleMouse (ChWindow *win, int x, int y, int button) |
| |
| XE_EXTERN XE_EXPORT void | ChWindowHandleTouch (ChWindow *win, int x, int y, int button) |
| |
| XE_EXTERN XE_EXPORT void | ChPopupWindowHandleMouse (ChWindow *win, int x, int y, int button) |
| |
| XE_EXTERN XE_EXPORT void | ChWindowHandleFocus (ChWindow *win, bool focus_val, uint32_t handle) |
| |
| XE_EXTERN XE_EXPORT void | ChWindowAddWidget (ChWindow *win, ChWidget *wid) |
| |
| XE_EXTERN XE_EXPORT void | ChWindowRegisterJump (ChWindow *win) |
| |
| XE_EXTERN XE_EXPORT void | ChWindowSetFlags (ChWindow *win, uint16_t flags) |
| |
| XE_EXTERN XE_EXPORT void | ChWindowMove (ChWindow *win, int newX, int newY) |
| |
| void | ChFreeWindowResources (ChWindow *win) |
| |
| XE_EXTERN XE_EXPORT void | ChPopupWindowClose (ChWindow *win) |
| |
| XE_EXTERN XE_EXPORT void | ChWindowCloseWindow (ChWindow *win) |
| |
| uint32_t | ChWindowGetBackgroundColor (ChWindow *win) |
| |
| XE_EXTERN XE_EXPORT ChWindow * | ChCreatePopupWindow (ChWindow *win, int x, int y, int w, int h, uint16_t flags, char *title) |
| |
| XE_EXTERN XE_EXPORT void | ChPopupWindowUpdate (ChPopupWindow *pw, int x, int y, int w, int h) |
| |
| XE_EXTERN XE_EXPORT void | ChPopupWindowShow (ChWindow *pw, ChWindow *win) |
| |
| XE_EXTERN XE_EXPORT void | ChPopupWindowUpdateLocation (ChWindow *pwin, ChWindow *win, int x, int y) |
| |
| XE_EXTERN XE_EXPORT void | ChPopupWindowHide (ChWindow *pw, ChWindow *parent) |
| |
| XE_EXTERN XE_EXPORT void | ChWindowHandleDestroyBuffer (ChWindow *win) |
| |
| void | ChWindowHandleReinitBuffer (ChWindow *win, int bufferkey) |
| | ChWindowHandleReinitBuffer – reinitialize back buffer with requested size.
|
| |
| #define WINDOW_DEFAULT_TITLEBAR_HEIGHT 26 |
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:
- 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.