MCPcopy Create free account
hub / github.com/WheretIB/nullc / OnSize

Function OnSize

GUI/TabbedFiles.cpp:188–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186 }
187
188 void OnSize(HWND wnd, unsigned int width, unsigned int height)
189 {
190 TabbedFilesData *data = GetData(wnd);
191 data->width = width;
192 SetWindowPos(data->closeButton, NULL, width - 15, 0, 15, 15, NULL);
193 (void)height;
194 }
195
196 void OnMouseLeft(HWND wnd, bool down, unsigned int x, unsigned int y)
197 {

Callers 1

TabbedFilesProcMethod · 0.85

Calls 1

GetDataFunction · 0.70

Tested by

no test coverage detected