Modular UI API

Dalin SeivewrightDalin Seivewright 0x0000221E Join Date: 2007-10-20 Member: 62685Members, Constellation
It would be awesome to have a GUI API for use with NS2 modifications. Something simple that would allow us to draw usable Textboxes/Image/Label/Button controls on the screen when needed. I've started work on a modification but lack the ability to create my own menus, so I've resorted to rolling my own menu system but the problem of drawing the controls on screen still exists.

One could potentially do some magic and use 3D Models to draw the look the controls on the screen, and input could theoretically be captured by checking mouse values against ranges and etc. etc. but I was hoping for some sort of ready-to-use API of generic components that didn't require the use of Flash.

Any hope of such a thing to be built-in in the future?

Comments

  • spellman23spellman23 NS1 Theorycraft Expert Join Date: 2007-05-17 Member: 60920Members
    Yeah. Built-in menu support, moveable frames, etc would be epic.
  • Dalin SeivewrightDalin Seivewright 0x0000221E Join Date: 2007-10-20 Member: 62685Members, Constellation
    I read a long time ago that the Flash UI system was removed and replaced with a homemade system. When I noticed Flash still existing in the patch after I read about it, I assumed they just switched the interface code in the back end to something that could handle flash much faster. If this isn't the case, we may be in for some actual GUI stuff to play around with soon.
Sign In or Register to comment.