mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
24 lines
414 B
C++
24 lines
414 B
C++
#include <CtrlLib/CtrlLib.h>
|
|
|
|
using namespace Upp;
|
|
|
|
struct MyApp : TopWindow {
|
|
void Paint(Draw& w) override {
|
|
w.DrawRect(GetSize(), White());
|
|
for(int i = 0; i < 100; i++) {
|
|
{
|
|
RTIMING("IsClipboardAvailableText");
|
|
IsClipboardAvailableText();
|
|
}
|
|
{
|
|
RTIMING("IsClipboardAvailableImage");
|
|
IsClipboardAvailableImage();
|
|
}
|
|
}
|
|
}
|
|
};
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
MyApp().Run();
|
|
}
|