mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 20:14:54 +02:00
BEAWARE all game functionality is disabled with this commit for a while
* rework client modules * hide main window when loading * remake top menu functions * rework modules autoload * improve path resolving for otml and lua * move core_widgets to core_lib * fix tooltip issues * split some styles * add bit32 lua library * fix assert issues * fix compilation on linux 32 systems * rework gcc compile options * renable and fix some warnings * remove unused constants * speedup sprite cache * move UIGame to lua (not funcional yet) * fix a lot of issues in x11 window * fix crash handler * add some warnings do uiwidget and much more...
This commit is contained in:
@@ -27,7 +27,7 @@ ModuleValueLabel < UILabel
|
||||
font: verdana-11px-antialised
|
||||
color: #aaaaaa
|
||||
text-offset: 3 0
|
||||
image-source: /core_styles/images/panel_flat.png
|
||||
image-source: /core_styles/styles/images/panel_flat.png
|
||||
image-border: 1
|
||||
height: 16
|
||||
|
||||
@@ -92,9 +92,9 @@ MainWindow
|
||||
// id: moduleAutoload
|
||||
|
||||
//ModuleInfoLabel
|
||||
// text: Autoload antecedence
|
||||
// text: Autoload priority
|
||||
//ModuleValueLabel
|
||||
// id: moduleLoadAntecedence
|
||||
// id: moduleLoadPriority
|
||||
// text: 1000
|
||||
|
||||
ModuleInfoLabel
|
||||
@@ -118,7 +118,7 @@ MainWindow
|
||||
anchors.left: moduleInfo.left
|
||||
margin-top: 8
|
||||
text: Load
|
||||
visible: false
|
||||
enabled: false
|
||||
@onClick: ModuleManager.reloadCurrentModule()
|
||||
|
||||
Button
|
||||
@@ -128,6 +128,14 @@ MainWindow
|
||||
margin-left: 10
|
||||
margin-top: 8
|
||||
text: Unload
|
||||
visible: false
|
||||
enabled: false
|
||||
@onClick: ModuleManager.unloadCurrentModule()
|
||||
|
||||
Button
|
||||
id: closeButton
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.right: parent.right
|
||||
text: Close
|
||||
width: 60
|
||||
@onClick: ModuleManager.hide()
|
||||
|
||||
|
Reference in New Issue
Block a user