some enum warrnings compil fixes

Origin commit data
------------------
Branch: ni/coolstream
Commit: 051fb7c008
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-02-15 (Sun, 15 Feb 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2015-02-15 22:16:47 +01:00
parent 8668aa9ab4
commit 9a426f468e
10 changed files with 27 additions and 27 deletions

View File

@@ -66,7 +66,7 @@ class CBuildInfo : public CMenuTarget, public CComponentsWindow
BI_TYPE_ID_CREATOR,
#endif
BI_TYPE_IDS,
BI_TYPE_IDS
};
CBuildInfo();

View File

@@ -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;};

View File

@@ -77,7 +77,7 @@ void CComponentsFrmChain::setDirection(int direction)
{
chn_direction = direction;
initChainItems();
};
}
void CComponentsFrmChain::initChainItems()
{

View File

@@ -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);