mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
INT64 -> I64
git-svn-id: svn://ultimatepp.org/upp/trunk@7963 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
5c4e260d61
commit
caaf8eb175
3 changed files with 4 additions and 4 deletions
|
|
@ -536,7 +536,7 @@ void PathEditorCtrl::Paint(Draw& draw)
|
|||
}
|
||||
else
|
||||
{
|
||||
area.Set(plotter, Nvl(trace.color, Black), INT64(0xaa55aa55aa55aa55), Null, outline, 3);
|
||||
area.Set(plotter, Nvl(trace.color, Black), I64(0xaa55aa55aa55aa55), Null, outline, 3);
|
||||
if(area.SetExtent(trace.GetExtent()))
|
||||
trace.Paint(area, false, outline);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -454,8 +454,8 @@ static dword CeilPack64(int64 i)
|
|||
{
|
||||
if(i < 0x7fffffff)
|
||||
return (dword)i;
|
||||
if(i < INT64(0x3fffffff00))
|
||||
return (dword)((i + INT64(0x80000000ff)) >> 8);
|
||||
if(i < I64(0x3fffffff00))
|
||||
return (dword)((i + I64(0x80000000ff)) >> 8);
|
||||
return 0xffffffff;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ struct App : public TopWindow {
|
|||
p.Clear();
|
||||
p << Point(330, 110) << Point(360, 180) << Point(310, 150) << Point(370, 120)
|
||||
<< Point(330, 110);
|
||||
w.DrawPolygon(p, Cyan, 5, Magenta, INT64(0xaa55aa55aa55aa55));
|
||||
w.DrawPolygon(p, Cyan, 5, Magenta, I64(0xaa55aa55aa55aa55));
|
||||
|
||||
w.DrawImage(40, 240, CtrlImg::save());
|
||||
w.DrawImage(110, 210, 80, 80, CtrlImg::save());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue