mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-30 14:22:28 -06:00
Bazzar: Google test example packages naming simplification.
git-svn-id: svn://ultimatepp.org/upp/trunk@14993 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
e39620c940
commit
eee1bd4e46
13 changed files with 27 additions and 28 deletions
|
|
@ -1,19 +0,0 @@
|
|||
#include "AppWindow.h"
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
AppWindow::AppWindow()
|
||||
{
|
||||
Title("App Window");
|
||||
SetRect(0, 0, 200, 200);
|
||||
button.SetLabel("Hello world!");
|
||||
button << [=] { OnButtonClick(); };
|
||||
Add(button.HSizePos(25, 25).VSizePos(50, 50));
|
||||
}
|
||||
|
||||
void AppWindow::OnButtonClick()
|
||||
{
|
||||
if(PromptYesNo("Button was clicked. Do you want to quit?")) {
|
||||
Break();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue