www.pudn.com > dv981-hd.rar > FLCTRL.H


/**********************************************************************/ 
/***************    MTK CONFIDENTIAL & COPYRIGHTED     ****************/ 
/***************                                       ****************/ 
/***************  $Modtime:: 03/08/06 10:25a   $       ****************/ 
/***************  $Revision: 5.0 $       ****************/ 
/***************                                       ****************/ 
/***************   Description : File Menu             ****************/ 
/***************                 Info Panel Component  ****************/ 
/***************                                       ****************/ 
/***************       Company : MediaTek Inc.         ****************/ 
/***************    Programmer : Jacob Lin             ****************/ 
/**********************************************************************/ 
 
#include "flspec.h" 
 
#ifndef __FSLIST_CTRL_H_ 
#define __FSLIST_CTRL_H_ 
 
#define FS_SPIN_H        32 
#define FS_SLIDER_W      16 
//#define FS_SLIDER_H      (WORD) (32 * 5 + 10 - 4) //40 +  (32 * 7) - 4 - 32 
#define FS_SLIDER_H      (WORD) (32 * 5 + 24) //40 +  (32 * 7) - 4 - 32 
//#define FS_SLIDER_X      (WORD) (FSMENU_BASIC_WB_WIDTH - FS_SLIDER_W - 28) 
//#define FS_SLIDER_X      (WORD) (FLMN_BTN_2_X + FLMN_MENU_BORDER + FLMN_ITEM_W + 32)// - FS_SLIDER_W) 
//bywhy 2003/04/03 
#ifdef BBK 
 #define FS_SLIDER_X      (WORD) (FLMN_BTN_2_X + FLMN_MENU_BORDER + FLMN_ITEM_W + 32)// - FS_SLIDER_W) 
#else 
#define FS_SLIDER_X      (WORD) (FLMN_BTN_2_X + FLMN_MENU_BORDER + FLMN_ITEM_W + 32 + 6) // 1389 
#endif 
//#define FS_SLIDER_Y       (WORD) (FLMN_BTN_2_Y + FLMN_MENU_BORDER + 2) // 2 + (2+30+2) + 2 + 4 + 20 
#define FS_SLIDER_Y       (WORD) (FLMN_BTN_2_Y + FLMN_MENU_BORDER + 16) // 2 + (2+30+2) + 2 + 4 + 20 
#define FS_SLIDER_BTN     51 
 
#define FS_SPIN_ICON     29 
 
// - Function 
void vDrawSlider(WORD wCurrNo, WORD wTotalNs) large; 
void vMoveSlider(WORD wCurrNo, WORD wTotalNs, BOOL fgShow) large; 
 
#ifndef FL_USE_LOGO 
  void vDrawSpin(void) large; 
#endif 
void vMoveSpin(BOOL fgUp) large; 
 
void vDrawProgress(BYTE bCurr, BYTE bTotal) large; 
void vMoveProgress(BYTE bCurr, BYTE bTotal, BOOL fgShow) large; 
void vDrawScrollingStr(BYTE *pbStr, WORD wShift) large; 
//bywhy 2003/04/03 
#ifdef BBK 
BYTE BBKSlider(void) large; 
#endif 
 
#endif  // __FSLIST_CTRL_H_