headers/os: Add name to spacing enum.

The `enum` containing `B_USE_DEFAULT_SPACING` and other members are
regularly used in default arguments.

Adding the name to this `enum` makes the header more generator-friendly
(see #6716).

Change-Id: I6676d2329bdb2152ccb37615345b97ba35f70563
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7377
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
This commit is contained in:
Trung Nguyen
2024-02-04 08:13:53 +00:00
committed by Adrien Destugues
parent 1ad4f095e9
commit 4331338685
+1 -1
View File
@@ -229,7 +229,7 @@ enum vertical_alignment {
// Layout spacing and insets, see BControlLook::ComposeSpacing()
enum {
enum BSpacing {
B_USE_DEFAULT_SPACING = -1002,
B_USE_ITEM_SPACING = -1003,
B_USE_ITEM_INSETS = B_USE_ITEM_SPACING,