mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.reference
git-svn-id: svn://ultimatepp.org/upp/trunk@9412 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
c19b49362a
commit
d01e463402
3 changed files with 8 additions and 2 deletions
|
|
@ -12,7 +12,9 @@ struct App : TopWindow {
|
|||
Size sz = GetSize();
|
||||
w.DrawRect(sz, SGray);
|
||||
Size isz = MyImg::Smiley().GetSize();
|
||||
w.DrawImage((sz.cx - isz.cx) / 2, (sz.cy - isz.cy) / 2, MyImg::Smiley());
|
||||
w.DrawImage(0, 0, MyImg::Smiley());
|
||||
w.DrawImage(isz.cx, 0, MyImg::Get("Smiley"));
|
||||
w.DrawImage(0, isz.cy, GetImlImage("MyImg:Smiley"));
|
||||
}
|
||||
|
||||
App()
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
description "Demonstration of image list resources";
|
||||
description "Demonstration of image list resources\377";
|
||||
|
||||
uses
|
||||
CtrlLib;
|
||||
|
|
|
|||
4
reference/iml/init
Normal file
4
reference/iml/init
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#ifndef _iml_icpp_init_stub
|
||||
#define _iml_icpp_init_stub
|
||||
#include "CtrlLib/init"
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue