Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of SimpleGUI by
Event.h
00001 #ifndef SIMPLEGUI_EVENT_H 00002 #define SIMPLEGUI_EVENT_H 00003 00004 #include "mbed.h" 00005 #include "EventListener.h" 00006 #include "EventType.h" 00007 00008 typedef struct Event { 00009 00010 EventListener *target; 00011 00012 EventType type; 00013 00014 // This should probably be some kind of union to cope with the different kinds of event we expect to handle 00015 // For now I'm going to explicitly assume events relate to something on-screen 00016 int screenX; 00017 int screenY; 00018 00019 } Event; 00020 00021 #endif
Generated on Tue Jul 12 2022 22:27:14 by
