- cc_frm_scrollbar: use SCROLLBAR_WIDTH define

This commit is contained in:
svenhoefer
2016-12-20 10:26:59 +01:00
parent 97cfb36041
commit 52ad1f76c2
2 changed files with 3 additions and 2 deletions

View File

@@ -25,7 +25,6 @@
#include <config.h>
#endif
#include <global.h>
#include <neutrino.h>
#include "cc_frm_scrollbar.h"
#include "system/debug.h"

View File

@@ -24,6 +24,8 @@
#ifndef __CC_FORM_SCROLLBAR_H__
#define __CC_FORM_SCROLLBAR_H__
#include <global.h>
#include "cc_frm_chain.h"
#include "cc_item_picture.h"
@@ -77,7 +79,7 @@ class CComponentsScrollBar : public CComponentsFrmChain
*/
CComponentsScrollBar( const int &x_pos,
const int &y_pos,
const int &w = 15,
const int &w = SCROLLBAR_WIDTH,
const int &h = 0,
const int& count = 1,
CComponentsForm *parent = NULL,