Author Topic: PCS:2 interface discusion  (Read 10559 times)

0 Members and 1 Guest are viewing this topic.

Looking pretty good so far! (As I salivate in anticipation!)

 

Offline Col. Fishguts

  • voodoo doll
  • 211
hm..I like this tree approach, better then a dozen tabs. :yes:
"I don't think that people accept the fact that life doesn't make sense. I think it makes people terribly uncomfortable. It seems like religion and myth were invented against that, trying to make sense out of it." - D. Lynch

Visit The Babylon Project, now also with HTL flavour  ¦ GTB Rhea

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
tree approach = coding nightmare

i don't know why bobboau posted it after i had idea.veto();
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

  

Offline Taristin

  • Snipes
  • 213
  • BlueScalie
    • Skelkwank Shipyards
I don't like the tree idea. I'm too used to drop down menues to want to change now. :p
Freelance Modeler | Amateur Artist

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
could you give me a link to WX's tree controle so I can see for myself.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
http://wxwidgets.org/manuals/2.4.2/wx399.htm#wxtreectrl

you can peek in the pcs2 source to see one being used
« Last Edit: December 31, 2004, 03:31:24 pm by 30 »
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
well just a quick looking at it, it doesn't look too bad just that you'd have to plan everything ahead (and you've already started with a diferent method so I guess that would be it)
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
erg vpcs2 source i meant
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
i kinda like bob's tree. so long as there arent no rediculous restrictions. if i want to be able to take a turret normal and make a glowpoint out of it i should be able to. a dragdrop feature would be nice. with gun/missile points id like to be able to rearranger them fairly easy.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
it would prbly be doable to have anything that was a vector be drag/dropable into any other vetor object, I don't know right now I'm haveing the devils time trying to get a damned WX progect setup so I can play about with it a little, I'm going to have to learn a UI sooner or later.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
ok, godamned that was harder than it should have been, future reference for me
settings->c/c++->code generation->run-time library = debug miltithreadded DLL
additional libs = wxmswd.lib comctl32.lib wsock32.lib ws2_32.lib Rpcrt4.lib kernel32.lib user32.lib
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 
Just a thought guys... I have seen and heard a lot of people go both ways bout tree format, and tab... Would it be possible to have a display format option (tab or tree display) to satisfiy all or no? I will be happy with what ever you both finally create, but on the same note I am curious... By the way... Happy new year guys!

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
bobboau: release setup->optizations->inline function expansion OFF
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
stithe2000: basically it requires ten times the code to allow both - since the three takes 9 times the code of my way
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 
Gotcha! thx!

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
yeah, if I somehow managed to convince him to use the tree there is no way i would even think about asking him to try doing both, ten times as much is a very conservitive estimate of how nightmareish that would be.

I would like to ask that the POF (or model or whatever you want to call it) class is made to be easily portable to another GUI should I get the balls to try to code my idea so. I would think that haveing every array derived from a base class that had all the generic add/copy/delete functions prototyped would be a good idea in any event.
« Last Edit: January 01, 2005, 02:53:52 pm by 57 »
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Erg, ok, I must be missing something here - what's the problem with doing the tree at all? :wtf:

You can determine the type of data by the icon, you could even have multiple icons that are identical if you didn't feel like making more than a couple.

Then you know what to do with the pointer, what dialog to display when it's clicked. Handling the select message shouldn't be much worse than handling the one from a bunch of tabs.

To display the stuff, all you need is one update function - unless you don't want it to reset every time something is added. In that case you'd need an add function that would take the pointer to the new type, the parent item's pointer, and then the icon to show for it. Then you run through the tree, looking for an item with the same pointer as the parent, and add the item that's being added as its child.

A delete function is also easy, figure out what item's selected, try to delete the item using a standardized delete() function, and then call wxTreeCtrl:: Delete().

It's somewhat confusing/complex but not "nightmarish".
-C

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
WMCoolmon: have you ever written a tree ctrl?  

PS the data isn't stored in the GUI - i _NEVER_ use GUIs for data storage, GUIs are presentation only

Bobboau: the internal format is PMF, it will also save "projects" to PMF binaries
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
it would be nice if we can display trees from multiple models, that way it somone wanted to copy a turret from an ursa and put it on a herc they could, and with only a couple dragdrop events.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
*Sighs* i don't know why we're still discussing the damn tree -- i had idea.veto()'ed it before bobboau even posted it here (We had talked on ICQ)

i've already started writing the other control mechanism anyway! I started writing the Toolbar radio group selector before I even got back from West Virginia
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir