Bob Polis
|
74d8f56031
|
Allows flags for window creation to be passed
|
2021-10-09 23:48:00 +02:00 |
|
Bob Polis
|
81278f0186
|
Changed to default masks to fix color bug
|
2021-10-09 23:37:14 +02:00 |
|
Bob Polis
|
68fe26613a
|
Rmoved commented-out code
|
2021-02-01 13:13:32 +01:00 |
|
Bob Polis
|
3db2099635
|
Setting image no longer resizes window
It caused bugs in more general cases.
You should resize the window from app code when necessary.
|
2021-02-01 10:50:40 +01:00 |
|
Bob Polis
|
f1e82f6126
|
Changed callbacks to std::function
Now you can also use lambdas with captured values.
|
2021-02-01 00:38:55 +01:00 |
|
Bob Polis
|
502664615a
|
added delay to run loop in order to cap to a given fps
|
2020-11-13 17:18:16 +01:00 |
|
Bob Polis
|
32ac8b4e0f
|
refactored event handling; added _dirty flag to only update when dirty
|
2020-11-13 16:54:49 +01:00 |
|
Bob Polis
|
6202c7dba7
|
added fps; added time measurement of run loop; extra sleep commented out because of buggy update behaviour when used
|
2020-11-11 17:37:23 +01:00 |
|
Bob Polis
|
24bed16090
|
changed literal to named constant
|
2020-11-11 17:22:45 +01:00 |
|
Bob Polis
|
b9e76c5286
|
moved all sources into src directory
|
2020-11-11 17:20:42 +01:00 |
|