mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.developing rainbow
git-svn-id: svn://ultimatepp.org/upp/trunk@3609 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
e713b6ff5b
commit
e057acbf48
3 changed files with 8 additions and 2 deletions
|
|
@ -352,6 +352,12 @@ TopWindow& TopWindow::Title(const char *s)
|
|||
return Title(WString(s));
|
||||
}
|
||||
|
||||
void TopWindow::SetMinSize(Size sz)
|
||||
{
|
||||
minsize = sz;
|
||||
SyncSizeHints();
|
||||
}
|
||||
|
||||
TopWindow& TopWindow::Sizeable(bool b)
|
||||
{
|
||||
sizeable = b;
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ public:
|
|||
TopWindow& CenterOwner() { center = 1; return *this; }
|
||||
TopWindow& CenterScreen() { center = 2; return *this; }
|
||||
|
||||
void SetMinSize(Size sz) { minsize = sz; }
|
||||
void SetMinSize(Size sz);
|
||||
|
||||
void Open(Ctrl *owner);
|
||||
void Open();
|
||||
|
|
|
|||
|
|
@ -854,7 +854,7 @@ void Ctrl::EventLoop0(Ctrl *ctrl)
|
|||
|
||||
bool quit = false;
|
||||
ProcessEvents(&quit);
|
||||
while(!EndSession() && !quit && ctrl ? ctrl->IsOpen() && ctrl->InLoop() : GetTopCtrls().GetCount())
|
||||
while(!EndSession() && !quit && (ctrl ? ctrl->IsOpen() && ctrl->InLoop() : GetTopCtrls().GetCount()))
|
||||
{
|
||||
// LLOG(GetSysTime() << " % " << (unsigned)msecs() % 10000 << ": EventLoop / GuiSleep");
|
||||
SyncCaret();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue