MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / OnResize

Method OnResize

GTE/Applications/WindowApplication.cpp:59–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59bool WindowApplication::OnResize(int32_t xSize, int32_t ySize)
60{
61 mIsMinimized = false;
62 mIsMaximized = false;
63
64 if (xSize != mXSize || ySize != mYSize)
65 {
66 mXSize = xSize;
67 mYSize = ySize;
68
69 if (mBaseEngine)
70 {
71 mBaseEngine->Resize(xSize, ySize);
72 }
73 return true;
74 }
75
76 return false;
77}
78
79void WindowApplication::OnMinimize()
80{

Callers

nothing calls this directly

Calls 1

ResizeMethod · 0.45

Tested by

no test coverage detected