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

Method OnSize

GUI/RichTextarea.cpp:2204–2218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2202}
2203
2204void TextareaData::OnSize(unsigned int width, unsigned int height)
2205{
2206 areaWidth = width;
2207 areaHeight = height;
2208
2209 if(RichTextarea::areaStatus)
2210 RichTextarea::SetStatusBar(RichTextarea::areaStatus, areaWidth);
2211
2212 GetClientRect(areaWnd, &toolInfo.rect);
2213 toolInfo.rect.right = toolInfo.rect.left + RichTextarea::toolSize;
2214
2215 UpdateScrollBar();
2216
2217 InvalidateRect(areaWnd, NULL, false);
2218}
2219
2220void TextareaData::OnLeftMouseDoubleclick(unsigned int x, unsigned int y)
2221{

Callers 1

TextareaProcMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected