use of eidolons.client.cc.gui.neo.header.PortraitComp in project Eidolons by IDemiurge.
the class PartyMemberComp method init.
private void init() {
slidePanel = new HeroSlidePanel(hero);
portrait = new PortraitComp(hero) {
@Override
protected void handleMouseClick() {
// TODO Auto-generated method stub
}
};
// nameComp = new TextComp(null, hero.getName()) {
// protected int getDefaultFontSize() {
// return 17;
// }
// };
// add(nameComp, "id n, pos 0 0");
add(portrait.getComp(), "id portrait, pos 0 n.y2");
add(slidePanel, "id s, pos portrait.x2 n.y2");
refresh();
}
use of eidolons.client.cc.gui.neo.header.PortraitComp in project Eidolons by IDemiurge.
the class T3UpperPanel method init.
public void init() {
heroPortrait = new PortraitComp(hero);
controlPanel = new G_Panel();
for (final String c : controls) {
controlPanel.add(new CustomButton(VISUALS.BUTTON_NEW_TINY, (c)) {
public void handleClick() {
handleControl(c, false);
}
@Override
public void handleAltClick() {
handleControl(c, true);
}
});
}
add(controlPanel, "id cp, pos @center_x 0");
add(heroPortrait.getComp(), "pos @center_x cp.y2");
}
Aggregations