mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 14:16:09 -06:00
.upptst
git-svn-id: svn://ultimatepp.org/upp/trunk@14183 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
c91ee56aeb
commit
589823fc38
3 changed files with 30 additions and 0 deletions
|
|
@ -18,6 +18,10 @@ GUI_APP_MAIN
|
|||
Color color = LtRed();
|
||||
RGBA rgba = LtRed();
|
||||
Font fnt = Arial();
|
||||
Image img = CtrlImg::exclamation();
|
||||
ImageBuffer ib(img);
|
||||
img = CtrlImg::exclamation();
|
||||
Value img_value = img;
|
||||
String string = "Hello world!";
|
||||
WString wstring = "Hello world!";
|
||||
Vector<String> vector { "I", "II", "III", "IV", "V" };
|
||||
|
|
|
|||
9
upptst/PdbTests3/PdbTests3.upp
Normal file
9
upptst/PdbTests3/PdbTests3.upp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
uses
|
||||
CtrlLib;
|
||||
|
||||
file
|
||||
main.cpp;
|
||||
|
||||
mainconfig
|
||||
"" = "GUI";
|
||||
|
||||
17
upptst/PdbTests3/main.cpp
Normal file
17
upptst/PdbTests3/main.cpp
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#include <CtrlLib/CtrlLib.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
GUI_APP_MAIN
|
||||
{
|
||||
Tuple<int, Color> c;
|
||||
|
||||
c.b = Cyan();
|
||||
|
||||
// ImageBuffer ib = Rescale(CtrlImg::exclamation(), 500, 500);
|
||||
ImageBuffer ib = CtrlImg::exclamation();
|
||||
Image img = CtrlImg::exclamation();
|
||||
Value v = img;
|
||||
|
||||
LOG("Here");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue