mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 04:53:27 +02:00
experimental minimap
* a lot of rework in MapView * new APIs for UIMap
This commit is contained in:
21
modules/game_minimap/minimap.otui
Normal file
21
modules/game_minimap/minimap.otui
Normal file
@@ -0,0 +1,21 @@
|
||||
UIMap
|
||||
id: minimap
|
||||
anchors.top: parent.top
|
||||
anchors.right: parent.right
|
||||
size: 256 192
|
||||
margin-top: 2
|
||||
margin-right: 2
|
||||
border-width: 1
|
||||
border-color: #888888
|
||||
padding: 1
|
||||
//draw-minimap-colors: true
|
||||
multifloor: false
|
||||
draw-texts: false
|
||||
|
||||
CheckBox
|
||||
anchors.top: parent.top
|
||||
anchors.right: parent.right
|
||||
margin-top: 2
|
||||
margin-right: 2
|
||||
size: 16 16
|
||||
@onCheckChange: self:getParent():setDrawMinimapColors(self:isChecked())
|
Reference in New Issue
Block a user