fix(test): 校准 KEY 用例 Tooltip 延时与日志轮转
This commit is contained in:
+1
-3
@@ -150,7 +150,6 @@ int main()
|
||||
auto configureButton = [&](Button* button, const std::string& tooltip)
|
||||
{
|
||||
button->enableTooltip(true);
|
||||
button->setTooltipDelay(120);
|
||||
button->setTooltipText(tooltip);
|
||||
};
|
||||
|
||||
@@ -382,7 +381,6 @@ int main()
|
||||
auto configureTooltip = [](Button* button, const std::string& text)
|
||||
{
|
||||
button->enableTooltip(true);
|
||||
button->setTooltipDelay(120);
|
||||
button->setTooltipText(text);
|
||||
};
|
||||
auto makeTestButton = [&](int x, int y, int width, int height, const std::string& text)
|
||||
@@ -1044,7 +1042,7 @@ bool gSigned = false; //是否为有符号数
|
||||
int main()
|
||||
{
|
||||
//StellarX::SxLogger::Get().enableConsole(true);
|
||||
StellarX::SxLogger::Get().enableFile("log.txt",true,1024);
|
||||
StellarX::SxLogger::Get().enableFile("log.txt", true, 10u * 1024u * 1024u);
|
||||
StellarX::SxLogger::Get().setMinLevel(StellarX::SxLogLevel::Debug); // Info/Debug/Trace 自己切
|
||||
StellarX::SxLogger::Get().setLanguage(StellarX::SxLogLanguage::ZhCN); // ZhCN / EnUS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user