mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 22:02:58 -06:00
24 lines
315 B
C++
24 lines
315 B
C++
#include <CtrlLib/CtrlLib.h>
|
|
|
|
using namespace Upp;
|
|
|
|
class TestPopup : public TopWindow
|
|
{
|
|
StaticRect r;
|
|
|
|
public:
|
|
typedef TestPopup CLASSNAME;
|
|
TestPopup();
|
|
};
|
|
|
|
TestPopup::TestPopup()
|
|
{
|
|
r.Color(Red());
|
|
r.SetRect(100, 100, 200, 200);
|
|
r.PopUp();
|
|
}
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
TestPopup().Run();
|
|
}
|