Much hello,
For curious people, here is an example usage of the JSON ref.
This tool https://github.com/maniaplanet/manialib ... lasses.php generates all the style classes for ManiaLib https://github.com/maniaplanet/manialib ... ink/Styles
Manialink styles
Moderator: NADEO
Re: Manialink styles
Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 

Re: Manialink styles
Much hello,
I have added the 3D styles to the JSON file: https://github.com/maniaplanet/document ... 1549aa2daf
I have added the 3D styles to the JSON file: https://github.com/maniaplanet/document ... 1549aa2daf
Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 

Re: Manialink styles
could you please give some information about the list of Entry styles?
i couldn't find a list and only know that for example 'TextValueSmall' is an entry style while it's a label style as well, do they work all? i suppose not
i couldn't find a list and only know that for example 'TextValueSmall' is an entry style while it's a label style as well, do they work all? i suppose not
Re: Manialink styles
You should try using the Interface Designer (TitleMenu -> Editors -> TitleTools -> Interface Designer).
It allows you to edit and display Manialink Code realtime, and you can access the Styles manialink while in the editor using the Ctrl+O shortcut.
You'll have a good idea of which styles work and which ones don't quite quickly.
Hope this helps,
--noyranea
It allows you to edit and display Manialink Code realtime, and you can access the Styles manialink while in the editor using the Ctrl+O shortcut.
You'll have a good idea of which styles work and which ones don't quite quickly.
Hope this helps,
--noyranea
Re: Manialink styles
thanks but that's quite a pain imo ^^noyranea wrote:It allows you to edit and display Manialink Code realtime, and you can access the Styles manialink while in the editor using the Ctrl+O shortcut.
You'll have a good idea of which styles work and which ones don't quite quickly.
just a simple "every label style is supposed to work for entries, too" would be enough for me
or maybe "the quad styles work as well but that's rather a bug *cough* i mean a feature"?
Re: Manialink styles
Sorry, I didn't even understood you were speaking about entries ^^steeffeen wrote:just a simple "every label style is supposed to work for entries, too" would be enough for me
Using a quad style in a label or an entry is syntaxically correct and the xml parser won't annoy you, so I wouldn't say it is a bug nor a feature. It's not supposed to do anything interesting actually.steeffeen wrote:or maybe "the quad styles work as well but that's rather a bug *cough* i mean a feature"?
Re: Manialink styles
it's not about the xml style but about the fact that for example the quad style "321Go" creates a dynamic visual effect on an entry ^^noyranea wrote:Using a quad style in a label or an entry is syntaxically correct and the xml parser won't annoy you, so I wouldn't say it is a bug nor a feature. It's not supposed to do anything interesting actually.
Re: Manialink styles
I don't have a definite answer but from my testings all label styles should work on entries, but with different level of support. The button styles (TexCard*) won't change the style of the entries. Some label styles will have a background and some others won't. But overall the entry will always override the majority of the original label style, only the font will remain, when typing into it.
Re: Manialink styles
Uhm how do you use the Quad style 'SliderCursor2' (in Icons64x64_1)?
if you hover over it the quad becomes a checkmark, that's what i want to achieve the whole time
i tried setting the new CMlQuad::StyleSelected property but that doesn't change anything
if you hover over it the quad becomes a checkmark, that's what i want to achieve the whole time
i tried setting the new CMlQuad::StyleSelected property but that doesn't change anything
Re: Manialink styles
If you replace "SliderCursor2" with "Check" and then set StyleSelected to true it will works. 

Who is online
Users browsing this forum: No registered users and 1 guest