DICE PACKS BUNDLE
  1. #1

    Windowlist and textwidget problem in 2.0.6. [fixed]

    I was in the process of working on a d20 modern ruleset for my group, and noticed a strange problem when I was tinkering with the weapons.

    The problem:
    It seems that if you add a textwidget to any part of the windowclass that acts as the item entries in a windowlist, the engine doesn't properly track masking on it.

    ... here's two screenshots of what I mean (since I managed to confuse myself with what I just said, I think...)



    In this first shot, the five blue boxes there are genericcontrols with a textwidget added to them for the label (side note: they're made so that if you click on them, it allows you to set the value they control, but that's beside the point). The script for the textwidget was borrowed from the labeledstring template.


    Now, the problem shows up if you scroll the windowlist...


    The original parts of the windowclass get masked just fine when they reach the top, but the textwidgets persist until the entire windowclass has gone off the page (I'm assuming that the engine calls setVisible(false) on it at that point or possibly even close / destroy?).

    Workarounds:
    - Use a flat graphic for it .
    - Declare the label as a static string control instead of a text widget
    - Write a function that manually calls setVisible on the widget when it goes off the screen (... though I'm not sure if you're capable of getting the offset of a windowclass that's part of a windowlist...)

    Conclusion:
    It'd be simpler to ask if this is "working as intended" or if it's a bug, and then let Smiteworks deal with it if it is...
    (j/k on that part)


    Oh, and I know that the H&K PSG1 uses the 7.62 mm round with a 5-round clip... those values are just there for testing purposes... or me not having some of the graphics done...
    Last edited by TarynWinterblade; May 3rd, 2007 at 06:38.

  2. #2
    Fixed in 2.0.7. <3 the devs.

  3. #3
    Valarian's Avatar
    Join Date
    Mar 2007
    Location
    Worcestershire, UK
    Posts
    2,567
    The image looks as if the ruleset is going to be magnificent.
    Using Ultimate license - that means anyone can play.
    Valarian's Fantasy Grounds Rulesets

  4. #4
    Quote Originally Posted by Valarian
    The image looks as if the ruleset is going to be magnificent.
    Thank you.

    I'm hoping it'll be at least somewhat good.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
5E Character Create Playlist

Log in

Log in