Add placeholder methods for recommended sizes

This commit is contained in:
2024-06-11 17:12:18 -04:00
parent 1069ae6455
commit 95d3dc3288
3 changed files with 32 additions and 1 deletions

View File

@@ -123,3 +123,13 @@ func (flow Flow) deltaMinor (rectangle image.Rectangle) int {
func (flow Flow) fallback () tomo.Layout {
return Contract(flow)
}
func (flow Flow) RecommendedHeight (hints tomo.LayoutHints, boxes []tomo.Box, width int) int {
// TODO
return 0
}
func (flow Flow) RecommendedWidth (hints tomo.LayoutHints, boxes []tomo.Box, height int) int {
// TODO
return 0
}