Commit Graph

229 Commits

Author SHA1 Message Date
Sattva 03602cfbf4 BuffFrame Move Disable Snap-To-Grid 2023-09-15 15:38:55 +03:00
Sattva 532b3991f3 BuffFrame Move fix
TODO: Fix Snap to grid.
2023-09-15 14:14:15 +03:00
Sattva 564de304bc UnitFrames Drag
Final fixes.
2023-09-13 18:25:37 +03:00
Sattva 2922edaadf DragFrames, Grid
Fix Grid not showing.
Fix Frames not updating color to green for active one.
2023-09-13 17:59:45 +03:00
Sattva a91e21b404 DragFrames
Fix no background displayed
Fix dragframe not registering clicks.
2023-09-13 17:27:41 +03:00
Sattva 6b08b5ffc7 fix minimap zone text hitbox size
nil check for quest log
2023-09-13 16:39:20 +03:00
Sattva 57182ba440 some stuff 2023-08-06 16:00:04 +03:00
Sattva 0954580d7b FlightPaths - debugstring
Some QOL improvements for debugstring.
2023-06-16 04:08:57 +03:00
Sattva d59d7fe6c1 FlightTimer - improve, fix
Test fix for such events as summon, BG/Arena entry to stop the bar and hide editbox (report frame).
DebugString - now adds hops count (to avoid confusion i talked already about)
To Do: Need to fix editbox for 3.3.5, it is right now not copyable and look of it is bad. Can take RecentChatWindow as a reference, as i already fixed that one.
2023-06-14 06:51:54 +03:00
Sattva 913d71ea39 FlightPaths - DB, cleanup
NodeOnClick - "Mimic" the PLAYER_CONTROL_GAINED event, by using repeating timer, while player is on flight (taxi) .
The repeating loop helps us to hide flight bar when player is out of taxi.
This loops is majorly needed for a player to be able to send reports to the author, for if current flight path is not in database, or flight time is not right.
ReportMissingTimer - there is little problem. I made it to not check for the "hops" to print the debug. So for example, if flight is from Dalaran to Dun Niffelem, it may go different ways. Through k3 and through zuldrak. But my print will always say Dalaran, Dun Niffelem. So it could be confusing. But at least i hope all the routeString are fine.
DB - Updated DB from WOTLK Classic
2023-06-14 03:44:42 +03:00
Sattva a448ef06cd Slash & FlightTimers - timer bar
Slash - forgot to mention, that i fixed /ltp slash in previous commit.
FlightTimers - fixed the timer bar, now it shows duration of current flight just fine ! :)
FlightTimers - need to fix every single database data. (This will take a while)
2023-06-13 20:31:24 +03:00
Sattva ac3b311cd6 FlightPaths - timer bar
For now i made a script to print flight time in chat on node click.
Need to find out how to create a bar using, by Leatrix Code, that i have commented.
2023-06-13 20:12:44 +03:00
Sattva ba7bc78042 FlithPaths - fix coordinates
partial fix, removed un-needed zeroes between nodes.
the debug print still cannot find out the right hops between nodes.
2023-06-13 17:07:22 +03:00
Sattva 1eb7d161d3 FlightPoints - first messy version
For now i only figured and partilly fixed tooltip on the destination node.
However data seems to be different from the WoTLK Classic. And would need to be completely rewritten.
Also i have problem with debug string as it is currently unable to get hops FPs in between start and end nodes correctly...

