StaticImage image property - is it necessary?

Issue #1066 new
Lukas Meindl created an issue

The file: WindowRendererSets/Core/StaticImage.cpp

uses a setImage(...) function and stores the image property as a pointer. This gives the benefit that it allows to select different StateImageries based on that. However it makes things a bit moe complicated. For comparison we can look at the LNF of Generic/Image which doesnt need any extra C++ code at all.

The question is if the property can be replaced by a LNF-defined property to simplify the process and if this still allows to select the right StateImagery without reducing performance.

Comments (1)

  1. Log in to comment