removed ignore scaling
This commit is contained in:
parent
e8f7d6e4a2
commit
4c286e1fd8
15 changed files with 25 additions and 31 deletions
|
|
@ -16,8 +16,7 @@ int main() {
|
|||
FractionalToMapped(0.5), //relativeSizeY: the relative y size this element should be scaled to compared to its parent
|
||||
FractionalToMapped(0.5), //anchorOffsetX: the amount this element's anchor should be offset from the top left corner (0.5 to in the middle)
|
||||
FractionalToMapped(0.5), //anchorOffsetY: the amount this element's anchor should be offset from the top left corner (0.5 to place it in the middle)
|
||||
0, //z: this elements Z position
|
||||
false //ignoreScaling: wether this element ignores the scaling of the window, if true its size will be scaled according to the window scale
|
||||
0 //z: this elements Z position
|
||||
);
|
||||
|
||||
window.elements.push_back(&element);
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ int main() {
|
|||
FractionalToMapped(0), // anchorOffsetX
|
||||
FractionalToMapped(0), // anchorOffsetY
|
||||
0, // z
|
||||
false // ignoreScaling
|
||||
);
|
||||
|
||||
for (int i = 0; i < 6; i++) {
|
||||
|
|
@ -34,7 +33,6 @@ int main() {
|
|||
FractionalToMapped(0.0), // anchorOffsetX
|
||||
FractionalToMapped(0.0), // anchorOffsetY
|
||||
0, // z
|
||||
false // ignoreScaling
|
||||
);
|
||||
|
||||
// // Set different colors for each element
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ int main() {
|
|||
FractionalToMapped(0.5), //anchorOffsetX: the amount this element's anchor should be offset from the top left corner (0.5 to in the middle)
|
||||
FractionalToMapped(0.5), //anchorOffsetY: the amount this element's anchor should be offset from the top left corner (0.5 to place it in the middle)
|
||||
0, //z: this elements Z position
|
||||
false //ignoreScaling: wether this element ignores the scaling of the window, if true its size will be scaled according to the window scale
|
||||
);
|
||||
|
||||
window.elements.push_back(&element);
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ int main() {
|
|||
FractionalToMapped(0.5), //anchorOffsetX: the amount this element's anchor should be offset from the top left corner (0.5 to in the middle)
|
||||
FractionalToMapped(0.5), //anchorOffsetY: the amount this element's anchor should be offset from the top left corner (0.5 to place it in the middle)
|
||||
0, //z: this elements Z position
|
||||
false //ignoreScaling: wether this element ignores the scaling of the window, if true its size will be scaled according to the window scale
|
||||
);
|
||||
|
||||
MouseElement mouse(window);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue