@@ -559,3 +559,15 @@ puglGetNativeWindow(PuglView* view) | |||||
{ | { | ||||
return (PuglNativeWindow)view->impl->glview; | return (PuglNativeWindow)view->impl->glview; | ||||
} | } | ||||
int | |||||
puglUpdateGeometryConstraints(PuglView* view, int min_width, int min_height, bool aspect) | |||||
{ | |||||
// TODO | |||||
return 1; | |||||
(void)view; | |||||
(void)min_width; | |||||
(void)min_height; | |||||
(void)aspect; | |||||
} |
@@ -468,3 +468,15 @@ puglGetNativeWindow(PuglView* view) | |||||
{ | { | ||||
return (PuglNativeWindow)view->impl->hwnd; | return (PuglNativeWindow)view->impl->hwnd; | ||||
} | } | ||||
int | |||||
puglUpdateGeometryConstraints(PuglView* view, int min_width, int min_height, bool aspect) | |||||
{ | |||||
// TODO | |||||
return 1; | |||||
(void)view; | |||||
(void)min_width; | |||||
(void)min_height; | |||||
(void)aspect; | |||||
} |
@@ -436,7 +436,7 @@ public: | |||||
bool handlePluginSpecial(const bool press, const Key key) | bool handlePluginSpecial(const bool press, const Key key) | ||||
{ | { | ||||
return glWindow.handlePluginKeyboard(press, key); | |||||
return glWindow.handlePluginSpecial(press, key); | |||||
} | } | ||||
#else | #else | ||||
void setWindowSize(const uint, const uint, const bool) {} | void setWindowSize(const uint, const uint, const bool) {} | ||||
@@ -37,7 +37,7 @@ public: | |||||
fSampleRate = getSampleRate(); | fSampleRate = getSampleRate(); | ||||
fFont = createFontFromFile("sans", "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf"); | fFont = createFontFromFile("sans", "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf"); | ||||
setGeometryConstraints(405, 256, false); | |||||
setGeometryConstraints(405, 256, true); | |||||
} | } | ||||
protected: | protected: | ||||