mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 04:24:54 +02:00
Refactor modules, closes #223
* All modules are sandboxed now * All images,sounds,fonts,translations and styles were moved to "data" folder * Reorganize image files folders * Remove unmaintained modules: client_particles, client_shaders * Implement new automatic way to load styles and fonts * Add hide/show offline option in VipList * Add invite/exclude to/from private channel in players menus * Many other minor changes
This commit is contained in:
@@ -35,7 +35,7 @@ MainWindow
|
||||
size: 450 450
|
||||
!text: tr('Module Manager')
|
||||
|
||||
@onEscape: ModuleManager.hide()
|
||||
@onEscape: modules.client_modulemanager.hide()
|
||||
|
||||
TextList
|
||||
id: moduleList
|
||||
@@ -63,7 +63,7 @@ MainWindow
|
||||
margin-top: 8
|
||||
!text: tr('Refresh')
|
||||
text-auto-resize: true
|
||||
@onClick: ModuleManager.refreshModules()
|
||||
@onClick: modules.client_modulemanager.refreshModules()
|
||||
|
||||
Button
|
||||
id: reloadAllModulesButton
|
||||
@@ -72,7 +72,7 @@ MainWindow
|
||||
margin-top: 8
|
||||
!text: tr('Reload All')
|
||||
text-auto-resize: true
|
||||
@onClick: ModuleManager.reloadAllModules()
|
||||
@onClick: modules.client_modulemanager.reloadAllModules()
|
||||
|
||||
Panel
|
||||
id: moduleInfo
|
||||
@@ -131,7 +131,7 @@ MainWindow
|
||||
!text: tr('Load')
|
||||
enabled: false
|
||||
width: 90
|
||||
@onClick: ModuleManager.reloadCurrentModule()
|
||||
@onClick: modules.client_modulemanager.reloadCurrentModule()
|
||||
|
||||
Button
|
||||
id: moduleUnloadButton
|
||||
@@ -142,7 +142,7 @@ MainWindow
|
||||
!text: tr('Unload')
|
||||
enabled: false
|
||||
width: 90
|
||||
@onClick: ModuleManager.unloadCurrentModule()
|
||||
@onClick: modules.client_modulemanager.unloadCurrentModule()
|
||||
|
||||
Button
|
||||
id: closeButton
|
||||
@@ -150,5 +150,5 @@ MainWindow
|
||||
anchors.right: parent.right
|
||||
!text: tr('Close')
|
||||
width: 90
|
||||
@onClick: ModuleManager.hide()
|
||||
@onClick: modules.client_modulemanager.hide()
|
||||
|
||||
|
Reference in New Issue
Block a user