Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: 1.4
Commits on Apr 17, 2015
  1. @bgroenks96

    Merge pull request #329 from bgroenks96/upgrade-lwjgl-2.9.3

    bgroenks96 authored
    chore: update lwjgl pom to version 2.9.3.
  2. @bgroenks96
  3. @bgroenks96

    Merge pull request #328 from bgroenks96/update-jogamp-2.3.1

    bgroenks96 authored
    chore: update jogamp version and refactor necessary imports.
  4. @bgroenks96
Commits on Mar 8, 2015
  1. fix(Java2D): Initialize graphics and graphics2dHelper in constructor

    void authored
    Both were initialized lazily in the beginFrame() method which is only
    called when rendering Nifty. Therefore it was possible that the graphics
    and graphics2dHelper member variables were null before the first call of
    nifty.render(). However for getting RenderFont attributes (like the
    width) the Java2D implementation required the graphics instance!
    
    But it is very likely that you call fromXml() before the very first
    frame being renderedn and you'd end up with a none-initialized graphics
    member variable and therefore a font.getWidth() call returns 0.
    
    I think this lead to a lot of issues one reported was that wrap="true"
    did not work unless render() was called at least once.
    
    So this commit will init both variables directly in the constructor
    fixing this!
    
    fix #317 wrap="true" does not work in Java2D renderer
Commits on Jan 31, 2015
  1. Merge pull request #313 from DaviBones/patch-1

    authored
    Update SinusPulsator to accept "reverse" parameter
  2. @DaviBones

    Update SinusPulsator to accept "reverse" parameter

    DaviBones authored
    The "reverse" parameter allows the effect to begin in the applied state, progressing towards the unapplied state. Useful for ImageOverlayPulsate effect to fade out from an ImageOverlay effect.
Commits on Jan 25, 2015
  1. [maven-release-plugin] prepare for next development iteration

    Illarion Jenkins - CI authored
  2. [maven-release-plugin] prepare release nifty-main-1.4.1

    Illarion Jenkins - CI authored
Commits on Jan 6, 2015
  1. feat: add support for directly supplying a ResourceBundle again

    void authored
    Additionally to the existing method another addResourceBundle() method
    has been added that takes a ResourceBundle instance.
    
    Please note a few things:
    
    - You can't mix using the regular baseName based method and the
    ResourceBundle based method for the same id. The last call will win when
    using the same id.
    - You can and probably should call the new addResourceBundle() method
    with different instances of ResourceBundle that have been initialised
    with the Locales you want to support. It's okay to only use a single one
    too but in that case you can't switch the locale with nifty.setLocale()
    of course.
    - The first call to the new addResourceBundle() method will be used when
    nifty.setLocale() is called with null - the default locale basically.
    
    #303
Commits on Dec 10, 2014
Commits on Nov 19, 2014
  1. fix: CheckBox control did not keep it's state when being hidden/shown

    void authored
    The custom Nifty effects for the CheckBox (scale + fade) have been
    removed for now. The new way of keeping the visible state of child
    elements intact when a parent element is hidden introduced issues with
    the custom effects.
  2. fix: element.show() needs to trigger onShow events for visible elements

    void authored
    The commit 77059d2 introduces an issue
    with the controls example. All the main panels (and the hints too)
    didn't fade in properly because of the commit mentioned above.
    
    The show() method has now been changed back to the original code that
    will use startEffect() instead of startEffectWithoutChildren(). Doing
    that means we'll - again - iterate through all child elements.
    
    But this time we'll not start the onShow effect for elements that are
    invisible. So we fix the original problem where it was possible that
    invisible child elements with an active onShow effect prevented an
    actual show() call and still keep the remaining functionaility intact -
    which fixes the controls example.
  3. fix: Really fix hint effect completely this time

    void authored
    We still have to initially hide the hint. This was missing from the last
    commit which lead to the possibility that a hint was initially been
    displayed. This occured in the controls example demo where the hint was
    suddenly displayed in the top left corner when you hovered over the menu
    buttons on the top.
    
    Now we initially hide the hintLayer.
    
    #246
