From: <chr...@us...> - 2006-05-26 19:14:11
|
Revision: 33 Author: christianhujer Date: 2006-05-26 12:13:59 -0700 (Fri, 26 May 2006) ViewCVS: http://svn.sourceforge.net/gridarta/?rev=33&view=rev Log Message: ----------- Removed unused bigsize parameter from help window. Modified Paths: -------------- trunk/crossfire/src/cfeditor/CAttribDialog.java trunk/crossfire/src/cfeditor/CFTreasureListTree.java trunk/crossfire/src/cfeditor/CMainView.java trunk/crossfire/src/cfeditor/CMapPropertiesDialog.java trunk/crossfire/src/cfeditor/help/CFHelp.java Modified: trunk/crossfire/src/cfeditor/CAttribDialog.java =================================================================== --- trunk/crossfire/src/cfeditor/CAttribDialog.java 2006-05-26 18:49:11 UTC (rev 32) +++ trunk/crossfire/src/cfeditor/CAttribDialog.java 2006-05-26 19:13:59 UTC (rev 33) @@ -49,7 +49,6 @@ import javax.swing.JCheckBox; import javax.swing.JComboBox; import javax.swing.JDialog; -import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; @@ -1049,7 +1048,7 @@ help_button.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { // create html-docu on the current type and display it - new CFHelp(m_control.getMainView(), type.createHtmlDocu(), CMainControl.getInstance().isBigFont()).setVisible(true); + new CFHelp(m_control.getMainView(), type.createHtmlDocu()).setVisible(true); } }); Modified: trunk/crossfire/src/cfeditor/CFTreasureListTree.java =================================================================== --- trunk/crossfire/src/cfeditor/CFTreasureListTree.java 2006-05-26 18:49:11 UTC (rev 32) +++ trunk/crossfire/src/cfeditor/CFTreasureListTree.java 2006-05-26 19:13:59 UTC (rev 33) @@ -674,7 +674,7 @@ helpButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent event) { // open the help window - new CFHelp(CMainControl.getInstance().getMainView(), "treasurelists.html", false).setVisible(true); + new CFHelp(CMainControl.getInstance().getMainView(), "treasurelists.html").setVisible(true); } }); leftSide.add(helpButton); Modified: trunk/crossfire/src/cfeditor/CMainView.java =================================================================== --- trunk/crossfire/src/cfeditor/CMainView.java 2006-05-26 18:49:11 UTC (rev 32) +++ trunk/crossfire/src/cfeditor/CMainView.java 2006-05-26 19:13:59 UTC (rev 33) @@ -275,7 +275,7 @@ /** open the online help window */ public void openHelpWindow() { - new CFHelp(this, null, false).setVisible(true); + new CFHelp(this, null).setVisible(true); } public void setPickmapActive(boolean state) { Modified: trunk/crossfire/src/cfeditor/CMapPropertiesDialog.java =================================================================== --- trunk/crossfire/src/cfeditor/CMapPropertiesDialog.java 2006-05-26 18:49:11 UTC (rev 32) +++ trunk/crossfire/src/cfeditor/CMapPropertiesDialog.java 2006-05-26 19:13:59 UTC (rev 33) @@ -38,7 +38,6 @@ import javax.swing.BoxLayout; import javax.swing.JButton; import javax.swing.JCheckBox; -import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; @@ -354,7 +353,7 @@ button.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent event) { // open the help window - new CFHelp(m_control.getMainView(), "tut_mapattr.html", false).setVisible(true); + new CFHelp(m_control.getMainView(), "tut_mapattr.html").setVisible(true); } }); left_buttons.add(button); Modified: trunk/crossfire/src/cfeditor/help/CFHelp.java =================================================================== --- trunk/crossfire/src/cfeditor/help/CFHelp.java 2006-05-26 18:49:11 UTC (rev 32) +++ trunk/crossfire/src/cfeditor/help/CFHelp.java 2006-05-26 19:13:59 UTC (rev 33) @@ -57,7 +57,7 @@ * @todo refactor this. The dual semantic of fname is a Bad Thing. * @todo always creating new help windows is a Bad Thing as well, make this constructor private */ - public CFHelp(final JFrame parent, String fname, final boolean bigSize) { + public CFHelp(final JFrame parent, String fname) { super(parent, "Help", false); // super constructor setResizable(true); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |