mirror of
https://github.com/cyberarm/cyberarm_engine.git
synced 2025-12-17 05:22:35 +00:00
Renamed Label to TextBlock, added Shoes text dsl methods; needs mroe refinements, made tooltip styleable.
This commit is contained in:
@@ -6,7 +6,7 @@ module CyberarmEngine
|
||||
options[:toggled] = options[:checked]
|
||||
|
||||
@toggle_button = ToggleButton.new(options)
|
||||
@label = Label.new(text, options)
|
||||
@label = TextBlock.new(text, options)
|
||||
|
||||
@label.subscribe(:holding_left_mouse_button) do |sender, x, y|
|
||||
@toggle_button.left_mouse_button(sender, x, y)
|
||||
|
||||
Reference in New Issue
Block a user