Initial commit
This commit is contained in:
commit
edfc5298e1
252 changed files with 93965 additions and 0 deletions
16
source/System/SystemEvent.cpp
Normal file
16
source/System/SystemEvent.cpp
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
|
||||
#include <Spectre/System/SystemEvent.h>
|
||||
|
||||
SysEvent::SysEvent(Type type) :
|
||||
type (type)
|
||||
{
|
||||
}
|
||||
|
||||
SysEvent SysEvent::sizeEvent(Display *display, int width, int height)
|
||||
{
|
||||
SysEvent event(Size);
|
||||
event.size.display = display;
|
||||
event.size.width = width;
|
||||
event.size.height = height;
|
||||
return event;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue