Commit 12a6cba5e45bff4f8ea2a238ab63bbb45c199e1c
1 parent
8f946289
moving ModList classes to new package
Showing
7 changed files
with
13 additions
and
6 deletions
java/client/com/mumfrey/liteloader/client/gui/GuiLiteLoaderPanel.java
| ... | ... | @@ -703,7 +703,7 @@ public class GuiLiteLoaderPanel extends GuiScreen |
| 703 | 703 | * @param colour |
| 704 | 704 | * @param backgroundColour |
| 705 | 705 | */ |
| 706 | - protected static void drawTooltip(FontRenderer fontRenderer, String tooltipText, int mouseX, int mouseY, int screenWidth, int screenHeight, int colour, int backgroundColour) | |
| 706 | + public static void drawTooltip(FontRenderer fontRenderer, String tooltipText, int mouseX, int mouseY, int screenWidth, int screenHeight, int colour, int backgroundColour) | |
| 707 | 707 | { |
| 708 | 708 | int textSize = fontRenderer.getStringWidth(tooltipText); |
| 709 | 709 | mouseX = Math.max(0, Math.min(screenWidth - 4, mouseX - 4)); | ... | ... |
java/client/com/mumfrey/liteloader/client/gui/GuiPanelMods.java
| ... | ... | @@ -13,6 +13,8 @@ import org.lwjgl.input.Keyboard; |
| 13 | 13 | |
| 14 | 14 | import com.mumfrey.liteloader.LiteMod; |
| 15 | 15 | import com.mumfrey.liteloader.api.ModInfoDecorator; |
| 16 | +import com.mumfrey.liteloader.client.gui.modlist.ModList; | |
| 17 | +import com.mumfrey.liteloader.client.gui.modlist.ModListContainer; | |
| 16 | 18 | import com.mumfrey.liteloader.core.LiteLoaderMods; |
| 17 | 19 | import com.mumfrey.liteloader.launch.LoaderEnvironment; |
| 18 | 20 | import com.mumfrey.liteloader.modconfig.ConfigManager; | ... | ... |
java/client/com/mumfrey/liteloader/client/gui/GuiModInfoPanel.java renamed to java/client/com/mumfrey/liteloader/client/gui/modlist/GuiModInfoPanel.java
| 1 | -package com.mumfrey.liteloader.client.gui; | |
| 1 | +package com.mumfrey.liteloader.client.gui.modlist; | |
| 2 | 2 | |
| 3 | 3 | import static com.mumfrey.liteloader.gl.GLClippingPlanes.*; |
| 4 | 4 | import net.minecraft.client.gui.FontRenderer; |
| ... | ... | @@ -6,6 +6,7 @@ import net.minecraft.client.gui.Gui; |
| 6 | 6 | import net.minecraft.client.resources.I18n; |
| 7 | 7 | |
| 8 | 8 | import com.google.common.base.Strings; |
| 9 | +import com.mumfrey.liteloader.client.gui.GuiSimpleScrollBar; | |
| 9 | 10 | import com.mumfrey.liteloader.core.ModInfo; |
| 10 | 11 | |
| 11 | 12 | public class GuiModInfoPanel extends Gui | ... | ... |
java/client/com/mumfrey/liteloader/client/gui/GuiModListPanel.java renamed to java/client/com/mumfrey/liteloader/client/gui/modlist/GuiModListPanel.java
| 1 | -package com.mumfrey.liteloader.client.gui; | |
| 1 | +package com.mumfrey.liteloader.client.gui.modlist; | |
| 2 | 2 | |
| 3 | 3 | import static com.mumfrey.liteloader.gl.GL.*; |
| 4 | 4 | import static com.mumfrey.liteloader.gl.GLClippingPlanes.*; |
| ... | ... | @@ -11,6 +11,7 @@ import net.minecraft.client.gui.FontRenderer; |
| 11 | 11 | import net.minecraft.client.gui.Gui; |
| 12 | 12 | |
| 13 | 13 | import com.mumfrey.liteloader.api.ModInfoDecorator; |
| 14 | +import com.mumfrey.liteloader.client.gui.GuiLiteLoaderPanel; | |
| 14 | 15 | import com.mumfrey.liteloader.core.ModInfo; |
| 15 | 16 | import com.mumfrey.liteloader.util.render.IconClickable; |
| 16 | 17 | import com.mumfrey.liteloader.util.render.IconTextured; | ... | ... |
java/client/com/mumfrey/liteloader/client/gui/ModList.java renamed to java/client/com/mumfrey/liteloader/client/gui/modlist/ModList.java
| 1 | -package com.mumfrey.liteloader.client.gui; | |
| 1 | +package com.mumfrey.liteloader.client.gui.modlist; | |
| 2 | 2 | |
| 3 | 3 | import java.util.ArrayList; |
| 4 | 4 | import java.util.List; |
| ... | ... | @@ -12,6 +12,7 @@ import org.lwjgl.input.Keyboard; |
| 12 | 12 | |
| 13 | 13 | import com.mumfrey.liteloader.LiteMod; |
| 14 | 14 | import com.mumfrey.liteloader.api.ModInfoDecorator; |
| 15 | +import com.mumfrey.liteloader.client.gui.GuiLiteLoaderPanel; | |
| 15 | 16 | import com.mumfrey.liteloader.core.LiteLoaderMods; |
| 16 | 17 | import com.mumfrey.liteloader.core.ModInfo; |
| 17 | 18 | import com.mumfrey.liteloader.interfaces.Loadable; | ... | ... |
java/client/com/mumfrey/liteloader/client/gui/ModListContainer.java renamed to java/client/com/mumfrey/liteloader/client/gui/modlist/ModListContainer.java
java/client/com/mumfrey/liteloader/client/gui/ModListEntry.java renamed to java/client/com/mumfrey/liteloader/client/gui/modlist/ModListEntry.java