Updating repo.
This commit is contained in:
parent
10196882ef
commit
9155594947
3 changed files with 5 additions and 3 deletions
|
@ -36,7 +36,7 @@ void guiEventsDo(void) {
|
||||||
surfaceClear(GUI_CYAN);
|
surfaceClear(GUI_CYAN);
|
||||||
|
|
||||||
// Paint GUI.
|
// Paint GUI.
|
||||||
wmPaint(&event);
|
wmUpdate(&event);
|
||||||
|
|
||||||
// Paint mouse pointer.
|
// Paint mouse pointer.
|
||||||
surfaceBlitWithTransparency(__guiBackBuffer, event.x, event.y, _mousePointer, _mouseTransparency);
|
surfaceBlitWithTransparency(__guiBackBuffer, event.x, event.y, _mousePointer, _mouseTransparency);
|
||||||
|
|
|
@ -340,7 +340,7 @@ RegisterT *windowRegister(uint8_t magic) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void wmPaint(EventT *event) {
|
void wmUpdate(EventT *event) {
|
||||||
int16_t i;
|
int16_t i;
|
||||||
int16_t x2;
|
int16_t x2;
|
||||||
int16_t y2;
|
int16_t y2;
|
||||||
|
@ -359,6 +359,8 @@ void wmPaint(EventT *event) {
|
||||||
widget->reg->paint(widget);
|
widget->reg->paint(widget);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (dragging) sleep(1);
|
||||||
|
|
||||||
// Get top window.
|
// Get top window.
|
||||||
win = _windowList[arrlen(_windowList) - 1];
|
win = _windowList[arrlen(_windowList) - 1];
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ void windowPaint(struct WidgetS *widget, ...);
|
||||||
RegisterT *windowRegister(uint8_t magic);
|
RegisterT *windowRegister(uint8_t magic);
|
||||||
|
|
||||||
|
|
||||||
void wmPaint(EventT *event);
|
void wmUpdate(EventT *event);
|
||||||
void wmShutdown(void);
|
void wmShutdown(void);
|
||||||
void wmStartup(void);
|
void wmStartup(void);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue