BRT Community
General Category => Discussion - EVE => Topic started by: Jonathan on July 13, 2023, 08:32:24 AM
-
Hi,
is there a way to make the spinner widget smaller than the widget allows?
CMD_SPINNER(204, 283, 0, 0)
in this command 0 is the smallest value for the scale, but I want it to be even smaller. Is there a way to do this or do I have to build my own spinner?
Best
Jonathan
-
Hello,
I am not aware if it is possible to scale below that value, but I can contact our software team to confirm.
What style of spinner are you looking for?
Best regards
BRT Community
-
Hey,
that would be great!
I use style 0 and 3 spinners.
Best
Jonathan
-
Hello,
I will contact our software team for confirmation and provide you with an update soon.
What type of application are you creating with the spinner widget?
Best regards
BRT Community
-
Hi,
Any update on this?
Size of spinner depends from the size of the display. Is there a workaround to modify height and/or width temporarly to reduce its size?
-
Hello,
Yes unfortunately, you would need to create your own spinner widget if you wish to scale it.
Below we have the raw code output for a given CMD_SPINNER (CMD_SPINNER(533, 251, 0, 0)) command:
CLEAR(1, 1, 1)
VERTEX_FORMAT(2)
POINT_SIZE(240)
BEGIN(POINTS)
COLOR_A(64)
VERTEX2F(1604, 1143)
VERTEX2F(1731, 1091)
VERTEX2F(1783, 964)
VERTEX2F(1731, 836)
VERTEX2F(1604, 784)
VERTEX2F(1476, 836)
VERTEX2F(1424, 964)
VERTEX2F(1476, 1091)
MACRO(0)
MACRO(1)
You can adjust the point sizes via the POINT_SIZE command and alter the vertex commands to reposition the sippner dots.
The MACRO(0) register is updated with the COLOR_A command scaling from 255 - 128 - 64 - 0 and the MACRO(1) register is updated with the vertex point of the dot you wish to highlight in the spinner animation.
Best Regards,
BRT Community