shagu
deda19205f
ui-widgets: keep original text sizing on buttons
2025-07-21 15:30:22 +02:00
shagu
129e6c9bae
ui-widgets: give button texts the maximum space
2025-07-20 22:48:51 +02:00
shagu
774df9d09b
ui-widgets: normalize statusbar texture drawlayer
2025-06-05 19:30:46 +02:00
shagu
2406f34b04
ui-widgets: restore dropdown button border transparency
2025-05-25 19:44:31 +02:00
shagu
a034b8dc7c
ui-widgets: restore button border transparency values
2025-05-25 19:41:14 +02:00
shagu
07c123bc3e
ui-widgets: abort early on invalid frames
2024-11-06 10:32:17 +01:00
shagu
dc691b756b
ui-widgets: abort early on invalid frames
2023-11-10 19:20:56 +01:00
shagu
f8b2534f94
ui-widgets: properly display statusbar zero values
...
Set point to zero if value and max-value are both zero.
Previously, if both value and max-value were zero, it
displayed the statusbar as 100% due to a division by zero.
2022-11-12 15:03:29 +01:00
shagu
a32bccc7f7
ui-widgets: keep status bars in size limits
...
* make sure bar texture sizes are within 0-100%
* always set both bar positions on change
2022-09-25 14:02:33 +02:00
shagu
745665de43
ui-widgets: check for frame before accessing it
2022-06-18 15:33:08 +02:00
shagu
0214eebf36
core: switch from mousedown to drag functions
...
Due to crashes/freezes while moving some frames, one possible
reason could be that pfUI was using OnMouseDown and OnMouseUp
to run its frame-moving code. I have noticed better performance
when using the intended functions, OnDragStart and OnDragStop
to move frames.
This commit changes every occurrence of such functions and splits
drag and click into seperate functions where required.
2022-05-07 21:35:52 +02:00
shagu
f6708bb907
ui-widgets: use existing icon if available
2021-12-31 11:26:55 +01:00
shagu
af1c9d3de4
ui-widgets: increase statusbar strata to "high"
2021-09-04 19:00:09 +02:00
shagu
5987dd2b33
core: add option to use blizzard borders
2021-08-25 18:22:46 +02:00
shagu
8fa09f4c28
ui-widgets: adjust statusbar strata to background
2021-08-25 17:16:52 +02:00
shagu
54f65c0a8e
ui-widgets: only set checked textures if existing
2020-12-30 16:46:15 +01:00
shagu
40a41ee436
ui-widgets: set script if no other script is found
2020-12-30 13:05:19 +01:00
shagu
2d1619c3c6
ui-widgets: use native hook function for buttons
2020-12-30 13:04:44 +01:00
shagu
7a7ca5da82
ui-widgets: avoid ui taints of button skins
...
slightly changes the appearance of checked buttons from an
outline of active buttons to a glow effect using class colors.
2020-12-28 20:51:25 +01:00
shagu
f11782082d
ui-widgets: hook old function for button highlight
2020-12-27 00:47:29 +01:00
shagu
b968fffce6
ui-widgets: skip skin functions on invalid frames
2020-12-26 20:07:29 +01:00
shagu
605c928154
ui-widgets: only run animation on value change
2020-11-27 16:51:53 +01:00
shagu
c8691f7c0c
ui-widgets: correct line indentation
2020-10-18 12:43:44 +02:00
shagu
282989eeff
ui-widgets: only hook function outside combat
2020-10-03 15:11:23 +02:00
shagu
2b51e77831
ui-widgets: use proper hook for onhide prevention
2020-10-03 15:08:06 +02:00
shagu
892ef154b0
ui-widgets: use onupdate to determine button state
2020-10-03 15:01:18 +02:00
shagu
8d9dc563dd
ui-widgets: always update scroll slider
2020-08-28 11:47:40 +02:00
shagu
7669e64173
core: remove leftover semicolons
2020-08-15 19:29:24 +02:00
shagu
5e7d21ee24
ui-widgets: always recursions in dropdown select
2020-05-26 21:15:29 +02:00
shagu
1ef0f83974
ui-widgets: always run dropdown function on select
2020-05-26 19:32:10 +02:00
shagu
ea2e6cdb99
ui-widgets: always update displayed values on statusbars
2020-05-09 02:29:31 +02:00
shagu
1d901d39c1
ui-widgets: add dropdown api to select entry by text
2020-05-01 14:52:29 +02:00
shagu
2e53137bd9
ui-widgets: fix z-index of dropdown entries
2020-04-17 11:30:59 +02:00
shagu
8f2b690610
ui-widgets: cache all dropdown functions
2020-04-13 13:50:37 +02:00
shagu
b550efdd97
ui-widgets: keep checkbox visible during init
...
the SetPoint fails by having the wrong offsets, when being aligned to a
hidden texture. Due to this, keep the checkmark visible till the OnShow
happens and decide there wether to display the checkmark or not.
2020-04-13 12:48:48 +02:00
shagu
c7d777ec70
ui-widgets: implement own dropdown widgets
2020-04-08 09:58:41 +02:00
shagu
484ab887fb
ui-widgets: remove all hooks to keep thumb visible
2020-04-03 13:15:05 +02:00
shagu
228b6f09ad
ui-widgets: use better hooks to avoid ui tainting
2020-04-03 12:57:11 +02:00
Artur Morozov
ae99792b4e
buttons: fix PushedTexture
...
this fixes textures for buttons in MacroFrame, SpellBook (tab buttons) and professions
2020-03-23 23:59:48 +01:00
shagu
c7df3d49f1
ui-widgets: adjust drawlayer of custom bars
2020-03-22 14:53:10 +01:00
shagu
5f539ebbe2
ui-widgets: delay scrollbar skin hooks to ooc
2020-03-22 14:21:23 +01:00
shagu
2e5d7ac3d0
ui-widgets: delay skin arrow hooks to ooc
2020-03-22 14:20:59 +01:00
shagu
e7681436cd
ui-widgets: adjust statusbar z-axis positions
2020-03-16 16:15:30 +01:00
shagu
4750f7f421
ui-widgets: add vanilla scaling to statusbars
2020-03-16 16:14:45 +01:00
shagu
f673726770
ui-widgets: add custom texture statusbars to api
2020-03-15 11:46:37 +01:00
shagu
a73295a881
ui-widgets: unify nil textures
2020-01-22 18:00:17 +01:00
shagu
4c59fab99c
ui-widgets: add function to create textboxes
2020-01-03 01:03:12 +01:00
shagu
3334c7469f
modules: make all modules aware of the new borders
2019-12-18 18:54:09 +01:00
Artur Morozov
635f70ed21
ui-widgets: update required api calls for tbc
...
* strip CheckedTexture if exists
* the click area is now equal to the size of the DropDownFrame
* if the width of the DropDownFrame is very small or not set,
then set the width for the DropDownFrame as in DropDownList1
2019-06-16 14:56:03 +02:00
shagu
d44188d166
ui-widgets: delay question dialog autosizing
2019-06-11 19:41:33 +02:00