Hi,
i create an OpenPlanet addon for another Player. I do not see what i have to do, to set a category.
What i have to do?
edit:
How to activate the CloseButton in the TitleBar of a UI Window?
How to set a "Category"
Re: How to set a "Category"
For the category, you have to add this line somewhere at the top:
For a closable interface, you have to pass a boolean reference to UI::Begin. So, something like this:
Code: Select all
#category "Something"
Code: Select all
bool windowIsVisible = false;
void Render()
{
if (!windowIsVisible) {
return;
}
UI::Begin("My window", windowIsVisible);
// ...
UI::End();
}
3080 RTX, Ryzen 3700X, 32GB RAM, Windows 11
Forum moderator, opinions are my own.
Check out openplanet, the alternative ManiaPlanet & Turbo scripting platform! (Openplanet subforum)
I also stream and tweet.
Forum moderator, opinions are my own.
Check out openplanet, the alternative ManiaPlanet & Turbo scripting platform! (Openplanet subforum)
I also stream and tweet.
Re: How to set a "Category"
Thank you Miss, that's it.
I have to say "Good work" your Openplanet.
The only thing I miss are images(bitmaps). it would be really cool if you would implement image drawing functions. So draw image and image rotation.
I have to say "Good work" your Openplanet.
The only thing I miss are images(bitmaps). it would be really cool if you would implement image drawing functions. So draw image and image rotation.
Re: How to set a "Category"
Hm, I thought I had that in the API, but I guess not. I'll make a note of it, thanks!
3080 RTX, Ryzen 3700X, 32GB RAM, Windows 11
Forum moderator, opinions are my own.
Check out openplanet, the alternative ManiaPlanet & Turbo scripting platform! (Openplanet subforum)
I also stream and tweet.
Forum moderator, opinions are my own.
Check out openplanet, the alternative ManiaPlanet & Turbo scripting platform! (Openplanet subforum)
I also stream and tweet.
Re: How to set a "Category"
That's would be really nice!
I have just realized that with openplanet when the real 2-d overlay hidden in the game is a completely own overlay with OP can do. That's really cool. I like it more than on a 2nd monitor. Enough space on the 2nd monitor for the records. If you've done that with the images, I'll start immediately. If I now imagine that the program for the Rocords then communicates with OP, OMG, fantastic possibilities.
I have just realized that with openplanet when the real 2-d overlay hidden in the game is a completely own overlay with OP can do. That's really cool. I like it more than on a 2nd monitor. Enough space on the 2nd monitor for the records. If you've done that with the images, I'll start immediately. If I now imagine that the program for the Rocords then communicates with OP, OMG, fantastic possibilities.
Who is online
Users browsing this forum: No registered users and 0 guests