mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
22 lines
336 B
C++
22 lines
336 B
C++
#include <CtrlLib/CtrlLib.h>
|
|
|
|
using namespace Upp;
|
|
|
|
struct App : public TopWindow
|
|
{
|
|
MultiButtonFrame drop;
|
|
|
|
App()
|
|
{
|
|
SetRect( Size( 200, 25 ) );
|
|
drop.AddTo( *this );
|
|
drop.AddButton().Main();
|
|
drop.SetStyle( MultiButtonFrame::StyleFrame() );
|
|
drop.AddButton().Left().SetLabel( "Button" );
|
|
}
|
|
};
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
App().Run();
|
|
}
|