projects
/
summerhack
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
resolution don't care option, heuristic to avoid multimon sizes
[summerhack]
/
src
/
sumhack.cpp
diff --git
a/src/sumhack.cpp
b/src/sumhack.cpp
index
9e2a224
..
6f6a8fa
100644
(file)
--- a/
src/sumhack.cpp
+++ b/
src/sumhack.cpp
@@
-88,7
+88,7
@@
bool init() {
}
if(gip->fullscreen) {
}
if(gip->fullscreen) {
- SDL_ShowCursor(0);
+ fxwt::show_cursor(false);
}
fxwt::set_window_title("The Lab Demos :: Summer Hack (rebuild)");
}
fxwt::set_window_title("The Lab Demos :: Summer Hack (rebuild)");
@@
-145,18
+145,18
@@
bool init() {
timer_reset(&timer);
timer_start(&timer);
timer_reset(&timer);
timer_start(&timer);
-
+
return true;
}
void clean_up() {
unsigned long time = timer_getmsec(&timer);
return true;
}
void clean_up() {
unsigned long time = timer_getmsec(&timer);
-
+
if(music) {
sdlvf_done();
}
if(music) {
sdlvf_done();
}
- SDL_ShowCursor(1);
+ fxwt::show_cursor(true);
for(size_t i=0; i<parts.size(); i++) {
delete parts[i];
for(size_t i=0; i<parts.size(); i++) {
delete parts[i];