Updating repo.

This commit is contained in:
Scott Duensing 2022-06-17 17:20:51 -05:00
parent 10196882ef
commit 9155594947
3 changed files with 5 additions and 3 deletions

View file

@ -36,7 +36,7 @@ void guiEventsDo(void) {
surfaceClear(GUI_CYAN);
// Paint GUI.
wmPaint(&event);
wmUpdate(&event);
// Paint mouse pointer.
surfaceBlitWithTransparency(__guiBackBuffer, event.x, event.y, _mousePointer, _mouseTransparency);

View file

@ -340,7 +340,7 @@ RegisterT *windowRegister(uint8_t magic) {
}
void wmPaint(EventT *event) {
void wmUpdate(EventT *event) {
int16_t i;
int16_t x2;
int16_t y2;
@ -359,6 +359,8 @@ void wmPaint(EventT *event) {
widget->reg->paint(widget);
}
if (dragging) sleep(1);
// Get top window.
win = _windowList[arrlen(_windowList) - 1];

View file

@ -36,7 +36,7 @@ void windowPaint(struct WidgetS *widget, ...);
RegisterT *windowRegister(uint8_t magic);
void wmPaint(EventT *event);
void wmUpdate(EventT *event);
void wmShutdown(void);
void wmStartup(void);