MCPcopy Create free account
hub / github.com/acl-dev/acl / SetMinSize

Method SetMinSize

lib_acl_cpp/samples/gui_rpc/ui/WndResizer.cpp:1865–1878  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1863}
1864
1865BOOL CPanel::SetMinSize(CSize & size)
1866{
1867 if (MaxSize.cx < size.cx)
1868 {
1869 return FALSE;
1870 }
1871 if (MaxSize.cy < size.cy)
1872 {
1873 return FALSE;
1874 }
1875
1876 MinSize = size;
1877 return TRUE;
1878}
1879BOOL CPanel::SetMaxSize(CSize & size)
1880{
1881 if (MinSize.cx > size.cx)

Callers 2

SetMinimumSizeMethod · 0.45
CSpitterPanelMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected