mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
some enum warrnings compil fixes
This commit is contained in:
@@ -123,7 +123,7 @@ class CComponentsForm : public CComponentsItem
|
||||
{
|
||||
PG_SCROLL_M_UP_DOWN_KEY = 1,
|
||||
PG_SCROLL_M_LEFT_RIGHT_KEY = 2,
|
||||
PG_SCROLL_M_OFF = 4,
|
||||
PG_SCROLL_M_OFF = 4
|
||||
};
|
||||
///enable/disable page scroll, parameter1 default enabled for up/down keys
|
||||
virtual void enablePageScroll(const int& mode = PG_SCROLL_M_UP_DOWN_KEY){page_scroll_mode = mode;};
|
||||
|
@@ -77,7 +77,7 @@ void CComponentsFrmChain::setDirection(int direction)
|
||||
{
|
||||
chn_direction = direction;
|
||||
initChainItems();
|
||||
};
|
||||
}
|
||||
|
||||
void CComponentsFrmChain::initChainItems()
|
||||
{
|
||||
|
@@ -137,13 +137,13 @@ class CProgressBar : public CComponentsItem
|
||||
PB_MATRIX, /* 0 */
|
||||
PB_LINES_V, /* 1 */
|
||||
PB_LINES_H, /* 2 */
|
||||
PB_COLOR, /* 3 */
|
||||
PB_COLOR /* 3 */
|
||||
};
|
||||
|
||||
enum pb_type_t {
|
||||
PB_REDLEFT = 0,
|
||||
PB_REDRIGHT,
|
||||
PB_TIMESCALE,
|
||||
PB_TIMESCALE
|
||||
};
|
||||
|
||||
void setType(pb_type_t type);
|
||||
|
Reference in New Issue
Block a user