update TODO, rename onMouseDoubleClick to onDoubleClick

master
Eduardo Bart 12 years ago
parent 91a7ed8371
commit cc081d8151

64
TODO

@ -1,24 +1,18 @@
==================================================== ====================================================
High priority TODO in order (before first public disclose) High priority TODO in order (before first public disclose)
termiante chat
scrollbar scrollbar
scrollable widgets scrollable widgets
complete miniwindow (close, minimize, resize, move) complete miniwindow (close, minimize, resize, move)
move windows move windows
add top menu buttons combat controls
modules managment interface modules managment interface
adjust interface design adjust interface design
display exit box when exiting from game display exit box when exiting from game
attack modes
player status icons (poison, etc) player status icons (poison, etc)
move count itens
move windows, go back in containers move windows, go back in containers
open private chat
reopen channels
fix use with
move windows move windows
let windows open while playing let windows open while playing
fix auto repeats in lineedit fix auto repeats in lineedit
@ -30,7 +24,6 @@ Low priority TODO
review directories loading search review directories loading search
load modules from zip packages load modules from zip packages
create a class for reading binary files create a class for reading binary files
ake protocol class compatible with old tibia protocols
rework lua/c++ logger rework lua/c++ logger
== Graphics == Graphics
@ -39,8 +32,8 @@ cache renders into framebuffers
use hardware buffer use hardware buffer
use indices use indices
fix opacity and cached framebuffers conflict fix opacity and cached framebuffers conflict
map zoom rendering could be optimized using framebuffer caches
map rendering could be optimized to infinite zoom out using quadtree voxels make low/medium/high settings for economizing graphics memory thus allowing client smoothily in smartphones
== Lua == Lua
make possible to bind non LuaObject derived classes on lua engine (for usage with Point,Rect,Color,Size) make possible to bind non LuaObject derived classes on lua engine (for usage with Point,Rect,Color,Size)
@ -50,49 +43,44 @@ review usage of x,y/width,height in lua instead of point/size
port to MacOs and iphone port to MacOs and iphone
== UI == UI
[bart] multiline rich text widget multiline rich text widget
[bart] move layout proprieties to widget style move layout proprieties to widget style
[bart] multiline text editor widget multiline text editor widget
[bart] create UIMessageBox, UIToolTip and UIInputBox rework UIMessageBox, UIToolTip and UIInputBox
[bart] fix style inheretance using a style translator fix style inheretance using a style translator
[bart] find a way to add new widgets without focusing them find a way to add new widgets without focusing them
[bart] break UILabel lines review UI/style loader and make more error prone with more warnings
[bart] review and make more error prone with more warnings reapply anchor styles when adding new childs
[bart] reapply anchor styles when adding new childs ui text selection
[bart] ui text selection find styles by scope
[bart] find styles by scope make set of background/icon/image width alone work
[bart] make set of background/icon/image width alone work check for recursive anchors and print a error instead of crashing
[bart] check for recursive anchors and print a error instead of crashing make api to enable/disable capture of events to avoid massive event processing
[bart] make api to enable/disable capture of events to avoid massive event processing review style apply system
[bart] review style apply system
rework widgets rendering order rework widgets rendering order
cache or preload otui files to avoid freezes from hd cache or preload otui files to avoid freezes because of hd reading
change Align/Anchors lua API from enum to text change Align/Anchors lua API from enum to text
== Client == Client
make possible to reload modules make possible to reload modules
terminal/console scrolling
auto walk auto walk
hotkeys window
trade window
shop window
battle list
implement left panel with dragging windows implement left panel with dragging windows
clean sprites cache periodically clean sprites cache periodically
create a shader manager create a shader manager
find a way to load map rendering styles find a way to load map rendering styles
move redering of creatures names, skulls, etc to UI move redering of creatures names, skulls, etc to UI
cache screen creatures in a list on map make protocol class compatible with old tibia protocols
handle corrupt errors in dat/spr handle corrupt errors in dat/spr
remake spr/dat using OTML and image files remake spr/dat using OTML and image files
rework map tile rendering (cache visible tiles, etc)
minimap window
draw lights using shaders
limit FPS in options limit FPS in options
resize map, right panel resize map
do lua game event calls from Game instead from GameProtocol do lua game event calls from Game instead from GameProtocol
login queue login queue
questlog questlog
edit texts edit texts
ignore list trade window
viplist marks shop window
battle window
hotkeys window
minimap window

