added color picking with ALT key, added crash report library for windows

This commit is contained in:
2017-05-29 08:47:04 +01:00
parent 6d14ccd426
commit 0f721393bb
19 changed files with 170 additions and 26 deletions

View File

@@ -95,6 +95,7 @@ bool App::gesture_end()
}
bool App::key_down(kKey key)
{
keys[(int)key] = true;
KeyEvent e;
e.m_type = kEventType::KeyDown;
e.m_key = key;
@@ -104,6 +105,7 @@ bool App::key_down(kKey key)
}
bool App::key_up(kKey key)
{
keys[(int)key] = false;
KeyEvent e;
e.m_type = kEventType::KeyUp;
e.m_key = key;