And it seems that my routestring is bad too. As it is for some reason adds un-needed zeroes between nodes
For example: FP from Orgrimmar to Valormok, no hop in between them, Orgrimmar added twice and a lot of un-necessary zeroes in between.
["0.63:0.56:0.00:0.00:0.63:0.64"] =  -- Orgrimmar, Orgrimmar, Valormok
2023-06-13 16:09:49 +03:00
Sattva 6e9c152e65 ShowReadyTimer - improve, cleanup
Mostly visual tweaks.
2023-06-12 20:46:47 +03:00
Sattva 7fcca3ca42 ShowReadyTimer - full rewrite
Sleepless night, finally figured how to make it efficient to show the Timer only for BG Timer, no matter if it's a StaticPopup1-4 and made some proper resetting (but not perfect).
Still need to think about design. So that other Popups, like duel, summon etc... DO NOT overlap my status bar.
2023-06-12 09:37:18 +03:00
Sattva 3cf675e3b9 ShowRaidButton - Disable module
Reason: Code is made to use retail raid frames, which we don't have.
This would require me to build a decent raid frames myself.
I may do so in future, if people ask!
2023-06-11 22:41:45 +03:00
Sattva 466652edc4 BagSearch - complete rewrite
Had to completely re-write it, due to 3.3.5 not having bag searchbox templates.
2023-06-11 03:36:14 +03:00
Sattva ff537f0b15 MediaPlayer - fix, improve
Reload Sound system only if media already playing.
and also stop sound after relog/reload
2023-06-10 15:58:55 +03:00
Sattva b0e4e8786b Media - ugly fix
- Fix stop button not working
- Fix previous track not stopping when new one played.
- Note: I had to use Sound_GameSystem_RestartSoundSystem(), which triggers a client freeze, but it's the only way i could find, since there is no StopSound() api.
I also do not undertsand what is a musicHandle local, and why it's always false?
2023-06-10 15:31:32 +03:00
Sattva 7642165563 WebLink - fix grab IDs
- add SpellID grab from target frame
- fix SpellID grabbing from action bar / spellbook.
- fix SpellID grabber from player Buff/Debuffs.
- fix ItemID grabbing
2023-06-10 14:48:14 +03:00
Sattva fdd76fb6fb ShowCooldowns - disable module
Reason: I almost fixed it but decided to disable it, because i dont think its good feature and don't think its worth time atm.
If community will really want. May be in future, i will come back here.
2023-06-09 19:45:41 +03:00
Sattva e9d8f50523 WowHeadLinks - fixed 2023-06-09 00:56:44 +03:00
Sattva 409b60833a AhExtras - fix & improve
Add - Alt Left Click on item will Add/Remove current bag item to the Auction posting frame.
Fix - for saving auction duration per account. Took code from and modded it from Panda Leatrix :)
Add - Tab Confirm option, which will confirm auction creation if pressed with both AhGold and AhBuyout options ticked. (saves mouse clicking effort :D)
Change - 99 silver and 99 copper are now not set automatically, just 00 for both now. Reason: it's confusion imho.
ElvUI - fix positions of buttons and skin "Find item" button.
VolumeSlider - tweak module slider to show 0-100 values instead of 0-20.
2023-06-09 00:28:05 +03:00
Sattva 9853b1dc49 RecentChatWindow - improvements
Cleanup xml file for template, change name of template to not bother other addons.
Added ScrollFrame.
Modified Ctrl-Click to toggle chat window editboxes.
Escape will now close window if keyboard focus is on text.
TrainerEnhance - change the background.
2023-06-08 15:17:37 +03:00
Sattva c9f9f94b3b EnhanceTrainers - fix
- Fixed positioning of main Trainer Frame
- Used method hooksecurefunc to change blizzard ClassTrainerFrame_Update() function.
I did that to avoid overlapping of the Skills text on the Leatrix BLP scrollbar, if actual scrollbar is not shown.
It was my first experience to hooksecurefunc, so took a lot of time and hope it goes fine!
- Fix for Train All Button enable/disable depending if there is something to train or not.
2023-06-08 00:54:48 +03:00
Sattva 00d66a08d8 WebLinkFrame - partial fix?
It may be final fix, as i tried all day to make the OnKeyDown script to work, but it want to work.
I really tried hard to provide such a good function for you to auto-close the window after Ctrl+C.
But i couldn't make it anyhow.
2023-06-07 21:51:50 +03:00
Sattva 207d79f4fe KeyBindings - fix
WebLink window must be fixed, its messy, but working.
AnnouceRare needs fixing too.
2023-06-07 11:56:22 +03:00
Sattva d169206b5b ConfigPanel & EnhanceQuestLog - visual
Many visual texture improvements for buttons, panels, dropdown menus & more!
2023-06-06 19:55:13 +03:00
Sattva 8a1ed767f6 EnhanceDressup & EnhanceTooltip
EnhanceDressup - Fix & Disable a lot of code, make it simple.
EnhanceTooltip - Movement Tip Hide conditions.
2023-06-06 17:42:39 +03:00
Sattva 87e110090b EnhanceTooltip - fix,remove
Fixed the frame that drags tooltip, added some new code to it.
Removed anchor tooltip to the left of cursor, seems it's not in 3.3.5.
2023-06-06 16:19:35 +03:00
Sattva 59fecc5dc9 EnhanceTooltip - partial fix
Still need to fix anchoring module
2023-06-06 15:24:25 +03:00
Sattva 159939fe15 CombineAddonButtons & SquareMinimap - tweaks
First "OK" version of CombineAddonButtons, still can be improved a lot !
For SquareMinimap made some tweaks to positioning.
2023-06-05 17:02:57 +03:00
Sattva d86a0f51ed CombineAddonButtons - frame height
Frame Height is now based on number of buttons.
2023-06-05 05:07:59 +03:00
Sattva b12649d88e CombineAddonButtons - first version
Not yet complete, needs more tweaks and proper position.
2023-06-05 04:35:22 +03:00
Sattva 626b1fb1c0 CombineAddonButtons & LibCompat
CombineAddonButtons - Disabled not working code & First attempt to combine them - not successful.
LibCompat - Disable BackdropTemplate due to conflict with Immersion addon. Thank you to @s0h2x

Co-Authored-By: s0high <33549022+s0h2x@users.noreply.github.com>
2023-06-03 15:41:44 +03:00
Sattva 605d45bfa3 Merge branch 'main' of https://github.com/Sattva-108/Leatrix_Plus-attempt 2023-05-30 14:43:25 +03:00
Sattva b3f7ef3f2b SquareMinimap - fix, with some tweaks from me. 2023-05-30 14:42:29 +03:00
Sattva 34854b0731 Delete desktop.ini 2023-05-30 13:10:33 +03:00
Sattva ff730cb6f9 HideMiniButtons & ShowWhoPinged - fix
Deleted old framestack button, and added new, better one.
Fixed ShowWhoPinged.

Signed-off-by: Sattva <Sattvagit@gmail.com>
2023-05-30 13:07:18 +03:00
Sattva 90ecd582a2 HideMiniAddonButtons - fix, improve
Fixed Minimap_OnEnter function sometimes not being able to do child:GetCenter() because minimap button is hidden by some addon.
Fixed the loop taking only first value of `keepVisible` table
Added more buttons to always show, credit to @s0h2x

Co-authored-by:	 s0h2x <no-reply>
2023-05-29 06:13:55 +03:00
Sattva c4fad5421d MinimapEnhance - many fixes, improvements
Added /fs slash command to do /framestack slash function.
Added FrameStack Button to the Hide Addon Buttons panel.
Made HideMiniAddonButtons require reload, for purpose.
Disabled replacing non-standart buttons (which dont use LibDBIcon) -
 - mostly because it removes "unique" addon icons. But funciton works well.
HideMiniAddonButtons - had to rewrite it competely.
Need to populate keepVisible table with minimap POI markers created by other adddon, for example Zygor.
HideMiniTracking - made it completely hide the tracking button, instead right click will open the traicking list.
2023-05-29 04:41:29 +03:00
Sattva f9f8123264 EnhanceMinimap - first messy version
Enabling Leatrix Library doesn't really help.
Had to disable a lot of code.
A lot of work to do here.
2023-05-28 22:27:28 +03:00
Sattva f29fe12277 ResizeQuestText - fix 2023-05-28 20:38:30 +03:00
Sattva 4315006af4 ResizeMailText - fix 2023-05-28 20:30:28 +03:00
Sattva 9ee821388a HideErrorMessages - fix, improve
Fixed UIErrorsFrame, checking for non-existend arg1 (id).
Added enGB only support to show all error messages that contain:
"Requires" text, for Herb,Mine,Lockpick etc.
Need to make locales for it.
2023-05-28 20:01:14 +03:00
Sattva 46968be1d0 FilterChatMessages - fix 2023-05-28 17:55:52 +03:00
Sattva 959400c50b RecentChatHistory - fix
Needs fixing the colors, but working.
2023-05-28 17:13:18 +03:00
Sattva 6e32c4c8c3 RecentChatWindow - fix
Fixes Recent Chat Window. Still need to to find out how to enable mouse scrolling there.
2023-05-28 02:59:33 +03:00
Sattva 9e40ba5961 RecentChat - first messy version.
I took InputScrollFrameTemplate code from retail and put it into xml file in my addon.
Seems to work. But still messy.
2023-05-27 22:23:07 +03:00