Add Haiku title layout
This commit is contained in:
parent
ed1bc07cc3
commit
7d18c8687b
1 changed files with 12 additions and 0 deletions
|
|
@ -288,6 +288,17 @@ TitleControls::Layout TitleControlsLayout() {
|
||||||
return *gtkResult;
|
return *gtkResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __HAIKU__
|
||||||
|
return TitleControls::Layout{
|
||||||
|
.left = {
|
||||||
|
TitleControls::Control::Close,
|
||||||
|
},
|
||||||
|
.right = {
|
||||||
|
TitleControls::Control::Minimize,
|
||||||
|
TitleControls::Control::Maximize,
|
||||||
|
}
|
||||||
|
};
|
||||||
|
#else // __HAIKU__
|
||||||
return TitleControls::Layout{
|
return TitleControls::Layout{
|
||||||
.right = {
|
.right = {
|
||||||
TitleControls::Control::Minimize,
|
TitleControls::Control::Minimize,
|
||||||
|
|
@ -295,6 +306,7 @@ TitleControls::Layout TitleControlsLayout() {
|
||||||
TitleControls::Control::Close,
|
TitleControls::Control::Close,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
#endif // !__HAIKU__
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace Platform
|
} // namespace Platform
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue