From 15c5ab9ec7563fb6fcb49657e075729c18461c3b Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Tue, 11 May 2021 18:14:33 +0300 Subject: InputWidget: Word wrapping, inserting newlines --- src/ui/root.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/ui/root.h') diff --git a/src/ui/root.h b/src/ui/root.h index 00555224..96864a15 100644 --- a/src/ui/root.h +++ b/src/ui/root.h @@ -11,6 +11,7 @@ struct Impl_Root { iWidget * widget; iPtrArray *onTop; /* order is important; last one is topmost */ iPtrSet * pendingDestruction; + iBool pendingArrange; int loadAnimTimer; iColor tmPalette[tmMax_ColorId]; /* theme-specific palette */ }; @@ -28,6 +29,7 @@ iAnyObject *findWidget_Root (const char *id); /* under curre iPtrArray * onTop_Root (iRoot *); void destroyPending_Root (iRoot *); +void postArrange_Root (iRoot *); void updateMetrics_Root (iRoot *); void updatePadding_Root (iRoot *); /* TODO: is part of metrics? */ @@ -39,4 +41,4 @@ iRect rect_Root (const iRoot *); iRect safeRect_Root (const iRoot *); iInt2 visibleSize_Root (const iRoot *); /* may be obstructed by software keyboard */ iBool isNarrow_Root (const iRoot *); -int appIconSize_Root (void); \ No newline at end of file +int appIconSize_Root (void); -- cgit v1.2.3