Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Some doc for DebugPanel.java

  • Loading branch information...
commit c78e7ed65f4187d023aeff0cc7a96fc1b2855633 1 parent fa9e110
@Regiden authored
Showing with 4 additions and 6 deletions.
  1. +4 −6 _RadicalFishDebug/src/de/radicalfish/debug/DebugPanel.java
View
10 _RadicalFishDebug/src/de/radicalfish/debug/DebugPanel.java
@@ -44,9 +44,9 @@
import de.radicalfish.util.Utils;
/**
- * This class can be used at root pane and input handler for the debugging. It automatically updates and renders the
- * debug GUI for you. you can add widgets to the root pane which is a {@link DesktopArea}. So you want to mostly want to
- * add {@link ResizableFrame}.
+ * This class can be used as a root pane and input handler for the debugging. It automatically updates and renders the
+ * debug GUI for you. You can add widgets to the root pane via {@link DebugPanel#addToRoot(Widget)}. The root pane is a
+ * {@link DesktopArea} and designed for {@link ResizableFrame}s.
*
* @author Stefan Lange
* @version 1.0.0
@@ -76,7 +76,6 @@ public void update() {
}
gui.updateTime();
- gui.handleKeyRepeat();
gui.handleTooltips();
gui.updateTimers();
gui.invokeRunables();
@@ -107,13 +106,12 @@ private void createGUI(GameContainer container, String path) throws RadicalFishE
renderer = new LWJGLRenderer();
ThemeManager theme = null;
- if(path != null) {
+ if (path != null) {
theme = loadTheme(renderer, path);
} else {
theme = loadTheme(renderer, "gui/RadicalFish.xml");
}
-
gui = new GUI(root, renderer);
gui.setTheme("");
gui.applyTheme(theme);
Please sign in to comment.
Something went wrong with that request. Please try again.