Todd,

You seem to be asking for changes to the way the base functionality of VASSAL 
works to suit your perception of how the GUI interface should work. Short of 
rolling up your shirtsleeves, delving into the code and spending countless 
hours writing custom components to get this stuff to happen, I don't see any of 
this happening anytime soon.

Some comments below.

Regards,
Brent.

>*********** REPLY SEPARATOR ***********
>
>On 21/09/2006 at 11:16 PM Todd Dunnavant wrote:
>Hello, friends,
>
>I continue to evolve (slowly!) the module for the old Advanced Third Reich
>game. I have some questions for you.
>
>I'd like to be able to select all the units in a stack, in order to apply a
>common action to them (become invisible, add a destroyed trait, whatever).
>I'd like to do this with a minimum of gestures, such as (1) select the top
>unit in the stack, (2) press a hot key to select all the units in the
>stack, then (3) press another hot key to apply my action. Any hints on whether 
>I
>need custom code to do this, and if so, where might I find a sample?

What about 

(1) Drag a small rectangle around the stack
(2) Right-click on the top unit and select the action

>Second request. I'd like to be able to select the first unit in a stack,
>delete that unit (with a hot key), then have the selection automatically
>transferred to the unit below the one that was deleted (so that I can
>delete that one, as well). Any hints on what to do to make this happen?

Write a custom Delete trait. When deleting a unit, determine the top unit 
remaining in the stack it is being deleted from and call 
topPiece.setProperty(Properties.SELECTED, Boolean.TRUE);

>Third request. I'd like to be able to select the top unit in a stack, leave
>the stack unexpanded, and move just the unit that I selected. Any hints on
>how to do this?

Delve into PieceMover.java. Good Luck!

____________________________________________________________
Brent Easton                       
Analyst/Programmer                               
University of Western Sydney                                   
Email: [EMAIL PROTECTED]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/vassalengine/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/vassalengine/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to