Users browsing this thread: 1 Guest(s)
Another UMC side-thread
#14
finally working on the import dialog I'd planned since dev4 Tongue

[Image: import_dialog.png]
though I won't say the layout will be the same as planned...

tbh, I never really had a solid plan for the layout, so for now I'm just gonna do something very basic and keep it quite similar to Tkinter.

though the scrolled dialog for selecting your files will just be made of buttons.

it's kinda sad to realize just how pointless this update is though when everything will be ported to shaders in 3.0
(that should say something about just how simple my GUI really is) Tongue

would be nice if display lists weren't deprecated already... Tongue
but using them very inefficient on your MBd as is... heh


EDIT:
lol every time I break this thing, I keep making it better XD

my code for my UI class is getting to be a bit bulky and hard to edit, so I've decided to split up the panels...
in doing so, I broke the very framework that handles the GUI-layering...

the problem was I had to define each layer and stack before I could use it, otherwize the interface would throw a KeyError exception.
so what I've done now was automated that part and removed the limitation of a fixed order.
meaning you can do this:

layer(1).stack(0).AddQuad( ... ) # this draws last
layer(1).stack(5).AddQuad( ... ) # this draws next
layer(0).overlay(2).AddQuad( ... ) # this draws first

normally this would throw a major key-error and cause the interface to cough, even when recompiling the UI display list.
but now everything is automated and you no longer need stacks 1 through 4 or overlays 0 and 1.
all the stack does is determine the position on the current layer and draws from top to bottom. (5 to 0)
[Image: banner.PNG]
Reply
Thanked by:


Messages In This Thread
Another UMC side-thread - by Tcll - 12-13-2014, 01:18 AM
RE: Another UMC side-thread - by Tcll - 12-13-2014, 11:44 PM
RE: Another UMC side-thread - by Struggleton! - 12-13-2014, 11:44 PM
RE: Another UMC side-thread - by Tcll - 12-14-2014, 12:30 AM
RE: Another UMC side-thread - by Tcll - 12-15-2014, 09:56 PM
RE: Another UMC side-thread - by Tcll - 12-17-2014, 03:17 PM
RE: Another UMC side-thread - by puggsoy - 12-17-2014, 08:39 PM
RE: Another UMC side-thread - by Struggleton! - 12-17-2014, 09:15 PM
RE: Another UMC side-thread - by Tcll - 12-17-2014, 11:34 PM
RE: Another UMC side-thread - by Tcll - 12-18-2014, 01:55 AM
RE: Another UMC side-thread - by Tcll - 12-27-2014, 02:57 AM
RE: Another UMC side-thread - by Struggleton! - 12-29-2014, 12:37 AM
RE: Another UMC side-thread - by Tcll - 12-29-2014, 12:43 AM
RE: Another UMC side-thread - by Tcll - 01-01-2015, 01:59 PM
RE: Another UMC side-thread - by Tcll - 01-29-2015, 12:26 AM
RE: Another UMC side-thread - by Tcll - 01-30-2015, 01:22 AM
RE: Another UMC side-thread - by Tcll - 02-14-2015, 07:02 PM
RE: Another UMC side-thread - by Tcll - 02-15-2015, 03:37 PM
RE: Another UMC side-thread - by Tcll - 02-28-2015, 09:03 AM
RE: Another UMC side-thread - by Tcll - 03-10-2015, 09:11 AM
RE: Another UMC side-thread - by Tcll - 03-22-2015, 08:59 AM
RE: Another UMC side-thread - by Tcll - 03-31-2015, 12:54 AM
RE: Another UMC side-thread - by Tcll - 04-04-2015, 09:58 PM
RE: Another UMC side-thread - by Tcll - 04-11-2015, 09:23 AM
RE: Another UMC side-thread - by Tcll - 04-14-2015, 01:19 AM
RE: Another UMC side-thread - by Manki - 04-14-2015, 07:37 PM
RE: Another UMC side-thread - by Tcll - 04-14-2015, 08:54 PM
RE: Another UMC side-thread - by Tcll - 06-14-2015, 03:43 PM
RE: Another UMC side-thread - by Tcll - 06-18-2015, 09:20 AM
RE: Another UMC side-thread - by Tcll - 06-21-2015, 09:22 AM
RE: Another UMC side-thread - by Tcll - 07-09-2015, 01:27 PM
RE: Another UMC side-thread - by Tcll - 07-09-2015, 11:43 PM
RE: Another UMC side-thread - by Tcll - 08-10-2015, 10:26 PM

Forum Jump: