123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152 |
- /*******************************************************************************
- ** app_guiobj_adjust.h : Description ......
- **
- ** Copyright(c) 2008 Sunmedia Technologies - All Rights Reserved
- ** Author : qin.he
- **
- ** $Id: app_guiobj_adjust.h 1069 2010-11-16 10:32:32Z b.yang_c1 $
- *******************************************************************************/
- #ifndef _APP_ADJUST_GUIOBJ_H_
- #define _APP_ADJUST_GUIOBJ_H_
- #include "app_gui.h"
- #define ADJUST_MAX_VALUE (100)
- #define ADJUST_MIN_VALUE (0)
- #define ADJUST_BRIGHTNESS_MAX_VALUE (100)
- #define ADJUST_BRIGHTNESS_MIN_VALUE (0)
- #define ADJUST_CONTRAST_MAX_VALUE (100)
- #define ADJUST_CONTRAST_MIN_VALUE (0)
- #define ADJUST_SHARPNESS_MAX_VALUE (100)
- #define ADJUST_SHARPNESS_MIN_VALUE (0)
- #define ADJUST_COLOUR_MAX_VALUE (100)
- #define ADJUST_COLOUR_MIN_VALUE (0)
- #define ADJUST_TINT_MAX_VALUE (100)
- #define ADJUST_TINT_MIN_VALUE (0)
- #define ADJUST_BACKLIGHT_MAX_VALUE (100)
- #define ADJUST_BACKLIGHT_MIN_VALUE (0)
- #define ADJUST_BASS_MAX_VALUE (100)
- #define ADJUST_BASS_MIN_VALUE (0)
- #define ADJUST_TREBLE_MAX_VALUE (100)
- #define ADJUST_TREBLE_MIN_VALUE (0)
- #define ADJUST_EQ100HZ_MAX_VALUE (100)
- #define ADJUST_EQ100HZ_MIN_VALUE (0)
- #define ADJUST_EQ300HZ_MAX_VALUE (100)
- #define ADJUST_EQ300HZ_MIN_VALUE (0)
- #define ADJUST_EQ1KHZ_MAX_VALUE (100)
- #define ADJUST_EQ1KHZ_MIN_VALUE (0)
- #define ADJUST_EQ3KHZ_MAX_VALUE (100)
- #define ADJUST_EQ3KHZ_MIN_VALUE (0)
- #define ADJUST_EQ8KHZ_MAX_VALUE (100)
- #define ADJUST_EQ8KHZ_MIN_VALUE (0)
- #define ADJUST_BALANCE_MAX_VALUE (50)
- #define ADJUST_BALANCE_MIN_VALUE (-50)
- #ifdef SUPPROT_MAINMENU_AUDIO_DELAY
- #define ADJUST_AUDIODELAY_MAX_VALUE (200)
- #define ADJUST_AUDIODELAY_MIN_VALUE (-200)
- #endif
- #ifdef SUPPORT_CMX_MAINMENU_BACKLIGHT
- #define ADJUST_BACKLIGHTBOOST_MAX_VALUE (100)
- #define ADJUST_BACKLIGHTBOOST_MIN_VALUE (0)
- #endif
- #define APP_ATV_PC_CLOCK_MAX (30)
- #define APP_ATV_PC_CLOCK_MIN (-30)
- #define APP_ATV_PC_HPOS_MAX (16)
- #define APP_ATV_PC_HPOS_MIN (-16)
- #define APP_ATV_PC_VPOS_MAX (16)
- #define APP_ATV_PC_VPOS_MIN (-16)
- typedef enum {
- ADJUST_VOLUME = 0,
- ADJUST_CONTRAST,
- ADJUST_BRIGHTNESS,
- ADJUST_COLOUR,
- ADJUST_TINT,
- ADJUST_SHARPNESS,
- #ifdef SUPPORT_BACKLIGHT_ADJUST
- ADJUST_BACKLIGHT,
- #endif
- ADJUST_TREBLE,
- ADJUST_BASS,
- #if 0//Delete EQ for mantis 0167577
- ADJUST_EQ100HZ,
- ADJUST_EQ300HZ,
- ADJUST_EQ1KHZ,
- ADJUST_EQ3KHZ,
- ADJUST_EQ8KHZ,
- #endif
- ADJUST_BALANCE,
- #ifdef SUPPROT_MAINMENU_AUDIO_DELAY
- ADJUST_AUDIO_DELAY,
- #endif
- ADJUST_PC_HPOSITION,
- ADJUST_PC_VPOSITION,
- ADJUST_PC_CLOCK,
- ADJUST_PC_PHASE,
- ADJUST_HDMICEC_AMPVOLUME,
- #ifdef SUPPORT_CMX_MAINMENU_BACKLIGHT
- ADJUST_BACKLIGHTBOOST,
- #endif
- ADJUST_MAX,
- } Adjust_en;
- typedef struct _adjust_data
- {
- HWND h_BG_Value;
- HWND h_Progress;
- HWND h_Text_Lable;
- }ADJUST_DATA;
- /********************************************************************
- Extern Global Functions
- ********************************************************************/
- /*****************************************************************************
- ** FUNCTION : APP_GUIOBJ_Adjust_GetFocusItem
- **
- ** DESCRIPTION :
- ** Get current focus item for adjust
- **
- ** PARAMETERS :
- **
- **
- ** RETURN VALUES:
- ** g_dPara - focus item value
- *****************************************************************************/
- UINT32 APP_GUIOBJ_Adjust_GetFocusItem(void);
- /*****************************************************************************
- ** FUNCTION : APP_GUIOBJ_Adjust_EQGetFocusItem
- **
- ** DESCRIPTION :
- ** Get current focus item for adjust when return EQ guiobj
- **
- ** PARAMETERS :
- **
- **
- ** RETURN VALUES:
- ** g_dPara - focus item value
- *****************************************************************************/
- UINT32 APP_GUIOBJ_EQAdjust_GetFocusItem(void);
- /*****************************************************************************
- ** FUNCTION : APP_GUIOBJ_Adjust_GetType
- **
- ** DESCRIPTION :
- ** Get adjust type
- **
- ** PARAMETERS :
- **
- **
- ** RETURN VALUES:
- ** g_dPara - adjust type
- *****************************************************************************/
- UINT32 APP_GUIOBJ_Adjust_GetType(void);
- void APP_Adjust_Process_VolumeKeyHandler(UINT32 dMessage, UINT8 IsCECKey);
- #endif
- /*****************************************************************************
- ** $Rev: 1069 $
- **
- *****************************************************************************/
|