just some comments

This commit is contained in:
Eduardo Bart 2011-11-03 14:14:40 -02:00
parent 4fb59e25f4
commit dff57ecfe7
2 changed files with 8 additions and 2 deletions

9
TODO
View File

@ -1,8 +1,13 @@
modules managment interface modules managment interface
clean sprites cache periodically clean sprites cache periodically
hotkeys events in lua hotkeys events in lua
make password text edit hidden
load modules from zip packages load modules from zip packages
ip/host/rsa configuration ip/host/rsa configuration
review directories search review directories search
move tibia fonts to tibiafiles module tooltips
left panel with dragging windows
console history
console text selection
console scrolling
padding
remember password/account

View File

@ -123,6 +123,7 @@ bool UIWindow::onMousePress(const Point& mousePos, Fw::MouseButton button)
{ {
if(m_movePolicy != DONT_MOVE) { if(m_movePolicy != DONT_MOVE) {
UIWidgetPtr clickedChild = getChildByPos(mousePos); UIWidgetPtr clickedChild = getChildByPos(mousePos);
//FIXME: recursively check for non phantom children
if(!clickedChild || clickedChild->isPhantom()) { if(!clickedChild || clickedChild->isPhantom()) {
m_moving = true; m_moving = true;
m_movingReference = mousePos - getRect().topLeft(); m_movingReference = mousePos - getRect().topLeft();