mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-19 07:13:13 +09:00
.
This commit is contained in:
1 parent
9c0b8d25ae
commit
f769988988
1 file changed
+1
-9
@@ -63,14 +63,6 @@ local function factorial(n)
|
||||
return result
|
||||
end
|
||||
|
||||
--- Function label
|
||||
Elements.calculator_function_label = Gui.define("calculator/function_label")
|
||||
:draw{
|
||||
type = "label",
|
||||
caption = {"exp-gui_calculator.tooltip"},
|
||||
style = "heading_2_label",
|
||||
}
|
||||
|
||||
--- Input textfield
|
||||
Elements.calculator_input_textfield = Gui.define("calculator/input_textfield")
|
||||
:draw{
|
||||
@@ -102,8 +94,8 @@ Elements.calculator_info_label = Gui.define("calculator/info_label")
|
||||
Elements.container = Gui.define("calculator/container")
|
||||
:draw(function(def, parent)
|
||||
local screen_frame = Gui.elements.screen_frame(parent, nil, true)
|
||||
Gui.elements.header(screen_frame, { caption = { "exp-gui_calculator.tooltip" } })
|
||||
|
||||
Elements.calculator_function_label(screen_frame)
|
||||
Elements.calculator_input_textfield(screen_frame)
|
||||
Elements.calculator_result_label(screen_frame)
|
||||
Elements.calculator_info_label(screen_frame)
|
||||
|
||||
Reference in new issue
Block a user