Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: 1.4
Commits on May 29, 2015
  1. Merge pull request #319 from barefists/1.4

    authored
    feature: Adding nifty-renderer-processing to Nifty
  2. Merge pull request #342 from dominic-jones/#341-hint-effect-fix

    authored
    fix: #341 Correcting Hint Effect layer not activating / deactivating
Commits on May 28, 2015
  1. fix: #341 Checking for one or less children as a requirement to hidin…

    Dominic Jones authored
    …g the hint layer rather than exactly one
  2. fix: #341 Enabling visibleToMouseEffects on the Element when a hover …

    Dominic Jones authored
    …effect is enabled. This was previously done in a check that could never occur (due to a refactor)
Commits on May 25, 2015
  1. @bgroenks96

    Merge pull request #339 from cuchaz/cuchaz-logging

    bgroenks96 authored
    log debug messages as fine instead of warn
Commits on May 22, 2015
  1. @cuchaz

    log debug messages as fine instead of warn

    cuchaz authored
    there's no issue an end-user needs to resolve, so the warnings are confusing
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 20, 2015
  1. @barefists
  2. @barefists

    Removing Eclipse files

    barefists authored
Commits on Mar 19, 2015
  1. @barefists

    Font renderer and TImeProvider changes

    barefists authored
    Added more fixes to FontRenderer. Valign wasn't calculated correctly for
    "center"
    Sneaked a function into TimeProvider so instance of PApplet could be
    called from Nifty. (Hope to deprecate this soon once official support is
    added )
Commits on Mar 17, 2015
  1. @barefists

    Font fixes and nifty size definition.

    barefists authored
    Added fixes for font where font:
    - Lines where rendering too close to each other. Added a 142% increase
    in font height to separate them more.
    - RGB numbers for fonts were jumbled. Fixed with the correct values.
    Added option to define nifty gui size.
Commits on Mar 13, 2015
  1. @barefists
  2. @barefists

    Added Minim SoundDevice to project

    barefists authored
    SoundDeviceMinim added. Needs more testing.
    Some javadoc updates to RenderDeviceProcessing module.
Commits on Mar 12, 2015
  1. @barefists

    Adding nifty-renderer-processing to nifty

    barefists authored
    Implementation of RenderDevice and InputSystem for Processing 2.0
    (Also needed to change access of AwtToNiftyKeyCodeConverter to public so
    I can use it in this module)
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
Something went wrong with that request. Please try again.