mirror of
https://github.com/edubart/otclient.git
synced 2025-10-18 13:33:27 +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:
@@ -1,6 +1,6 @@
|
||||
OptionCheckBox < CheckBox
|
||||
@onCheckChange: Options.setOption(self:getId(), self:isChecked())
|
||||
@onSetup: self:setChecked(Options.getOption(self:getId()))
|
||||
@onCheckChange: modules.client_options.setOption(self:getId(), self:isChecked())
|
||||
@onSetup: self:setChecked(modules.client_options.getOption(self:getId()))
|
||||
height: 16
|
||||
|
||||
$first:
|
||||
@@ -19,8 +19,8 @@ MainWindow
|
||||
!text: tr('Options')
|
||||
size: 350 310
|
||||
|
||||
@onEnter: Options.hide()
|
||||
@onEscape: Options.hide()
|
||||
@onEnter: modules.client_options.hide()
|
||||
@onEscape: modules.client_options.hide()
|
||||
|
||||
TabBarRounded
|
||||
id: optionsTabBar
|
||||
@@ -41,4 +41,4 @@ MainWindow
|
||||
width: 64
|
||||
anchors.right: parent.right
|
||||
anchors.bottom: parent.bottom
|
||||
@onClick: Options.hide()
|
||||
@onClick: modules.client_options.hide()
|
||||
|
Reference in New Issue
Block a user