Commits on Oct 22, 2014
  1. @bgroenks96
  2. @bgroenks96

    Fixed JoglMouseCursor loading cursor texture upside-down

    bgroenks96 authored
    -Added static 'flipArray' utility method to JoglMouseCursor (consider moving elsewhere? i.e. a utility class)
    -JoglMouseCursor init uses 'flipArray' to reverse BufferedImage pixel data so that it is properly compatible with OpenGL texture coordinates.
  3. @bgroenks96

    Merge pull request #295 from bgroenks96/1.4

    bgroenks96 authored
    Implementation of JoglMouseCursor; Fix for chat control not displaying text properly (issue 293)
  4. @bgroenks96

    Fixed JoglMouseCursor throwing ArrayIndexOutOfBoundsException on init

    bgroenks96 authored
    -JoglMouseCursor initializer now uses BufferedImage.getRGB instead of getRaster().getData()
  5. @bgroenks96
  6. @bgroenks96

    Fixed chat control not displaying text in player/chat list boxes

    bgroenks96 authored
    -> TextRenderer.setText/setLabel were placed before setStyle in ChatBoxViewConverter; this caused setStyle to overwrite the submitted text because it calls setStyle(<original text>). Both method calls were moved after setStyle. This *seems* to have resolved the issue.
    
    Fixes #293
Commits on Oct 21, 2014
  1. Merge pull request #288 from relu91/1.4

    authored
    Automatic style reloading
Commits on Oct 19, 2014
  1. @bgroenks96

    Implemented JoglMouseCursor; added Window parameter to JoglRenderDevi…

    bgroenks96 authored
    …ce constructor
    
    -JoglMouseCursor no longer uses AWT references and should (hopefully) be working properly
    -JoglRenderDevice now requires a com.jogamp.newt.Window parameter in the constructor (old constructors are deprecated with warnings).
    -JoglMouseCursorFactory now requires a com.jogamp.newt.Window parameter in order to create JoglMouseCursor
    -JoglBatchRenderBackendFactory/JoglBatchRenderBackendCoreProfileFactory now require a com.jogamp.newt.Window parameter in their 'create' methods in order to initialize JoglMouseCursorFactory
Commits on Oct 14, 2014
  1. @relu91

    Added ability to reload a control style file and notify the elements …

    relu91 authored
    …with that style. it also adds
    
    the ability to update a registered StyleType
Commits on Sep 3, 2014
  1. element.show() not propagates EffectEventId.onShow to children anymore

    void authored
    When you show() an element in the past the EffectEventId.onShow was
    triggered for all children, even for invisible ones. So we'd end up with
    invisible child elements with an active onShow effect which would
    prevent an actual show() call on that child elements.
    
    This commit will now not propagate EffectEventId.onShow to the children
    anymore.
  2. fix hint effect, closes #246

    void authored
  3. Update README.md

    authored
  4. Update README.md

    authored
Commits on Sep 1, 2014
  1. Merge pull request #281 from relu91/1.4

    authored
    Fix code style for my previous pull request
  2. @relu91

    Update Listbox

    relu91 authored
  3. @relu91

    Fix code style

    relu91 authored
Commits on Aug 31, 2014
  1. Merge pull request #280 from relu91/1.4

    authored
    Added methods to listbox to retrive Scrollbars.
  2. @relu91
Commits on Aug 29, 2014
  1. [Button] MoveCursorDown and MoveCursorUp don't check parent anymore

    void authored
    NextInputElement and PrevInputElement didn't check the parent of the
    elements they change focus to/from. There is no known reason why it
    should not be the same for MoveCursorDown and MoveCursorUp.
  2. Merge pull request #279 from 3xp0n3nt/refactor-nifty-examples

    authored
    Refactor Nifty Examples.
  3. Merge pull request #278 from 3xp0n3nt/rename-jogl2-to-jogl

    authored
    Rename jogl2 to jogl.
Something went wrong with that request. Please try again.