This commit is contained in:
halx99 2023-03-25 16:08:48 +08:00
parent 7bca1b19a2
commit 9a4d173030
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ GLViewImpl* GLViewImpl::create(std::string_view viewName)
}
GLViewImpl* GLViewImpl::createWithRect(std::string_view viewName,
const Rect& rect, float frameZoomFactor)
const Rect& rect, float frameZoomFactor, bool /*resizable*/)
{
auto ret = new GLViewImpl;
if (ret && ret->initWithRect(viewName, rect, frameZoomFactor))

View File

@ -48,7 +48,7 @@ class AX_DLL GLViewImpl : public GLView
{
public:
static GLViewImpl* create(std::string_view viewName);
static GLViewImpl* createWithRect(std::string_view viewName, const Rect& rect, float frameZoomFactor = 1.0f);
static GLViewImpl* createWithRect(std::string_view viewName, const Rect& rect, float frameZoomFactor = 1.0f, bool resizable = false);
static GLViewImpl* createWithFullScreen(std::string_view viewName);
/* override functions */