stretchedfixedmode: rename plugin to 'stretched mode'
This commit is contained in:
@@ -23,14 +23,14 @@
|
||||
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
package net.runelite.client.plugins.stretchedfixedmode;
|
||||
package net.runelite.client.plugins.stretchedmode;
|
||||
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
|
||||
@ConfigGroup("stretchedfixedmode")
|
||||
public interface StretchedFixedModeConfig extends Config
|
||||
@ConfigGroup("stretchedmode")
|
||||
public interface StretchedModeConfig extends Config
|
||||
{
|
||||
@ConfigItem(
|
||||
keyName = "keepAspectRatio",
|
||||
@@ -23,7 +23,7 @@
|
||||
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
package net.runelite.client.plugins.stretchedfixedmode;
|
||||
package net.runelite.client.plugins.stretchedmode;
|
||||
|
||||
import com.google.common.eventbus.Subscribe;
|
||||
import com.google.inject.Provides;
|
||||
@@ -38,18 +38,18 @@ import net.runelite.client.plugins.Plugin;
|
||||
import net.runelite.client.plugins.PluginDescriptor;
|
||||
|
||||
@PluginDescriptor(
|
||||
name = "Stretched Fixed Mode",
|
||||
description = "Resize the game while in fixed mode",
|
||||
tags = {"resize"},
|
||||
name = "Stretched Mode",
|
||||
description = "Stretches the game in fixed and resizable modes.",
|
||||
tags = {"resize", "ui", "interface", "stretch", "scaling", "fixed"},
|
||||
enabledByDefault = false
|
||||
)
|
||||
public class StretchedFixedModePlugin extends Plugin
|
||||
public class StretchedModePlugin extends Plugin
|
||||
{
|
||||
@Inject
|
||||
private Client client;
|
||||
|
||||
@Inject
|
||||
private StretchedFixedModeConfig config;
|
||||
private StretchedModeConfig config;
|
||||
|
||||
@Inject
|
||||
private MouseManager mouseManager;
|
||||
@@ -61,9 +61,9 @@ public class StretchedFixedModePlugin extends Plugin
|
||||
private TranslateMouseWheelListener mouseWheelListener;
|
||||
|
||||
@Provides
|
||||
StretchedFixedModeConfig provideConfig(ConfigManager configManager)
|
||||
StretchedModeConfig provideConfig(ConfigManager configManager)
|
||||
{
|
||||
return configManager.getConfig(StretchedFixedModeConfig.class);
|
||||
return configManager.getConfig(StretchedModeConfig.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -100,7 +100,7 @@ public class StretchedFixedModePlugin extends Plugin
|
||||
@Subscribe
|
||||
public void onConfigChanged(ConfigChanged event)
|
||||
{
|
||||
if (!event.getGroup().equals("stretchedfixedmode"))
|
||||
if (!event.getGroup().equals("stretchedmode"))
|
||||
{
|
||||
return;
|
||||
}
|
||||
@@ -23,7 +23,7 @@
|
||||
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
package net.runelite.client.plugins.stretchedfixedmode;
|
||||
package net.runelite.client.plugins.stretchedmode;
|
||||
|
||||
import java.awt.Component;
|
||||
import java.awt.Dimension;
|
||||
@@ -23,7 +23,7 @@
|
||||
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
package net.runelite.client.plugins.stretchedfixedmode;
|
||||
package net.runelite.client.plugins.stretchedmode;
|
||||
|
||||
import java.awt.Component;
|
||||
import java.awt.Dimension;
|
||||
@@ -33,7 +33,7 @@ import net.runelite.rs.api.RSClient;
|
||||
import net.runelite.rs.api.RSGameEngine;
|
||||
|
||||
@Mixin(RSGameEngine.class)
|
||||
public abstract class StretchedFixedModeMaxSizeMixin implements RSGameEngine
|
||||
public abstract class StretchedModeMaxSizeMixin implements RSGameEngine
|
||||
{
|
||||
@Shadow("clientInstance")
|
||||
private static RSClient client;
|
||||
@@ -33,7 +33,7 @@ import net.runelite.api.mixins.Mixin;
|
||||
import net.runelite.rs.api.RSClient;
|
||||
|
||||
@Mixin(RSClient.class)
|
||||
public abstract class StretchedFixedModeMixin implements RSClient
|
||||
public abstract class StretchedModeMixin implements RSClient
|
||||
{
|
||||
@Inject
|
||||
private static boolean stretchedEnabled;
|
||||
Reference in New Issue
Block a user