mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
20 lines
332 B
C++
20 lines
332 B
C++
#include "ScrollBug.h"
|
|
|
|
ScrollBug::ScrollBug()
|
|
{
|
|
CtrlLayout(*this, "Window title");
|
|
|
|
tab.Add(edit.SizePos(), "Edit");
|
|
tab.Add("Empty");
|
|
|
|
for(int i = 0; i < 16000; i++)
|
|
edit.Insert(0, Format("Line %d\n", 16000 - i));
|
|
|
|
Sizeable().Zoomable();
|
|
}
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
Ctrl::ShowRepaint = 30;
|
|
ScrollBug().Run();
|
|
}
|