forked from External/mage
Made a hack for Nimbus LAF to add transparency to JInternalFrames. Updated CombatDialog. Updated Mage-Theme-Plugin (jar) with background. Fixed "Games played:" title length, so game count can be seen for big numbers.
This commit is contained in:
parent
c6ff81e619
commit
a731fba667
7 changed files with 161 additions and 3 deletions
|
|
@ -65,7 +65,16 @@ public class Plugins implements MagePlugins {
|
|||
PluginManagerUtil pmu = new PluginManagerUtil(pm);
|
||||
|
||||
for (ThemePlugin pl : pmu.getPlugins(ThemePlugin.class)) {
|
||||
pl.apply(ui);
|
||||
pl.applyInGame(ui);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateOnTable(Map<String, JComponent> ui) {
|
||||
PluginManagerUtil pmu = new PluginManagerUtil(pm);
|
||||
|
||||
for (ThemePlugin pl : pmu.getPlugins(ThemePlugin.class)) {
|
||||
pl.applyOnTable(ui);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue