@@ -2706,13 +2706,17 @@ Some types may inherit styles from parent types.
2706
2706
* alpha - boolean, whether to draw alpha in bgimg. Default true.
2707
2707
* bgcolor - color, sets button tint.
2708
2708
* bgcolor_hovered - color when hovered. Defaults to a lighter bgcolor when not provided.
2709
+ * This is deprecated, use states instead.
2709
2710
* bgcolor_pressed - color when pressed. Defaults to a darker bgcolor when not provided.
2711
+ * This is deprecated, use states instead.
2710
2712
* bgimg - standard background image. Defaults to none.
2711
2713
* bgimg_hovered - background image when hovered. Defaults to bgimg when not provided.
2714
+ * This is deprecated, use states instead.
2712
2715
* bgimg_middle - Makes the bgimg textures render in 9-sliced mode and defines the middle rect.
2713
2716
See background9[] documentation for more details. This property also pads the
2714
2717
button's content when set.
2715
2718
* bgimg_pressed - background image when pressed. Defaults to bgimg when not provided.
2719
+ * This is deprecated, use states instead.
2716
2720
* border - boolean, draw border. Set to false to hide the bevelled button pane. Default true.
2717
2721
* content_offset - 2d vector, shifts the position of the button's content without resizing it.
2718
2722
* noclip - boolean, set to true to allow the element to exceed formspec bounds.
@@ -2741,7 +2745,9 @@ Some types may inherit styles from parent types.
2741
2745
* image_button (additional properties)
2742
2746
* fgimg - standard image. Defaults to none.
2743
2747
* fgimg_hovered - image when hovered. Defaults to fgimg when not provided.
2748
+ * This is deprecated, use states instead.
2744
2749
* fgimg_pressed - image when pressed. Defaults to fgimg when not provided.
2750
+ * This is deprecated, use states instead.
2745
2751
* NOTE: The parameters of any given image_button will take precedence over fgimg/fgimg_pressed
2746
2752
* tabheader
2747
2753
* noclip - boolean, set to true to allow the element to exceed formspec bounds.
0 commit comments