(svn r16953) -Codechange: Use SetStringParameters() for simple parameterized strings.

This commit is contained in:
alberth
2009-07-25 11:54:53 +00:00
parent e5bfc5660d
commit e3033ee895
5 changed files with 38 additions and 19 deletions

View File

@@ -533,6 +533,14 @@ public:
*/
virtual void UpdateWidgetSize(int widget, Dimension *size, const Dimension &padding, Dimension *resize) {}
/**
* Initialize string parameters for a widget.
* Calls to this function are made during initialization to measure the size (that is as part of #InitNested()), during drawing,
* and while re-initializing the window. Only for widgets that render text initializing is requested.
* @param widget Widget number.
*/
virtual void SetStringParameters(int widget) const {}
/**
* Called when window gains focus
*/