can I have the listbox object source

Forum for plugin, effect and behavior programmers. Please use the Help & Support forum for help using Construct.

Post » Thu Jul 16, 2009 11:34 pm

I really need the listbox object source for a project I'm working on
would it be possible to have that please?


and you don't want to dropbox it here or whatever, and it's ok for me to have it
pneumasurreal@hotmail.com if by email

and don't worry, I don't plan on releasing any modified versions :)

Edit: nevermind
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Sun Jul 19, 2009 2:43 pm

actually I do still need it

I guess the answer is no, since subsequent posts were responded to, but not this one
but just in case that's an incorrect assumption
if it's doable
I really could use it
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Sun Jul 19, 2009 2:47 pm

I'll see if we can stick it on CVS at some point.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,498

Post » Mon Jul 20, 2009 3:24 am

thanks ash
if you get bored, throw canvas on there as well
I think reading through some of that could be helpful down the road to making plugins that draw stuff
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Mon Jul 20, 2009 10:56 am

The listbox object doesn't draw anything, it just wraps MFC's CListBox.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Mon Jul 20, 2009 11:50 am

i meant i could learn about drawing from canvas.
the listbox object i need for a different reason
basically, im making a plugin that will help me edit levels for an engine im working on, and if i could modify listbox (for personal use only)
i can streamline the editor code in construct by making common listbox tasks get called through callfunctions by my editor plugin. ive done this with modified sprites, lines, and textboxes, and honestly i dont think i could have gotten as far as i have without having done so. its coming along awesomely
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Mon Jul 20, 2009 12:37 pm

Just curious, what would you want to add to it (and are you using it for its intended purpose, the display of data on screen)? Most functions are wrapped in the ACEs, so if you need anything and it's useful we could always add it.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Mon Jul 20, 2009 4:27 pm

i would only be using it for its intended purpose, but adding callfunctions to bypass using the aces, and adding complexity to an already complex cap. im using it mostly for right click menus. the editor im building has several type of simple geometric math objects. sine waves, ratio values, interpolated curves, etc. they all interact in many ways, and as i build and test it, the methods continue to grow. if i want to pick a curve, for instance, right now, through events, i right click, in pops up a listbox, depending on what ive clicked on, and select curve will come up as an option, if i click on that, it brings up a list of all the curves that have been created in the current editting session. to do this, i need a right click event, suppressed depending on whats clicked, create a list box, make the first item a label to check later which type of menu or submenu it is, then i run a looping condition created specifically to run through the curves and output strings of object names to the listbox, then on selection changed, i run an action that loops through the list of curves to find the one with the name that was clicked on after supressing the click on the label. there are also right click menus with functions instead of lists. and in order to destroy a submenu listbox along with the original i need to call a function to forget the one picked by clicking and then destroy them. so far things arent getting too bad yet. but anytime i want to change a function, or add a new option or list of objects, i have to create several events, and add new conditionsand actions just to control listboxes. by adding a few callfunctions to my engine code and to listbox, i could streamline the whole process, and concentrate on the engine and the editor, instead of spending long periods on updating listbox code.. pretty soon now that the basics are done, things are going to start getting really complicated. and the listbox thing although a simple problem, would start taking up large amounts of dev time. so yeah, the things i plan to add are pretty useless to the general community, but super useful for the current project i have going. the same for the other objects ive modified, they dont really do anything new, but if would have had to redo the code to draw curve with the line object everytime ive changed the underlying logic, i probably wouldnt be able to complete this project at all, due to the length of time itd take just inrearraning and redoing events
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Mon Jul 20, 2009 5:16 pm

:shock:

Wall of ... text!
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Mon Jul 20, 2009 5:23 pm

yeah, i posted that on my cel, so i didnt know until afterward how long and wally it was
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Next

Return to Construct engineering

Who is online

Users browsing this forum: No registered users and 0 guests