mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
bazaar: PopUpC
git-svn-id: svn://ultimatepp.org/upp/trunk@14149 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
eae1b88db4
commit
ff3ff6be3d
1 changed files with 5 additions and 2 deletions
|
|
@ -19,8 +19,8 @@ void PopUpC::Break(int ID)
|
|||
bool PopUpC::AcceptBreak(int ID)
|
||||
{
|
||||
if(Accept()) {
|
||||
WhenAccept();
|
||||
Break(ID);
|
||||
WhenAccept();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
@ -29,8 +29,8 @@ bool PopUpC::AcceptBreak(int ID)
|
|||
void PopUpC::RejectBreak(int ID)
|
||||
{
|
||||
Reject();
|
||||
WhenReject();
|
||||
Break(ID);
|
||||
WhenReject();
|
||||
}
|
||||
|
||||
void PopUpC::PopUp(Ctrl* owner)
|
||||
|
|
@ -46,6 +46,9 @@ void PopUpC::PopUp(Ctrl* owner)
|
|||
y = r.top - sz.cy;
|
||||
|
||||
Rect rt = RectC(x, y, sz.cx, sz.cy);
|
||||
|
||||
Backup();
|
||||
|
||||
if(GUI_PopUpEffect()) {
|
||||
sPaintRedirectCtrl pb;
|
||||
pb.ctrl = this;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue