forked from Mirrors/openclonk
sdl-mainloop: Draw things again
parent
182889bfe4
commit
25bbaef7d2
|
@ -608,6 +608,5 @@ void C4ToolsDlg::UpdateTextures() {}
|
|||
void C4ToolsDlg::UpdateToolCtrls() {}
|
||||
bool C4Viewport::ScrollBarsByViewPosition() {return 0;}
|
||||
bool C4Viewport::TogglePlayerLock() {return 0;}
|
||||
void C4Window::RequestUpdate() {}
|
||||
#include "C4ConsoleGUICommon.h"
|
||||
#endif
|
||||
|
|
|
@ -207,6 +207,7 @@ bool C4Window::GetSize(C4Rect*) {return 0;}
|
|||
C4Window* C4Window::Init(C4Window::WindowKind, C4AbstractApp*, char const*, C4Window*, bool) {return this;}
|
||||
bool C4Window::ReInit(C4AbstractApp*) {return 0;}
|
||||
bool C4Window::RestorePosition(char const*, char const*, bool) {return 0;}
|
||||
void C4Window::RequestUpdate() {}
|
||||
void C4Window::SetSize(unsigned int, unsigned int) {}
|
||||
void C4Window::SetTitle(char const*) {}
|
||||
|
||||
|
|
|
@ -99,6 +99,12 @@ void C4Window::SetTitle(const char * Title)
|
|||
SDL_WM_SetCaption(Title, 0);
|
||||
}
|
||||
|
||||
void C4Window::RequestUpdate()
|
||||
{
|
||||
// just invoke directly
|
||||
PerformUpdate();
|
||||
}
|
||||
|
||||
// For Max OS X, the implementation resides in StdMacApp.mm
|
||||
#ifndef __APPLE__
|
||||
|
||||
|
|
Loading…
Reference in New Issue