conde2
ca2fe9cf45
Fix compilation under MSVC
...
Use template for std::min and std::max
2013-11-30 23:08:43 -02:00
Eduardo Bart
b43a196eac
Minor fixes and add auto resize for images
2013-03-15 21:59:22 -03:00
Henrique Santiago
11cb287a21
Changes to UIProgressBar, simplified healthinfo module
2013-02-09 19:57:37 -02:00
Eduardo Bart
7ece0ed8c7
Buttons for client options
2013-02-06 17:35:59 -02:00
Henrique Santiago
546007f1df
UIImageView, fixes to minimap
2013-01-31 14:20:04 -02:00
Eduardo Bart
4f8f02acad
Rework auto focus behavior, closes #222
2013-01-26 17:06:25 -02:00
Eduardo Bart
c28596292f
Text selection in chat
...
* Remove fancy stuff from background
* Improve text windows
* More improvements to textedit
2013-01-20 13:40:40 -02:00
Eduardo Bart
f389c3b3fe
Widgets can now rotate :O
2013-01-19 14:44:07 -02:00
Eduardo Bart
5344a179a4
Many UI improvements and minor fixes
2013-01-08 18:01:47 -02:00
Eduardo Bart
122577a916
Just rename some files
...
* Fix a server ping issue
2013-01-08 16:32:05 -02:00
Eduardo Bart
54f4e2b801
Fix console error
2012-08-06 20:54:56 -03:00
Henrique Santiago
0f980ec18b
Internal change to entergame, fix image-offset-y mistake, change the way default font is set in skins.
2012-08-05 18:43:45 -03:00
Henrique Santiago
e78edad4c6
Widget text upper case option, change gimp plugin mode to executable
2012-08-05 15:26:08 -03:00
Eduardo Bart
73769c62e4
Just some refactoring
2012-07-29 07:32:54 -03:00
Eduardo Bart
e0431021b5
Huge engine change, replace all std::shared_ptrs
...
Create a new shared pointer type stdext::shared_object_ptr and stdext::shared_obj
using boost::intrusive_ptr
Advantages:
* half memory usage
* faster and lightweight
Disadvantages:
* using weak_ptr is not supported anymore
* compiling seems slower
2012-07-29 00:34:40 -03:00
Eduardo Bart
c795eb91ab
More multiprotocol support
2012-07-26 03:10:28 -03:00
Eduardo Bart
e3298d561c
Rework application class and framework
...
Make otclient's framework flexible enough to run console apps like
servers, so this mean is possible to build otclient versions without
graphical interface and use it's framework to code servers
2012-07-13 22:23:11 -03:00
Eduardo Bart
c0c2411854
Improve minimap
2012-07-12 16:16:23 -03:00
Eduardo Bart
aed779a2c8
doc and luabinder changes
2012-06-22 00:14:13 -03:00
Eduardo Bart
10b33c6124
Compile with clang and add cotire
...
* Add cotire cmake module to speedup compilation https://github.com/sakra/cotire
* Fix clang error and warnings
* Rename Font to BitmapFont to fix conflict with Xlib.g Font typedef
* Remove legacy PCH support
* Improve Position hash
2012-06-16 20:20:22 -03:00
Eduardo Bart
8cef6463b3
improve miniwindow moving
2012-06-11 11:10:03 -03:00
Eduardo Bart
1a7f2a44fc
graphics fixes and improvements
2012-06-08 21:40:41 -03:00
Eduardo Bart
59a80ffaf9
scroll when focusing widgets
2012-06-01 21:38:26 -03:00
Eduardo Bart
bd2faabe99
graphics optimization feature inspirated by diablo3 engine
...
* the rendering now consits of two panes
- the background pane (for animated stuff like the map)
- the foreground pane (for steady stuff, like UI)
each pane has it own max FPS and works idependently
this may increase graphics performance on many platforms
2012-06-01 16:39:09 -03:00
Eduardo Bart
beaba25af1
UI tweaks
2012-04-30 16:30:37 -03:00
Eduardo Bart
5425d344ba
optimize widget destruction
2012-04-09 17:53:45 -03:00
Eduardo Bart
218f2e4994
add API to remove widget anchors
2012-04-05 19:46:53 -03:00
Eduardo Bart
959d9a87b0
fix focus bug, change battle events
2012-03-29 19:47:12 -03:00
Eduardo Bart
8d14d9bc99
restore old modules
...
* partially restore vip, battle, healthbar, skills and inventory modules
* more fixes on UIWidgets
* implement UIMiniWindow close/minimize functionality
* allow drag and drop miniwindows beteween game panels
2012-03-28 11:10:21 -03:00
Eduardo Bart
e2ea267703
rework mouse events propagation
2012-03-28 08:46:15 -03:00
Eduardo Bart
8ea154016b
fix and changes
...
* win32 compilation fix
* add buttons to miniwindow
* dispatcher events fixes
* ui fixes
2012-03-27 15:14:40 -03:00
Eduardo Bart
060c1cf8e7
ui changes
...
* create UIResizeBorder
* restore miniwindow
* scroll fixes
2012-03-26 19:24:01 -03:00
Eduardo Bart
ee869bb279
side panel splitter
2012-03-26 15:33:00 -03:00
Eduardo Bart
9309d6e7f3
some rework in UIWidget input
2012-03-26 10:34:43 -03:00
Eduardo Bart
532e8e3e39
chat line wrapping
...
* rework UIWidget text wrapping
* implement auto wrap
* fixes in console
2012-03-25 19:14:09 -03:00
Eduardo Bart
ccf55132a1
OMG the chat is finally scrolling!
...
* implement UIScrollArea
* rework console to allow scrolling
* many core ui changes in the way.. so maybe we will have new bugs
* fix in UIScrollBar
2012-03-25 14:10:19 -03:00
Eduardo Bart
179e53bb77
scrollbar, options and widgets changes
...
* complete scrollbar skin
* implement scrollbar functionality (scrolling with mouse)
* fix onMouseClick issues
* add tabs in options (graphics and general tab)
* add new option for limiting frame rate using scrollbar
* add new widget property "clipping" that will be used on scrollable areas
2012-03-25 11:10:15 -03:00
Eduardo Bart
de0008caf1
ui and graphics changes
...
* implement draw clipping using opengl stencil buffers
* allow to create Widgets by style name with g_ui.createWidgetByStyle
* styles can now have children widgets
* make proper use of the isNotPathable in pathfinding
* add scrollbar skin
2012-03-24 12:22:40 -03:00
Eduardo Bart
efa9811342
dragging fixes
2012-03-23 19:48:18 -03:00
Eduardo Bart
5c35938a92
many graphics performance tweaks
...
* use hardware vertex buffers (video memory)
* cache text drawing with vertex buffers instead of framebuffers
* avoid recalculating texture transformation matrix
2012-03-20 16:10:04 -03:00
Eduardo Bart
96358b317d
drag fixes
2012-02-09 16:38:50 -02:00
Eduardo Bart
e51789378a
make hover, dragging, press and mouse release work in a proper way
2012-02-07 17:21:53 -02:00
Eduardo Bart
37f3f904c7
some fixes in MainWindow move
2012-02-07 02:55:20 -02:00
Eduardo Bart
71c706157a
drag fixes
2012-02-07 00:06:48 -02:00
Eduardo Bart
46df3c7dbe
some window moving
2012-02-06 22:41:53 -02:00
Eduardo Bart
add8505a5b
implement auto repeat configuration for key press events, to give more flexibility
2012-02-06 10:53:28 -02:00
Eduardo Bart
64c9e4f1d5
add modulemanager module
2012-02-05 23:44:47 -02:00
Eduardo Bart
a55e138002
some cleanup in modules, fixes in tooltip, uiwidget warnings, disable map saving for a while
2012-02-05 20:42:35 -02:00
Eduardo Bart
cc081d8151
update TODO, rename onMouseDoubleClick to onDoubleClick
2012-02-04 15:04:44 -02:00
Henrique Santiago
d931b03fed
spinbox improvements
2012-02-03 09:59:55 -02:00