(svn r18186) -Add: a widgets for left/right arrows with the ability to turn themselves around when a RTL language is loaded

This commit is contained in:
rubidium
2009-11-19 17:56:03 +00:00
parent a36c258644
commit 089992ef13
2 changed files with 33 additions and 1 deletions

View File

@@ -83,6 +83,14 @@ enum MatrixWidgetValues {
MAT_ROW_BITS = 8, ///< Number of bits for the number of rows in the matrix.
};
/** Values for an arrow widget */
enum ArrowWidgetValues {
AWV_DECREASE, ///< Arrow to the left or in case of RTL to the right
AWV_INCREASE, ///< Arrow to the right or in case of RTL to the left
AWV_LEFT, ///< Force the arrow to the left
AWV_RIGHT, ///< Force the arrow to the right
};
/**
* Window widget types, nested widget types, and nested widget part types.
*/
@@ -121,6 +129,7 @@ enum WidgetType {
NWID_SELECTION, ///< Stacked widgets, only one visible at a time (eg in a panel with tabs).
NWID_VIEWPORT, ///< Nested widget containing a viewport.
NWID_BUTTON_DRPDOWN, ///< Button with a drop-down.
NWID_BUTTON_ARROW, ///< Button with an arrow
/* Nested widget part types. */
WPT_RESIZE, ///< Widget part for specifying resizing.