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:
committed by
Adrien Destugues
parent
1ad4f095e9
commit
4331338685
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user