15 Commits

Author SHA1 Message Date
Lapask
b63fc6b9bd update fixed-resizable-hybrid
Add custom background option and improve performance
Changes:
- Adds a "Tiled Custom Image" option to the background modes.
- Users can now provide an absolute file path to a custom image to be used as a tiled background for the side panel gap.
- Performance: Implements a background caching system for the side panel overlay. Instead of re-rendering the tiled background on every frame, the entire background is drawn to a cached image once.
- This cached image is only redrawn when necessary (e.g., on window resize or config change), resolving significant FPS drops.

Documentation: The README.md has been updated for clarity and additions.
2025-11-28 07:49:02 -05:00
Lapask
65f0e55995 update fixed-resizable-hybrid (#9571)
Fix FPS degradation by preventing widget duplication on region changes
2025-11-22 11:06:51 -08:00
Lapask
c948affe43 update fixed-resizable-hybrid (#9000)
* Update fixed-resizable-hybrid

- Updated to using InterfaceID from depracated ComponentID
- Fixed skill info widget alignment
- Added configurable warning to tell users when their inventory is transparent

* Update fixed-resizable-hybrid

- Updated to using InterfaceID from depracated ComponentID
- Fixed skill info widget alignment
- Added configurable warning to tell users when their inventory is transparent

* Update fixed-resizable-hybrid

- Added failsafe trigger for plugin initialization, fixing bug affecting world hopping from instances and hopping to PvP arena worlds
- Decoupled transparency warning from the gap borders 
- Uncommented excess debug logs

* Update fixed-resizable-hybrid

- Added More Ship Cutscene compatibility
- Added Hot Air Balloon compatibility
2025-09-07 11:57:54 +02:00
Lapask
b4892b53eb update fixed-resizable-hybrid (#8958)
Added Tillable Background (Gap) options, and reverted unintended plugin class changes from that commit
2025-08-31 10:31:13 -07:00
Lapask
a83ca5f5cc update fixed-resizable-hybrid (#8775)
Gap background, Readme, and Config Update
2025-08-13 19:45:15 -04:00
Lapask
fc18f00cc7 update fixed-resizable-hybrid (#7665)
Stats Guide Centering
- When a stat is clicked on and the guide appears, it will center it on the viewport, like with most other widgets (e.g. bank interface)
- Restructured some of the code for onWidgetLoad/Unload, should keep the same functionality
2025-03-18 14:27:13 -07:00
Lapask
0006284f40 Update fixed-resizable-hybrid (#7612)
Bug fixes
- Fixed cutscene viewport size bug with chatboxes opening and closing
- Fixed text wrapping issue with wideChat enabled
2025-03-10 14:25:07 -07:00
Lapask
3c90829cde update fixed-resizable-hybrid (#7558)
Option to reposition minimap orbs
- Resizable mode has a larger minimap than fixed mode in the III and IV quadrants. This adds an optional setting to move the run and spec orbs slightly further away to prevent click-through (where clicking run also clicks on the minimap, moving the character)

Failsafe sprite loader
- Rarely, the minimap sprites fail to load. This adds a fail-safe check when inventory tabs are changed to ensure that the widgets are loaded, assuming the game is in fixed-resizable mode.
2025-03-02 21:22:09 -08:00
Lapask
541baf54d7 update fixed-resizable-hybrid (#7539)
* Update fixed-resizable-hybrid

Improvements to Cutscene Handling and Wide Chatbox
- Switched wide chatbox from using overlays to instead using widgets, allowing for interface styles or resource packs to be compatible with the chatbox.
- Added option for repositioning chat buttons in wide chatbox mode (stretched vs centered options).
- Generalized fixFairyWidget function to also fix other widgets with dynamic/full screen backgrounds (e.g. canoe)
- Added cutscene handling (varbit 542) which allows for widget positioning during cutscenes. This also prevents the inventory widget from being hidden similar to in fixed mode.

Improved ingame overlay handling
- TOB party overlay bounding restriction
- MTA clipping

Properly handling transparent chatbox
- Prevents viewport resizing when chatbox is transparent.
- Expands height of viewport to extend under the chat buttons in transparent chatbox.

Default Config Settings
- set centerChatboxButtons to true by default

Restored border overlay png file (deleted by accident)
- also updated overlay to only load the image once (static final)

* Update fixed-resizable-hybrid

Also remove unused import / keymanager
2025-02-28 19:12:49 -08:00
Lapask
874a44852c Update fixed-resizable-hybrid (#7441) 2025-02-16 16:17:24 -06:00
Lapask
11d27a49be Update fixed-resizable-hybrid (#7410)
Fixed minimap widget bug with world hopping in specific areas (e.g. wildy / tormented demons)
2025-02-12 23:52:54 +01:00
Lapask
7ae158a9cd Update fixed-resizable-hybrid (#7364) 2025-02-07 11:54:25 -06:00
Lapask
54192a41e4 update fixed-resizable-hybrid (#7317)
* Update fixed-resizable-hybrid

- Improved Overlay Dimensions (e.g. fairy ring background overlap, minigames like Volcanic Mine)
- Fixed some interface backgrounds on the wide chat mode and added more script triggers to catch more cases that were missed before.

* Update fixed-resizable-hybrid

- removed leftover log.info() uses
2025-02-01 11:50:18 -08:00
Lapask
83feec669d update fixed-resizable-hybrid (#7090)
* Update fixed-resizable-hybrid

- Changed gap widget to gap overlay to prevent overlays from rending through. Updated to be static final to prevent reloading resource images every frame.

- Added Wide Chat Mode, which stretches the chat and dialogue across the bottom of the viewport like in fixed mode. When open, it resizes the viewport to recenter the player on what is visible. Configurable in settings.

* Update fixed-resizable-hybrid

Added more customizable config options.
- Customizable aspect ratio resizing. With further options to resize by width vs height.
- Customizable viewport resizing with wide chatbox enabled.

Also cleaned up window resizing code.
2024-12-04 19:26:59 -05:00
Lapask
36ba91b276 add fixed-resizable-hybrid (#7045)
* Create fixed-resizable-hybrid

* Update fixed-resizable-hybrid

Added a gap filler for atypical aspect ratios or when people aren't using stretched mode and the client height >503.

* Update fixed-resizable-hybrid

Used componentID wherever possible. Cleaned up some function code.
2024-11-26 22:14:36 -05:00