Perhaps some useful UI components

Share your helpful Urho3D code snippets, samples and tutorials here.

Perhaps some useful UI components

PostPosted by Lumak » 04 Nov 2016, 02:40

Here https://github.com/Lumak/Urho3D-UI-Components

Image

Image




Edit: changed screenshot, again.
Last edited by Lumak on 09 Nov 2016, 23:41, edited 3 times in total.
Lumak
Have many posts
Have many posts
 
Posts: 425
Joined: 08 Jun 2015, 15:38

Re: Perhaps some useful UI components

PostPosted by yushli » 04 Nov 2016, 04:06

That is really great! I will check it out.
Can I adjust the background images for these components?
User avatar
yushli
Some active
Some active
 
Posts: 94
Joined: 18 Oct 2014, 05:42

Re: Perhaps some useful UI components

PostPosted by Lumak » 04 Nov 2016, 15:56

Changed code and UI.png to be able to change tab color. Pull the repo you will seen green tab/body now.

Edit: and with that, you should be able to change every component's background color now.
Lumak
Have many posts
Have many posts
 
Posts: 425
Joined: 08 Jun 2015, 15:38

Re: Perhaps some useful UI components

PostPosted by Victor » 04 Nov 2016, 20:35

Nice work! Thanks!
User avatar
Victor
Have some posts
Have some posts
 
Posts: 48
Joined: 11 May 2016, 14:22

Re: Perhaps some useful UI components

PostPosted by Lumak » 04 Nov 2016, 21:17

@Victor, I hope you can make a good use of them:)

Repo update: edited UI.png to add colorable checkbox.

I suppose I can rename the checkboxGroup class to Radial something.
Lumak
Have many posts
Have many posts
 
Posts: 425
Joined: 08 Jun 2015, 15:38

Re: Perhaps some useful UI components

PostPosted by sabotage3d » 05 Nov 2016, 17:10

Thanks for these.
User avatar
sabotage3d
Have many posts
Have many posts
 
Posts: 515
Joined: 25 Oct 2014, 13:26

Re: Perhaps some useful UI components

PostPosted by Lumak » 06 Nov 2016, 14:33

@sabotage3d, there's more to come :)

@yushil, I added a UI-NoColor.png and DefaultNoColorStyle.xml in the repo for you. Be warned, you'll have to manually change the color for everything that you create.
Lumak
Have many posts
Have many posts
 
Posts: 425
Joined: 08 Jun 2015, 15:38

Re: Perhaps some useful UI components

PostPosted by yushli » 06 Nov 2016, 15:12

Thank you for sharing all these. I will try it out. Keep up the good work. :)
User avatar
yushli
Some active
Some active
 
Posts: 94
Joined: 18 Oct 2014, 05:42

Re: Perhaps some useful UI components

PostPosted by Lumak » 06 Nov 2016, 20:34

preview of what I'm working on, inspired by godan's Iogram:

Image
Lumak
Have many posts
Have many posts
 
Posts: 425
Joined: 08 Jun 2015, 15:38

Re: Perhaps some useful UI components

PostPosted by Lumak » 09 Nov 2016, 20:24

progress: this is coming along nicely, see pic below.

Currently, my interfaces to access data look like this:

Code: Select all
Variant var = outputNode_->GetCurrentValue("Ni");

float x = outputNode_->GetValueAt("Xi", ballList_[i].time);
float y = outputNode_->GetValueAt("Yi", ballList_[i].time);


I think that's simple... not sure if it can be simplified more.

Image
Lumak
Have many posts
Have many posts
 
Posts: 425
Joined: 08 Jun 2015, 15:38

Next

Return to Code Exchange

Who is online

Users browsing this forum: No registered users and 1 guest

cron