Skip to content

LinearBar, but vertical? #703

Answered by dervur
dervur asked this question in Q&A
Feb 10, 2025 · 3 comments · 6 replies
Discussion options

You must be logged in to vote

Ok, I solved the issue, I am editing this original comment because the reasons why the following was working was due to me not building CtrlrX properly. Once I did it, it began working.

  • in CtrlrIDs.xml in line 238, I added it after LinearBar as LinearBarVertical
  • in CtrlrComponentTypeManager.h I added LinearBarVertical = Slider::LinearBarVertical, in line 17
  • in CtrlrComponentTypeManager.cpp I added in line 224 the following:
else if (s == "LinearBarVertical")
		return LinearBarVertical;

and in line 201 the following:

case Slider::LinearBarVertical:
			return "LinearBarVertical";

This will allow you to use the linear bar vertically.

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@dervur
Comment options

@damiensellier
Comment options

@dervur
Comment options

Answer selected by dervur
Comment options

You must be logged in to vote
3 replies
@dervur
Comment options

@damiensellier
Comment options

@damiensellier
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants