.autotest adjustments

This commit is contained in:
Mirek Fidler 2026-06-17 18:19:37 +02:00
parent fb2a4bc30d
commit f1d98707c5
5 changed files with 1 additions and 11 deletions

View file

@ -258,8 +258,6 @@ void Ctrl::ProcessEvent(XEvent *event)
&& event->type != MotionNotify)
for(XEventMap *m = sXevent; m->ID; m++)
if(m->ID == event->type) {
int t = msecs() - s_starttime;
VppLog() << Format("%d.%01d", t / 1000, t % 1000);
VppLog() << " EVENT " << Format("%-20.20s", m->name);
VppLog() << "[window: " << event->xany.window << "] ";
if(q >= 0)

View file

@ -25,6 +25,5 @@ MyApp::MyApp()
GUI_APP_MAIN
{
// SetStdFont(Arial(25));
SyncUHDMode();
MyApp().Run();
}

View file

@ -16,7 +16,7 @@ struct Test : TopWindow {
int x = 0;
for(int mode = 0; mode < 4; mode++) {
SColorPaper_Write(mode & 1 ? Black() : White());
SetUHDMode(mode & 2);
// SetUHDMode(mode & 2);
w.DrawRect(x, 0, sz.cx, sz.cy, SColorPaper());
w.DrawText(x, 0, get_i(mode, "Normal", "Dark", "UHD", "UHD Dark"), StdFont(), LtMagenta());
int y = 200;

View file

@ -101,7 +101,6 @@ struct OpenGLExample : GLCtrl {
GUI_APP_MAIN
{
Ctrl::GlobalBackPaint();
TopWindow win;
OpenGLExample gl;
gl.SetFrame(InsetFrame());

View file

@ -103,11 +103,6 @@ TestChStyle::TestChStyle()
switch1.Disable();
switch1 <<= 1;
auto AddSkin = [=](void (*fn)(), const char *name) {
skin.Add(skin_fn.GetCount(), name);
skin_fn.Add(fn);
};
for(auto sk : GetAllChSkins()) {
skin.Add(skin_fn.GetCount(), sk.b);
skin_fn.Add(sk.a);
@ -202,7 +197,6 @@ GUI_APP_MAIN
#endif
RDUMPM(Environment());
RDUMP(IsUHDMode());
RDUMP(SColorDisabled());
RDUMP(SColorText());