mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-27 23:57:13 +09:00
.
This commit is contained in:
1 parent
d05d4fb156
commit
e5602d3493
4 files changed
+12
-9
No files matched your search
@@ -108,12 +108,15 @@ Elements.container = Gui.define("calculator/container")
|
|||||||
local screen_frame = Gui.elements.screen_frame(parent, nil, true)
|
local screen_frame = Gui.elements.screen_frame(parent, nil, true)
|
||||||
local button_flow = Gui.elements.screen_frame.get_button_flow(screen_frame)
|
local button_flow = Gui.elements.screen_frame.get_button_flow(screen_frame)
|
||||||
Elements.calculator_caption_label(button_flow, {"exp-gui_calculator.tooltip"})
|
Elements.calculator_caption_label(button_flow, {"exp-gui_calculator.tooltip"})
|
||||||
Elements.calculator_caption_label(screen_frame, {"exp-gui_calculator.expression"})
|
local main_table = Gui.elements.scroll_table(parent, 600, 2)
|
||||||
Elements.calculator_input_textfield(screen_frame)
|
local left_table = Gui.elements.scroll_table(parent, 400, 1)
|
||||||
Elements.calculator_caption_label(screen_frame, {"exp-gui_calculator.result"})
|
local right_table = Gui.elements.scroll_table(parent, 200, 1)
|
||||||
Elements.calculator_result_label(screen_frame)
|
Elements.calculator_caption_label(left_table, {"exp-gui_calculator.expression"})
|
||||||
Elements.calculator_caption_label(screen_frame, {"exp-gui_calculator.reference"})
|
Elements.calculator_input_textfield(left_table)
|
||||||
Elements.calculator_info_label(screen_frame)
|
Elements.calculator_caption_label(left_table, {"exp-gui_calculator.result"})
|
||||||
|
Elements.calculator_result_label(left_table)
|
||||||
|
Elements.calculator_caption_label(right_table, {"exp-gui_calculator.reference"})
|
||||||
|
Elements.calculator_info_label(right_table)
|
||||||
return Gui.elements.screen_frame.get_root_element(screen_frame)
|
return Gui.elements.screen_frame.get_root_element(screen_frame)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|||||||
@@ -274,7 +274,7 @@ tooltip=Calculator
|
|||||||
expression=Expression:
|
expression=Expression:
|
||||||
result=Result:
|
result=Result:
|
||||||
reference=Reference
|
reference=Reference
|
||||||
info=Operator\n+ - * / % () ^ ** !\nPrefix\nK M G T P\nBase\n0x 0b 0o\nFunction\nABS, CEIL, EXP, FLOOR, LN, LOG, ROUND, SQRT, TRUNC
|
info=Operator\n+ - * / % () ^ ** !\nPrefix\nK M G T P\nBase\n0x 0b 0o\nFunction\nABS, CEIL, EXP, FLOOR, LN\nLOG, ROUND, SQRT, TRUNC
|
||||||
error=[ERROR]
|
error=[ERROR]
|
||||||
input_too_long=Input too long
|
input_too_long=Input too long
|
||||||
factorial_neg=Factorial of a negative number __1__
|
factorial_neg=Factorial of a negative number __1__
|
||||||
|
|||||||
@@ -276,7 +276,7 @@ tooltip=計算機
|
|||||||
expression=表達式:
|
expression=表達式:
|
||||||
result=結果:
|
result=結果:
|
||||||
reference=參考
|
reference=參考
|
||||||
info=運算符\n+ - * / % () ^ ** !\n詞頭\nK M G T P\n進制\n0x 0b 0o\n函數\nABS, CEIL, EXP, FLOOR, LN, LOG, ROUND, SQRT, TRUNC
|
info=運算符\n+ - * / % () ^ ** !\n詞頭\nK M G T P\n進制\n0x 0b 0o\n函數\nABS, CEIL, EXP, FLOOR, LN\nLOG, ROUND, SQRT, TRUNC
|
||||||
error=[錯誤]
|
error=[錯誤]
|
||||||
input_too_long=輸入太長
|
input_too_long=輸入太長
|
||||||
factorial_neg=負數的階乘 __1__
|
factorial_neg=負數的階乘 __1__
|
||||||
|
|||||||
@@ -276,7 +276,7 @@ tooltip=計算機
|
|||||||
expression=表達式:
|
expression=表達式:
|
||||||
result=結果:
|
result=結果:
|
||||||
reference=參考
|
reference=參考
|
||||||
info=運算符\n+ - * / % () ^ ** !\n詞頭\nK M G T P\n進制\n0x 0b 0o\n函數\nABS, CEIL, EXP, FLOOR, LN, LOG, ROUND, SQRT, TRUNC
|
info=運算符\n+ - * / % () ^ ** !\n詞頭\nK M G T P\n進制\n0x 0b 0o\n函數\nABS, CEIL, EXP, FLOOR, LN\nLOG, ROUND, SQRT, TRUNC
|
||||||
error=[錯誤]
|
error=[錯誤]
|
||||||
input_too_long=輸入太長
|
input_too_long=輸入太長
|
||||||
factorial_neg=負數的階乘 __1__
|
factorial_neg=負數的階乘 __1__
|
||||||
|
|||||||
Reference in new issue
Block a user