New scroll pane control in the dialog engine

Also:
- Use a scroll pane for the credits in the about dialog, so that new credits can be added without altering other elements
- Use a scroll pane for the list of sections to be deleted in the resize outdoors dialog
- New cContainer superclass for controls that contain other controls
- Scrollbars consider their maximum as part of their state
This commit is contained in:
2015-10-02 17:03:25 -04:00
parent 22e63d898f
commit a455941d92
16 changed files with 419 additions and 23 deletions

View File

@@ -266,6 +266,21 @@
<xs:attribute name="pages" type="xs:integer"/>
</xs:complexType>
</xs:element>
<xs:element name="pane">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="field"/>
<xs:element ref="text"/>
<xs:element ref="pict"/>
<xs:element ref="button"/>
<xs:element ref="led"/>
<xs:element ref="group"/>
</xs:choice>
<xs:attribute name="name" type="xs:token"/>
<xs:attribute name="framed" default="true" type="bool"/>
<xs:attributeGroup ref="rect-size"/>
</xs:complexType>
</xs:element>
<xs:element name="dialog">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
@@ -276,6 +291,7 @@
<xs:element ref="led"/>
<xs:element ref="group"/>
<xs:element ref="stack"/>
<xs:element ref="pane"/>
</xs:choice>
<xs:attribute name="skin" default="dark">
<xs:simpleType>