@ -78,7 +78,7 @@ function CharacterList.create(characters, premDays)
label.worldHost = worldHost label.worldHost = worldHost
label.worldPort = worldIp label.worldPort = worldIp
connect(label, { onMouseDoubleClick = function () CharacterList.doLogin() return true end } ) connect(label, { onDoubleClick = function () CharacterList.doLogin() return true end } )
if i == 1 or Settings.get('lastUsedCharacter') == characterName then if i == 1 or Settings.get('lastUsedCharacter') == characterName then
focusLabel = label focusLabel = label

@ -356,7 +356,7 @@ local function onChannelList(channelList)
label:setText(channelName) label:setText(channelName)
label:setPhantom(false) label:setPhantom(false)
connect(label, { onMouseDoubleClick = function () doChannelListSubmit(channelsWindow) end } ) connect(label, { onDoubleClick = function () doChannelListSubmit(channelsWindow) end } )
end end
end end
end end

@ -56,7 +56,7 @@ function VipList.onAddVip(id, name, online)
label.vipOnline = online label.vipOnline = online
label:setPhantom(false) label:setPhantom(false)
connect(label, { onMouseDoubleClick = function () Game.openPrivateChannel(label:getText()) return true end } ) connect(label, { onDoubleClick = function () Game.openPrivateChannel(label:getText()) return true end } )
local nameLower = name:lower() local nameLower = name:lower()
local childrenCount = vipList:getChildCount() local childrenCount = vipList:getChildCount()

@ -1114,7 +1114,7 @@ bool UIWidget::onMousePress(const Point& mousePos, Fw::MouseButton button)
{ {
if(button == Fw::MouseLeftButton) { if(button == Fw::MouseLeftButton) {
if(m_clickTimer.running() && m_clickTimer.ticksElapsed() <= 500) { if(m_clickTimer.running() && m_clickTimer.ticksElapsed() <= 500) {
if(onMouseDoubleClick(mousePos)) if(onDoubleClick(mousePos))
return true; return true;
m_clickTimer.stop(); m_clickTimer.stop();
} else } else
@ -1154,9 +1154,9 @@ bool UIWidget::onMouseWheel(const Point& mousePos, Fw::MouseWheelDirection direc
return callLuaField<bool>("onMouseWheel", mousePos, direction); return callLuaField<bool>("onMouseWheel", mousePos, direction);
} }
bool UIWidget::onMouseDoubleClick(const Point& mousePos) bool UIWidget::onDoubleClick(const Point& mousePos)
{ {
return callLuaField<bool>("onMouseDoubleClick", mousePos); return callLuaField<bool>("onDoubleClick", mousePos);
} }
bool UIWidget::propagateOnKeyText(const std::string& keyText) bool UIWidget::propagateOnKeyText(const std::string& keyText)

@ -178,7 +178,7 @@ protected:
virtual bool onMouseRelease(const Point& mousePos, Fw::MouseButton button); virtual bool onMouseRelease(const Point& mousePos, Fw::MouseButton button);
virtual bool onMouseMove(const Point& mousePos, const Point& mouseMoved); virtual bool onMouseMove(const Point& mousePos, const Point& mouseMoved);
virtual bool onMouseWheel(const Point& mousePos, Fw::MouseWheelDirection direction); virtual bool onMouseWheel(const Point& mousePos, Fw::MouseWheelDirection direction);
virtual bool onMouseDoubleClick(const Point& mousePos); virtual bool onDoubleClick(const Point& mousePos);
bool propagateOnKeyText(const std::string& keyText); bool propagateOnKeyText(const std::string& keyText);
bool propagateOnKeyDown(uchar keyCode, int keyboardModifiers); bool propagateOnKeyDown(uchar keyCode, int keyboardModifiers);

Loading…
Cancel
Save