mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-19 14:15:21 -06:00
1. support for builds <2357 dropped 2. WhenMessage passes reference to vector of data instead of copy 3. compilation instruction updated to use VS2015 git-svn-id: svn://ultimatepp.org/upp/trunk@8979 f0d560ea-af0d-0410-9eb7-867de7ffcac7
28 lines
577 B
Text
28 lines
577 B
Text
ctrl ChromiumBrowser {
|
|
group "Complex";
|
|
|
|
GetMinSize() { return Size(0, 0); }
|
|
GetStdSize() { return Size(130, 130); }
|
|
|
|
Frame SetFrame @1;
|
|
String StartPage;
|
|
|
|
Paint(w) {
|
|
r = GetRect();
|
|
|
|
DrawCtrlFrame(w, r, .SetFrame);
|
|
|
|
sz = Size(r.right - r.left, r.bottom - r.top);
|
|
|
|
DeflateRect(r);
|
|
sz = Size(r.right - r.left, r.bottom - r.top);
|
|
w.DrawRect(r.left, r.top, sz.cx, sz.cy, :SWhite);
|
|
img = "ChromiumBrowser:ChromiumBrowser.iml:chromium";
|
|
w.DrawImage(r.left, r.top, img);
|
|
}
|
|
|
|
Sample() {
|
|
.StartPage = "http://ultimatepp.org";
|
|
}
|
|
}
|
|
|