parent
aae784468b
commit
61aa710d1c
@ -1,18 +0,0 @@
|
|||||||
MapEffects = {}
|
|
||||||
|
|
||||||
function MapEffects.init()
|
|
||||||
--[[
|
|
||||||
local box = createWidget('ComboBox', 'leftButtonsPanel')
|
|
||||||
box:addAnchor(AnchorLeft, 'prev', AnchorRight)
|
|
||||||
box:addAnchor(AnchorTop, 'parent', AnchorTop)
|
|
||||||
box:setMargin(6, 6)
|
|
||||||
box:addOption('Normal')
|
|
||||||
box:addOption('Bloom')
|
|
||||||
box:addOption('TV')
|
|
||||||
displayUI(box)
|
|
||||||
]]--
|
|
||||||
end
|
|
||||||
|
|
||||||
function MapEffects.terminate()
|
|
||||||
|
|
||||||
end
|
|
@ -1,16 +0,0 @@
|
|||||||
Module
|
|
||||||
name: mapeffects
|
|
||||||
description: Contains experimental shader effects for map
|
|
||||||
author: OTClient team
|
|
||||||
website: https://github.com/edubart/otclient
|
|
||||||
|
|
||||||
// console can be loaded after core
|
|
||||||
autoLoad: true
|
|
||||||
autoLoadPriority: 1000
|
|
||||||
|
|
||||||
onLoad: |
|
|
||||||
require 'mapeffects'
|
|
||||||
MapEffects.init()
|
|
||||||
|
|
||||||
onUnload: |
|
|
||||||
MapEffects.terminate()
|
|
@ -1,7 +1,7 @@
|
|||||||
Module
|
Module
|
||||||
name: playground
|
name: playground
|
||||||
autoLoad: true
|
autoLoad: true
|
||||||
autoLoadPriority: 1000
|
autoLoadAntecedence: 1000
|
||||||
onLoad: |
|
onLoad: |
|
||||||
require 'playground'
|
require 'playground'
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit dd648e1431171bffe091b748744395780df7eba1
|
Subproject commit 9beb17daaeb170c127c39c5a5e4feb9d95ebed92
|
After Width: | Height: | Size: 245 B |
After Width: | Height: | Size: 300 B |
@ -0,0 +1,40 @@
|
|||||||
|
ChannelListLabel < Label
|
||||||
|
font: verdana-11px-monochrome
|
||||||
|
background-color: alpha
|
||||||
|
text-offset: 2 0
|
||||||
|
focusable: true
|
||||||
|
|
||||||
|
$focus:
|
||||||
|
background-color: #ffffff22
|
||||||
|
color: #ffffff
|
||||||
|
|
||||||
|
MainWindow
|
||||||
|
id: channelsWindow
|
||||||
|
text: Channels
|
||||||
|
size: 250 208
|
||||||
|
@onEscape: self:destroy()
|
||||||
|
|
||||||
|
TextList
|
||||||
|
id: channelList
|
||||||
|
anchors.fill: parent
|
||||||
|
anchors.bottom: next.top
|
||||||
|
margin-bottom: 10
|
||||||
|
padding: 1
|
||||||
|
focusable: false
|
||||||
|
|
||||||
|
Button
|
||||||
|
id: buttonOpen
|
||||||
|
text: Open
|
||||||
|
width: 64
|
||||||
|
anchors.right: next.left
|
||||||
|
anchors.bottom: parent.bottom
|
||||||
|
margin-right: 10
|
||||||
|
@onClick: self:getParent():onEnter()
|
||||||
|
|
||||||
|
Button
|
||||||
|
id: buttonCancel
|
||||||
|
text: Cancel
|
||||||
|
width: 64
|
||||||
|
anchors.right: parent.right
|
||||||
|
anchors.bottom: parent.bottom
|
||||||
|
@onClick: self:getParent():destroy()
|
Loading…
Reference in new issue