This commit is contained in:
Insality
2024-11-21 00:18:43 +02:00
parent c0abfd350e
commit 4ef65579a6
12 changed files with 817 additions and 6 deletions

View File

@@ -37,7 +37,7 @@ nodes {
}
type: TYPE_TEXT
text: "Button"
font: "text_bold"
font: "druid_text_bold"
id: "text_name"
pivot: PIVOT_W
outline {
@@ -134,7 +134,7 @@ nodes {
}
type: TYPE_TEXT
text: "Button"
font: "text_bold"
font: "druid_text_bold"
id: "text_button"
outline {
x: 1.0

View File

@@ -37,7 +37,7 @@ nodes {
}
type: TYPE_TEXT
text: "Checkbox"
font: "text_bold"
font: "druid_text_bold"
id: "text_name"
pivot: PIVOT_W
outline {

View File

@@ -20,7 +20,10 @@ function M:init()
self.text_value = self.druid:new_text("text_value")
self.button_left = self.druid:new_button("button_left", self.on_button_left)
self.button_left.on_repeated_click:subscribe(self.on_button_left, self)
self.button_right = self.druid:new_button("button_right", self.on_button_right)
self.button_right.on_repeated_click:subscribe(self.on_button_right, self)
self.on_change_value = event.create()