|
1 | 1 | <ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
|
2 | 2 | <Style src="project://database/Assets/UI%20Toolkit/Styles/calc.uss?fileID=7433441132597879392&guid=ace067a8ab68d6c488546c5185efa1a1&type=3#calc" />
|
3 | 3 | <ui:VisualElement name="TopPanel" class="top-panel">
|
4 |
| - <UnityMvvmToolkit.UI.BindableUIElements.BindableLabel text="55×55" name="ExpressionsLabel" binding-text-path="Expression" class="expression-label" /> |
5 |
| - <UnityMvvmToolkit.UI.BindableUIElements.BindableLabel text="3 025" name="ResultLabel" binding-text-path="Result" class="result-label" /> |
| 4 | + <UnityMvvmToolkit.UITK.BindableUIElements.BindableLabel text="55×55" name="ExpressionsLabel" binding-text-path="Expression" class="expression-label" /> |
| 5 | + <UnityMvvmToolkit.UITK.BindableUIElements.BindableLabel text="3 025" name="ResultLabel" binding-text-path="Result" class="result-label" /> |
6 | 6 | </ui:VisualElement>
|
7 | 7 | <ui:VisualElement name="BottomPanel" class="bottom-panel">
|
8 | 8 | <ui:VisualElement name="Row1" class="elements-row">
|
9 |
| - <UnityMvvmToolkit.UI.BindableUIElements.BindableButton text="C" name="ButtonClear" command="ClearCommand" class="round-button round-button__clear-label" /> |
10 |
| - <UnityMvvmToolkit.UI.BindableUIElements.BindableButton text="+/-" name="ButtonSign" enabled="false" class="round-button round-button__operation-label" /> |
11 |
| - <UnityMvvmToolkit.UI.BindableUIElements.BindableButton text="%" name="ButtonPercentage" enabled="false" class="round-button round-button__operation-label" /> |
12 |
| - <UnityMvvmToolkit.UI.BindableUIElements.BindableButton text="÷" name="ButtonDivision" command="OperationCommand, ÷" class="round-button round-button__operation-label" /> |
| 9 | + <UnityMvvmToolkit.UITK.BindableUIElements.BindableButton text="C" name="ButtonClear" command="ClearCommand" class="round-button round-button__clear-label" /> |
| 10 | + <UnityMvvmToolkit.UITK.BindableUIElements.BindableButton text="+/-" name="ButtonSign" enabled="false" class="round-button round-button__operation-label" /> |
| 11 | + <UnityMvvmToolkit.UITK.BindableUIElements.BindableButton text="%" name="ButtonPercentage" enabled="false" class="round-button round-button__operation-label" /> |
| 12 | + <UnityMvvmToolkit.UITK.BindableUIElements.BindableButton text="÷" name="ButtonDivision" command="OperationCommand, ÷" class="round-button round-button__operation-label" /> |
13 | 13 | </ui:VisualElement>
|
14 | 14 | <ui:VisualElement name="Row2" class="elements-row">
|
15 |
| - <UnityMvvmToolkit.UI.BindableUIElements.BindableButton text="7" name="Button7" command="NumberCommand, 7" class="round-button" /> |
16 |
| - <UnityMvvmToolkit.UI.BindableUIElements.BindableButton text="8" name="Button8" command="NumberCommand, 8" class="round-button" /> |
17 |
| - <UnityMvvmToolkit.UI.BindableUIElements.BindableButton text="9" name="Button9" command="NumberCommand, 9" class="round-button" /> |
18 |
| - <UnityMvvmToolkit.UI.BindableUIElements.BindableButton text="×" name="ButtonMultiplication" command="OperationCommand, ×" class="round-button round-button__operation-label" /> |
| 15 | + <UnityMvvmToolkit.UITK.BindableUIElements.BindableButton text="7" name="Button7" command="NumberCommand, 7" class="round-button" /> |
| 16 | + <UnityMvvmToolkit.UITK.BindableUIElements.BindableButton text="8" name="Button8" command="NumberCommand, 8" class="round-button" /> |
| 17 | + <UnityMvvmToolkit.UITK.BindableUIElements.BindableButton text="9" name="Button9" command="NumberCommand, 9" class="round-button" /> |
| 18 | + <UnityMvvmToolkit.UITK.BindableUIElements.BindableButton text="×" name="ButtonMultiplication" command="OperationCommand, ×" class="round-button round-button__operation-label" /> |
19 | 19 | </ui:VisualElement>
|
20 | 20 | <ui:VisualElement name="Row3" class="elements-row">
|
21 |
| - <UnityMvvmToolkit.UI.BindableUIElements.BindableButton text="4" name="Button4" command="NumberCommand, 4" class="round-button" /> |
22 |
| - <UnityMvvmToolkit.UI.BindableUIElements.BindableButton text="5" name="Button5" command="NumberCommand, 5" class="round-button" /> |
23 |
| - <UnityMvvmToolkit.UI.BindableUIElements.BindableButton text="6" name="Button6" command="NumberCommand, 6" class="round-button" /> |
24 |
| - <UnityMvvmToolkit.UI.BindableUIElements.BindableButton text="−" name="ButtonMinus" command="OperationCommand, −" class="round-button round-button__operation-label" /> |
| 21 | + <UnityMvvmToolkit.UITK.BindableUIElements.BindableButton text="4" name="Button4" command="NumberCommand, 4" class="round-button" /> |
| 22 | + <UnityMvvmToolkit.UITK.BindableUIElements.BindableButton text="5" name="Button5" command="NumberCommand, 5" class="round-button" /> |
| 23 | + <UnityMvvmToolkit.UITK.BindableUIElements.BindableButton text="6" name="Button6" command="NumberCommand, 6" class="round-button" /> |
| 24 | + <UnityMvvmToolkit.UITK.BindableUIElements.BindableButton text="−" name="ButtonMinus" command="OperationCommand, −" class="round-button round-button__operation-label" /> |
25 | 25 | </ui:VisualElement>
|
26 | 26 | <ui:VisualElement name="Row4" class="elements-row">
|
27 |
| - <UnityMvvmToolkit.UI.BindableUIElements.BindableButton text="1" name="Button1" command="NumberCommand, 1" class="round-button" /> |
28 |
| - <UnityMvvmToolkit.UI.BindableUIElements.BindableButton text="2" name="Button2" command="NumberCommand, 2" class="round-button" /> |
29 |
| - <UnityMvvmToolkit.UI.BindableUIElements.BindableButton text="3" name="Button3" command="NumberCommand, 3" class="round-button" /> |
30 |
| - <UnityMvvmToolkit.UI.BindableUIElements.BindableButton text="+" name="ButtonPlus" command="OperationCommand, +" class="round-button round-button__operation-label" /> |
| 27 | + <UnityMvvmToolkit.UITK.BindableUIElements.BindableButton text="1" name="Button1" command="NumberCommand, 1" class="round-button" /> |
| 28 | + <UnityMvvmToolkit.UITK.BindableUIElements.BindableButton text="2" name="Button2" command="NumberCommand, 2" class="round-button" /> |
| 29 | + <UnityMvvmToolkit.UITK.BindableUIElements.BindableButton text="3" name="Button3" command="NumberCommand, 3" class="round-button" /> |
| 30 | + <UnityMvvmToolkit.UITK.BindableUIElements.BindableButton text="+" name="ButtonPlus" command="OperationCommand, +" class="round-button round-button__operation-label" /> |
31 | 31 | </ui:VisualElement>
|
32 | 32 | <ui:VisualElement name="Row5" class="elements-row">
|
33 |
| - <UnityMvvmToolkit.UI.BindableUIElements.BindableButton text="0" name="Button0" command="NumberCommand, 0" class="round-button round-button--wide" /> |
34 |
| - <UnityMvvmToolkit.UI.BindableUIElements.BindableButton text="." name="ButtonDot" enabled="false" class="round-button" /> |
35 |
| - <UnityMvvmToolkit.UI.BindableUIElements.BindableButton text="=" name="ButtonEqual" command="CalculateCommand" class="round-button round-button--highlighted" /> |
| 33 | + <UnityMvvmToolkit.UITK.BindableUIElements.BindableButton text="0" name="Button0" command="NumberCommand, 0" class="round-button round-button--wide" /> |
| 34 | + <UnityMvvmToolkit.UITK.BindableUIElements.BindableButton text="." name="ButtonDot" enabled="false" class="round-button" /> |
| 35 | + <UnityMvvmToolkit.UITK.BindableUIElements.BindableButton text="=" name="ButtonEqual" command="CalculateCommand" class="round-button round-button--highlighted" /> |
36 | 36 | </ui:VisualElement>
|
37 | 37 | </ui:VisualElement>
|
38 | 38 | </ui:UXML>
|
0 commit comments