MenuPrivate: Add SetItemMargins() method
This commit is contained in:
parent
b75a2e9d22
commit
e8d4db8e0b
@ -46,6 +46,7 @@ public:
|
||||
BRect Padding() const;
|
||||
void GetItemMargins(float*, float*, float*, float*)
|
||||
const;
|
||||
void SetItemMargins(float, float, float, float);
|
||||
|
||||
int State(BMenuItem** item = NULL) const;
|
||||
|
||||
|
@ -161,6 +161,13 @@ MenuPrivate::GetItemMargins(float* left, float* top, float* right,
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
MenuPrivate::SetItemMargins(float left, float top, float right, float bottom)
|
||||
{
|
||||
fMenu->SetItemMargins(left, top, right, bottom);
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
MenuPrivate::State(BMenuItem** item) const
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user