Archive for the ‘Updates’ Category

FlexNA Beta Update

Sat, April 21, 2012 Leave a comment


FlexNA Beta Release Notes:
Maintenance and Usability Improvements Update

+ Added virtual DrawBackground() method to the Screen class. Inheritors can override this method to provide custom background rendering for their custom screen classes. Results will appear below any FlexWindow controls.

+ Added an optional transform parameter to the BeginRendering() method of Renderer2D. Can now specify a transformation matrix when using Renderer2D.

– Fixed text alignment when changing the FontScale property on Label controls.
– Fixed some text alignment issues occurring when setting properties on the Label class in different orders. Text would be mis-aligned if the Font property was set after setting the Width or Height properties.

* The Origin property of the Control class is now readonly. Use the SetOrigin() method to change the origin on a control. Previously, if you tried to set the origin on the Origin property BEFORE setting the Width or Height properties, the origin wouldn’t take affect. SetOrigin() functions properly regardless of when you use it.

– Fixed a bug in CreateBeveledFrame(). The method was not creating the top-right and bottom-left corners of the frame as intended.
– Fixed bug in rendering control frames. Frames for all controls were being rendered at 50% opacity, but this functionality was supposed to be reserved for flex windows only.

– Improved input behavior for the FlexWindow class. Hiding a FlexWindow with Hide() now registers the mouse as having left the control and all child controls, eliminating unexpected highlight/de-highlight effects from controls that use the highlight effect.

– Renamed the Render() method of the Renderer2D class to RenderTexture() to be more clear as to its purpose.

Categories: Updates Tags: , ,

FlexNA Beta Update

Thu, April 19, 2012 Leave a comment

Another minor update:

+ Added ShowAndEnable() and HideAndDisable() methods to the Screen class.  These methods are simply shortcuts for setting the Enabled and Visible properties.

+ Added a needed capability to control input handling on Screen objects.  There was an issue with displaying an existing screen on top of a current screen via mouse or keyboard events.  Basically, if you wired up a control to show a screen on top of your existing screen, on a MouseClick event for example, the newly shown screen would accept and route the same mouse click that the previous screen handled, causing problems if your mouse pointer happened to be over another control on the new screen.

– You can now set the IgnoreNextInput flag on the screen you wish to show in order to prevent it from handling the click or key press or other input you were responding to in your current screen.  The shown screen will then ignore the undesired input and automatically reset itself so that it will accept any future input.

Categories: Updates Tags: , ,

FlexNA Beta Update

Fri, April 6, 2012 Leave a comment

Just a minor fix for this update.

– Fixed a bug causing controls to not dispatch their MouseLeave events.  I had to cut out a minor performance enhancing feature in order to fix this, but the results should be negligible.

Categories: Updates

Alpha 0.1.1 is available

Fri, April 22, 2011 Leave a comment

FlexNA Alpha 0.1.1 is now available for download at the FlexNA download page.

Here is a summary of changes from the previous release:

  • Renamed OuterBorder, Base, and InnerBorder properties of the ControlFrame class. They are now appended with the word “Part” to clarify that they are ControlFramePart objects.
  • Fixed Close Button functionality with Screen objects. When a properly constructed frame object is assigned to the Frame property of a Screen object, the frame will render around the bounds of the control, and the close button will appear at the top-right. You can handle any of the available events of the CloseButton property on a Screen object to control certain behavior. For example, you can handle the Click event to handle what happens when the user clicks the button. The close button can be customized using the various properties available for the Button class.
  • Frames are now rendered properly with their accompanying controls when the Scale property of a control is changed to values other than 1.
  • Screen objects will now close when their CloseButton is clicked.
  • Screen Class: Renamed IconMenu property to IconControl. Renamed Icon to IconTexture.

Categories: Updates