Changed signature of getSkin to take a prototype name instead of a path element parameter.
This commit is contained in:
parent
ffc8956b8a
commit
89e9e1d32f
1 changed files with 2 additions and 2 deletions
|
@ -761,8 +761,8 @@ public final class Application implements IPathElement, Runnable {
|
|||
* Return a skin for a given object. The skin is found by determining the prototype
|
||||
* to use for the object, then looking up the skin for the prototype.
|
||||
*/
|
||||
public Skin getSkin(Object object, String skinname, Object[] skinpath) {
|
||||
Prototype proto = getPrototype(object);
|
||||
public Skin getSkin(String protoname, String skinname, Object[] skinpath) {
|
||||
Prototype proto = getPrototypeByName(protoname);
|
||||
|
||||
if (proto == null) {
|
||||
return null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue