Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restored mirroring of texture feature for CUIStatic #1690

Merged
merged 5 commits into from
Jun 7, 2024

Conversation

Hrusteckiy
Copy link
Contributor

@Hrusteckiy Hrusteckiy commented Jun 5, 2024

Using: in node of element based on CUIStatic class type mirror="b", b is one of mirroring modes.

b - both, mirror by vertical and horizontal;
v - vertical, mirror by vertical;
h - horizontal, mirror by horizontal.
It was a removed feature from SHoC, because the developers could not agree on its using(example was in trade window XML, , but in the wrong place).

There are examples of using this:
image
image
image

How the trade window looks without mirroring and with it:
image
image

Using: in node of element based on `CUIStatic` class type `mirror="b"`, `b` is one of mirroring modes.

`b` - both, mirror by vertical and horizontal;
`v` - vertical, mirror by vertical;
`h` - horizontal, mirror by horizontal.
@github-actions github-actions bot added the UI label Jun 5, 2024
src/xrUICore/Static/UIStaticItem.h Outdated Show resolved Hide resolved
src/xrUICore/Static/UIStaticItem.h Outdated Show resolved Hide resolved
src/xrUICore/Static/UIStaticItem.cpp Outdated Show resolved Hide resolved
src/xrUICore/XML/UIXmlInitBase.cpp Outdated Show resolved Hide resolved
@Xottab-DUTY Xottab-DUTY merged commit d12ccfe into OpenXRay:dev Jun 7, 2024
24 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants