Commit Graph

75 Commits

Author SHA1 Message Date
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
shagu 7632f92dd1 core: use new media mechanism for all textures 2019-06-10 13:35:48 +02:00
shagu 545be99fd7 api: only add shadow to specific frames 2019-06-02 20:43:56 +02:00
shagu b2ce08c525 ui-widgets: force refresh dropdown backdrops 2019-05-19 15:28:12 +02:00
Artur Morozov 4fa2aea86f skin: fix dropdown menu backdrop and orientation 2019-05-19 10:12:27 +02:00
shagu 564688f6b3 api: use proper hooks to rotate models 2019-04-17 22:47:17 +02:00
shagu 58e8fb8697 api: add onhide function to question dialogs 2019-04-14 14:47:25 +02:00
shagu d7c64d7d0a core: replace remaining getglobals in favor of _G 2019-04-06 14:30:31 +02:00
shagu 76e77bb490 ui-widgets: cache some colors and functions 2019-03-31 14:59:21 +02:00
shagu 3aab8f89e7 ui-widgets: slightly rearrange collapse buttons 2019-03-31 14:59:21 +02:00
Artur Morozov e01e0486d8 api: update SkinDropDown
fix dynamic dropdown menus
2019-03-31 14:59:21 +02:00
Artur Morozov 33496a0d01 api: remove GetCloseButton
instead, use GetNoNameObject
2019-03-31 14:59:21 +02:00
Artur Morozov d7f2afd56c api: update SkinButton
add icon argument
add disableHighlight argument
add support for LockHighlight and UnlockHighlight methods
2019-03-31 14:59:21 +02:00
Artur Morozov db97c868c1 api: add HandleIcon 2019-03-31 14:59:21 +02:00
Artur Morozov 60731de987 api: add SetHighlight 2019-03-31 14:59:21 +02:00
Artur Morozov 48aafe071d api: add SkinCollapseButton 2019-03-31 14:59:21 +02:00
Artur Morozov f478066a00 api: update SkinArrowButton
add size argument
2019-03-31 14:59:21 +02:00
Artur Morozov d4154e138e api: update SkinScrollbar 2019-03-31 14:59:21 +02:00
Artur Morozov e21207784a api: update StripTextures
add layer argument
fix hide argument
2019-03-31 14:59:21 +02:00
Artur Morozov 62c694df95 api: add SkinMoneyInputFrame 2019-03-31 14:59:21 +02:00
Artur Morozov 154df24293 api: update SkinCheckbox 2019-03-31 14:59:21 +02:00
Artur Morozov 8d02b7ebfd api: update SkinSlider 2019-03-31 14:59:21 +02:00
shagu c521d63dd1 api: rewrite scrollframe template
Replaced the scroll indicators by a small scrollbar indicator.
By that also removed tons of superfluous textures and reduced the padding.
This change should be still compatible to the old implementation.
Tested Addonmenu and the pfQuest Browser and it still seem to work properly.
2019-03-31 14:59:21 +02:00
Artur Morozov 6d7dbe3ed8 ui-widgets: use red border for all close buttons 2019-03-31 14:59:20 +02:00
Artur Morozov ba9d0a953c ui-widgets: add skin function for slider 2019-03-31 14:59:20 +02:00
shagu 265f81ce80 ui-widgets: only write enter/leave once per button 2019-03-31 14:59:20 +02:00
shagu 4d0be42233 ui-widgets: prevent duplicate question dialogs 2019-03-31 14:59:20 +02:00