MS_LIB.H
上传用户:super_houu
上传日期:2008-09-21
资源大小:4099k
文件大小:17k
- /* **************************************************************************************
- * Copyright (c) 2002 ZORAN Corporation, All Rights Reserved
- * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF ZORAN CORPORATION
- *
- * File: $Workfile: MS_LIB.H $
- *
- * Description:
- * ============
- * menu library definitions
- *
- * Log:
- * ====
- * $Revision: 37 $
- * Last Modified by $Author: Angieh $ at $Modtime: 04-03-31 20:25 $
- ****************************************************************************************
- * Updates:
- ****************************************************************************************
- * $Log: /I76/I76_Common/I76_Reference/UI/Menu_sys/MS_LIB.H $
- *
- * 37 04-03-31 20:25 Angieh
- * Add support for page search menu.
- *
- * 36 3/01/04 6:29p Lotan
- * merge with Divx certification DB
- *
- * 35 04-02-19 17:58 Jerryc
- * add sacd code
- *
- * 34 14/01/04 9:08 Lotan
- * Update Divx auxiliary subtitles.
- *
- * 33 12/31/03 4:33p Leslie
- * Add AVI_DISPLAY_MENU_ID
- *
- * 32 12/23/03 1:01p Leonh
- * Angieh:Support for the hidden group search.
- *
- * 31 9/29/03 12:04p Chaol
- * remove BASS_MANAGEMENT_MENU_ID
- *
- * 30 03-08-13 10:31 Hannahh
- *
- * 29 03-07-23 15:43 Frankm
- *
- * 28 03-07-17 11:01 Leonm
- *
- * 27 03-07-16 10:50 Frankm
- * Add AUDIO_ENHANCEMENT_PROLOGIC1_MENU_ID.
- *
- * 26 03-07-09 15:53 Leonm
- * New Pro Logic II setup menu
- *
- * 25 3/27/03 4:00p Clifflv
- * Add menu ID receiver used
- *
- * 24 03-03-11 14:22 Billt
- *
- * 23 03-02-10 11:45 Royz
- *
- * 22 03-01-27 20:12 Rogerl
- * Change line height for font Arail Narrow
- *
- * 21 1/28/03 3:15a Adamw
- *
- * 20 03-01-23 18:36 Rogerl
- * Add stop menu id
- *
- * 19 03-01-22 13:18 Janeg
- * Add hidden menu.
- *
- * 18 03-01-14 17:10 Janeg
- * Add prologic2 setup menu.
- *
- * 17 03-01-09 19:09 Royz
- *
- * 16 03-01-09 4:43 Leslie
- * Unicode support
- *
- * 15 10/30/02 18:03 Rond
- *
- * 12 30/05/02 16:29 Nirm
- * - Changed teh value of INVALID_TIME.
- *
- * 11 23/04/02 9:39 Nirm
- * - Added dependency in "Config.h".
- *
- * 10 3/27/02 13:18 Ettim
- * Replaced D_PICTURE_CD_ENABLED with CLIPS_JPEG_SUPPORT
- *
- * 9 3/05/02 11:25 Rinata
- * fix num_to_str to support high num of digits
- *
- * 8 3/01/02 4:21a Dingming
- * rename the macro for PCD
- *
- * 7 18/02/02 16:41 Nirm
- * Added MS_LINEs.
- *
- * 6 13/01/02 16:38 Atai
- * Remove old Defines
- *
- * 5 9/01/02 14:28 Nirm
- * Corrected Include-Paths.
- *
- * 4 8/01/02 16:25 Nirm
- * Corrected Include-Paths.
- *
- * 3 30/12/01 10:02 Atai
- * Add function prototypes
- *
- * 2 25/12/01 10:50 Atai
- * Code cleaning
- *
- *
- **************************************************************************************** */
- #include "Config.h" // Global Configuration - do not remove!
- #ifndef MS_LIB_H
- #define MS_LIB_H
- #include "Includesysdefs.h"
- #include "UIMenu_SysMS_WDGT.h"
- #define INVALID_MENU_ID 0xffff
- #define RUN_TIME_MENU_ID 0
- #define SETUP_MENU_ID 1
- #define DVD_DISPLAY_MENU_ID 3
- #define KARAOKE_MENU_ID 4
- #define VCD_DISPLAY_MENU_ID 5
- #ifdef D_NO_VID_ENHANCE_MENU
- #else
- #define VID_ENHANCE_MENU_ID 6
- #endif // D_NO_VID_ENHANCE_MENU
- #ifdef D_NO_LR_MENU
- #else
- #define LR_MENU_ID 7
- #endif // D_NO_LR_MENU
- #ifdef D_NO_AUDIO_RUN_TIME_MENU
- #else
- #define AUDIO_RUN_TIME_MENU_ID 8
- #endif // D_NO_AUDIO_RUN_TIME_MENU
- #define MODE_MENU_ID 9
- #define MODE_RUN_TIME_MENU_ID 10
- #ifdef D_NO_TIME_MENU
- #else
- #define TIME_MENU_ID 11
- #endif // D_NO_TIME_MENU
- #ifdef D_NO_PASSWORD_MENU
- #else
- #define PASSWORD_MENU_ID 12
- #endif // D_NO_TIME_MENU
- #define BOOKMARK_MENU_ID 13
- #define CLIPS_MENU_ID 14
- #ifdef D_NO_KARAOKE_RECORDING_MENU
- #else
- #define KARAOKE_RECORDING_MENU_ID 15
- #endif // D_NO_KARAOKE_RECORDING_MENU
- #ifdef D_SPECTRUM_ANALYZER_MENU
- #define SPECTRUM_ANALYZER_MENU_ID 16
- #endif // D_SPECTRUM_ANALYZER_MENU
-
- //#ifdef D_GRAPHIC_EQUALIZER_MENU
- #define GRAPHIC_EQUALIZER_MENU_ID 17
- //#endif // D_GRAPHIC_EQUALIZER_MENU
- #ifdef D_NO_CD_UPDATE_MENU // Ban
- #else //
- #define FUPGRADE_MENU_ID 18 //
- #endif // D_NO_CD_UPDATE_MENU //
- #ifdef D_DIAGNOSTIC_MENU
- #define DECDBG_MENU_ID 19
- #endif
- #ifdef D_PLAYER_MENU_LANGUAGE_MENU
- #define PLAYER_MENU_LANGUAGE_MENU_ID 20
- #endif
- #ifdef D_DISC_MENU_LANGUAGE_MENU
- #define DISC_MENU_LANGUAGE_MENU_ID 21
- #endif
- #ifdef D_DISPLAY_OPTIONS_MENU
- #define DISPLAY_OPTIONS_MENU_ID 22
- #endif
- #ifdef D_AUDIO_LANGUAGE_MENU
- #define AUDIO_LANGUAGE_MENU_ID 23
- #endif
- #define REGISTERS_MENU_ID 24
- // Hook Zoom Menu
- #ifdef D_ZOOM_MENU
- #define ZOOM_MENU_ID 25
- #endif
- // Hook Display 1 Menu
- #ifdef D_DISPLAY_1_MENU
- #define DISPLAY_1_MENU_ID 26
- #endif
- // Hook Display 2 Menu
- #ifdef D_DISPLAY_2_MENU
- #define DISPLAY_2_MENU_ID 27
- #endif
- // Hook 3D Sound Menu
- #ifdef D_3D_SOUND_MENU
- #define TDS_MENU_ID 28
- #endif
- // Hook 3D Sound Menu
- #ifdef D_ANGLE_MENU
- #define ANGLE_MENU_ID 29
- #endif
- // Hook Others Language Menu
- #ifdef D_OTHERS_LANGUAGE_MENU
- #define OTHERS_LANGUAGE_MENU_ID 30
- #endif
- // Hook Volume Control Menu
- #ifdef D_VOLUME_CONTROL_MENU
- #define VOLUME_CONTROL_MENU_ID 31
- #endif
- // Hook Parental Control Menu
- #ifdef D_PARENTAL_CONTROL_MENU
- #define PARENTAL_CONTROL_MENU_ID 32
- #endif
- // Hook Rating Level Menu
- #ifdef D_RATING_LEVEL_MENU
- #define RATING_LEVEL_MENU_ID 33
- #endif
- // Hook TV Aspect Menu
- #ifdef D_TV_ASPECT_MENU
- #define TV_ASPECT_MENU_ID 34
- #endif
- // Hook TV Aspect Menu
- #ifdef D_SUBTITLE_LANGUAGE_MENU
- #define SUBTITLE_LANGUAGE_MENU_ID 35
- #endif
- // Added Audio Language Menu
- #ifdef D_AUDIO_LANGUAGE_SETUP_MENU
- #define AUDIO_LANGUAGE_SETUP_MENU_ID 36
- #endif
- #ifdef D_SUBTITLE_LANGUAGE_SETUP_MENU
- #define SUBTITLE_LANGUAGE_SETUP_MENU_ID 37
- #endif
- // Added Create Password Menu
- #ifdef D_CREATE_PASSWORD_MENU
- #define CREATE_PASSWORD_MENU_ID 38
- #endif
- // Use separate menu ID for Change Password
- #ifdef D_CREATE_PASSWORD_MENU
- #define CHANGE_PASSWORD_MENU_ID 39
- #endif
- // Hook RF Registers Test Submenu
- #define RF_REGISTERS_MENU_ID 40
- #define FOCUSNORM_REGISTERS_MENU_ID 41
- #define FOCUSDOWN_REGISTERS_MENU_ID 42
- #define ACTION_TEST_MENU_ID 43
- #define TRACKINGNORM_REGISTERS_MENU_ID 44
- #define TRACKINGUP_REGISTERS_MENU_ID 45
- #define SLEDSPINDLE_REGISTERS_MENU_ID 46
- #define LAYERJMP0_REGISTERS_MENU_ID 47
- #define LAYERJMP1_REGISTERS_MENU_ID 48
- #define ADJUSTVALUE_REGISTERS_MENU_ID 49
- // Added Audio Options Menu and Repeat Menu
- #ifdef D_AUDIO_OPTIONS_MENU
- #define AUDIO_OPTIONS_MENU_ID 50
- #endif // D_AUDIO_OPTIONS_MENU
- #ifdef D_REPEAT_MENU
- #define REPEAT_MENU_ID 51
- #endif // D_REPEAT_MENU
- // Added Program Menu
- #ifdef D_PROGRAM_MENU
- #define PROGRAM_MENU_ID 52
- #endif // D_PROGRAM_MENU
- // Added Servo Test Menu
- #ifdef D_SERVO_TEST_MENU
- #define SERVO_TEST_MENU_ID 53
- #endif // D_SERVO_TEST_MENU
- // Added UI Test Menu
- #ifdef D_UI_TEST_MENU
- #define UI_TEST_MENU_ID 54
- #endif // D_UI_TEST_MENU
- // Add other Zoran China menu id's
- #define TRICK_MENU_ID 55
- #define PROGRAM_MODE_MENU_ID 56
- #define TRACK_SEARCH_MENU_ID 57
- #define DISC_SEARCH_MENU_ID 58
- #define DIGEST_MENU_ID 59
- //Add Digest Type menu
- #define DIGEST_TYPE_MENU_ID 60
- #define PICTURE_CD_MENU_ID 61
- // Merge display menus
- #ifdef D_MERGED_DISPLAY_MENU
- #define MERGED_DISPLAY_MENU_ID 62
- #endif // D_MERGED_DISPLAY_MENU
- #ifdef CLIPS_WMA_SUPPORT
- #define WMA_MENU_ID 63 //CLIPS_WMA_SUPPORT
- #endif
- #ifdef MULTI_FILE_PLAYBACK_SUPPORT
- #define MULTI_FILE_TYPE_MENU_ID 64
- #endif
- #ifdef DISPLAY_CLIPS_NUM_DURING_LOADING
- #define READ_STATE_MENU_ID 65
- #endif
- #define CLIPS_DIRECTORY_MENU_ID 66
- #define RESUME_CONFIRM_MENU_ID 67
- #define CAPTURE_LOGO_MENU_ID 68
- #define DISC_SEARCH2_MENU_ID 69
- #ifdef D_NO_PROLOGIC2_SETUP_MENU
- #else
- #define PROLOGIC2_SETUP_MENU_ID 70
- #endif
- #ifdef D_ENABLE_HIDDEN_MENU
- #define HIDDEN_MENU_ID 71
- #endif
- #ifdef D_ENABLE_STOP_MENU
- #define STOP_MENU_ID 72
- #endif
- #define ALL_VOLUME_MENU_ID 73
- #define LR_VOLUME_MENU_ID 74
- #define LR_SUR_VOLUME_MENU_ID 75
- #define CENTER_SW_VOLUME_MENU_ID 76
- #define BASE_SET_MENU_ID 77
- #define SOUND_EFFECT_MENU_ID 78
- #define DRC_SPEED_MENU_ID 79
- #define DRC_RANGE_MENU_ID 80
- #define DRC_SET_MENU_ID 81
- #ifdef D_NO_PROLOGIC2_SETUP_MENU
- #else
- #define AUDIO_ENHANCEMENT_MENU_ID 82
- #define RESTRICTED_ENHANCEMENT_MENU_ID 83
- #define AUDIO_ENHANCEMENT_PROLOGIC1_MENU_ID 84
- #endif
- #define AVI_DISPLAY_MENU_ID 85
- // auxiliary subtitles display
- #define AUX_SUBTITLES_MENU_ID 86
- #ifdef AVI_DRM_SUPPORT
- #define DIVX_AUTHORIZATION_ERROR_MSG_MENU_ID 87
- #define DIVX_RENTAL_EXPIRED_MSG_MENU_ID 88
- #define DIVX_RENTAL_CONFIRM_MENU_ID 89
- #endif //AVI_DRM_SUPPORT
- #if D_SUPPORT_SACD
- #define SACD_MENU_ID 90
- #endif
- #if defined(DVD_AUDIO_SUPPORT) && defined(DVD_AUDIO_PAGE_SEARCH)
- #define PAGE_SEARCH_MENU_ID 91
- #endif
- #define DISPLAY_VERSION_MENU_ID 92
- #define PSCAN_WARNING_MENU_ID 93
- #ifdef D_LANGUAGE_OTHERS
- #define SUBTITLE_OTHERS_MENU_ID 94
- #define AUDIO_OTHERS_MENU_ID 95
- #define MENU_OTHERS_MENU_ID 96
- #endif
- #ifdef D_TEST
- #define VFD_TEST_MENU 97
- #endif
- #if defined(USE_JOG) && defined(D_SHOW_VOLUME_MENU)
- #define AUDIO_SINGLE_MENU_ID 98
- #endif
- #ifdef D_CD_GRAPHIC_ENABLED
- #define CD_GRAPHIC_MENU_ID 99
- #endif
- #ifdef GAME_SUPPORT
- #define GAME_MENU_ID 100
- #endif
- // <<< Robin_0903_2004
- #ifdef D_DIVX_EXTERNAL_SUBTITLE_SELECTION
- #define DIVX_EXTERNAL_SUBTITLE_SELECTION_MENU_ID 101
- #endif
- #ifdef D_KEYSHIFT_SINGLE_KEY
- #define KEY_SHIFT_MENU_ID 102
- #endif
- #define AUX_OSD_MENU_ID 103
- #ifdef D_YOUR_DVD_SUPPORT
- #define YOUR_DVD_MENU_ID 104
- #endif
- // >>> Robin_0903_2004
- // Fix values for line doubling
- #define MS_W_ORIGIN_X 0
- #define MS_W_ORIGIN_Y 60
- // Screen position definitions (in the display domain)
- #ifdef D_LINE_DOUBLING
- #define MS_MAX_LINES_BIGMM 480
- #define MS_MAX_LINES_SMALLMM 288
- // Changed from 32 to eliminate inter-line gap
- #define MS_LINE_HEIGHT 30
- #define MS_PIX_RES X_1PIX_Y_2PIX
- #else // D_LINE_DOUBLING
- //Add 2 DRAM definitions
- //#ifdef TWO_DRAM
- #define MS_MAX_LINES_BIGMM 480
- #define MS_MAX_LINES_SMALLMM 480
- //#else
- // #define MS_MAX_LINES_BIGMM 288
- // #define MS_MAX_LINES_SMALLMM 144
- //#endif // TWO_DRAM
- // ZORAN CDE110901 >>>
- #ifdef FONT_ARIAL_NARROW_18
- #define MS_LINE_HEIGHT 32
- #else
- #ifdef USE_FONT24x32 //enlarge line height to show large font, Roger 0205
- #define MS_LINE_HEIGHT 36
- #else
- #define MS_LINE_HEIGHT 30
- #endif // USE_FONT24x32
- #endif
- #define MS_PIX_RES X_1PIX_Y_1PIX
- #endif // D_LINE_DOUBLING
- #define MS_NBRLINES_BIGMM ( (MS_MAX_LINES_BIGMM / MS_LINE_HEIGHT) * MS_LINE_HEIGHT )
- #define MS_NBRLINES_SMALLMM ( (MS_MAX_LINES_SMALLMM / MS_LINE_HEIGHT) * MS_LINE_HEIGHT )
- #define MS_LINE_0 0
- #define MS_LINE_1 MS_LINE_HEIGHT
- #define MS_LINE_2 (MS_LINE_HEIGHT * 2)
- #define MS_LINE_3 (MS_LINE_HEIGHT * 3)
- #define MS_LINE_4 (MS_LINE_HEIGHT * 4)
- #define MS_LINE_5 (MS_LINE_HEIGHT * 5)
- #define MS_LINE_6 (MS_LINE_HEIGHT * 6)
- #define MS_LINE_7 (MS_LINE_HEIGHT * 7)
- #define MS_LINE_8 (MS_LINE_HEIGHT * 8)
- #define MS_LINE_9 (MS_LINE_HEIGHT * 9)
- #define MS_LINE_10 (MS_LINE_HEIGHT * 10)
- #define MS_LINE_11 (MS_LINE_HEIGHT * 11)
- #define MS_LINE_12 (MS_LINE_HEIGHT * 12)
- #define MS_LINE(_lineNum_) (MS_LINE_HEIGHT * (_lineNum_))
- // Standard screen location
- // Menu-specific values may be used instead
- #define MS_SCREEN_X 64
- #define MS_SCREEN_Y 60
- #define MS_SCREEN_HEIGHT 360
- #define MS_SLIDER_HEIGHT 28
- #ifdef D_COLOR_STRUCT
- #define I_COLOR {2, 1, 6, 6}
- #define DIALOG_COLOR {2, 3, 0, 0}
- #define SCREEN_COLOR {2, 1, 0, 0}
- #define BAR_COLOR {2, 4, 5, 5}
- #else
- #define I_COLOR 0x2166
- #define DIALOG_COLOR 0x2300
- #define SCREEN_COLOR 0x2100
- #define BAR_COLOR 0x2455
- #define SETUP_SCREEN_COLOR 0x2f00
- #endif // D_COLOR_STRUCT
- #define BUTTON_COLOR BAR_COLOR
- #define STAT_COLOR SCREEN_COLOR
- extern CONST MS_COLOR i_color;
- extern CONST MS_COLOR dialog_color;
- extern CONST MS_COLOR screen_color;
- #define GROUP_COLOR 0x2366
- extern CONST MS_COLOR group_color;
- extern CONST MS_POS MS_toggle_pos;
- #define SAFELY_DELETE(_msWidget_)
- if ( _msWidget_ )
- {
- MS_delete((MS_WIDGET *) _msWidget_);
- _msWidget_ = NULL;
- }
- #define SAFELY_DELETE_PTR(_ptr_)
- if ( _ptr_ )
- {
- free(_ptr_);
- (_ptr_) = NULL;
- }
- #define num_to_ch(digit) ('0' + digit)
- #define SET_SELECTABLE(_complexWidget_) (_complexWidget_)->widget.attr |= MS_SELECTABLE
- #define SET_NONSELECTABLE(_complexWidget_) (_complexWidget_)->widget.attr &= ~MS_SELECTABLE
- int num_to_str(UINT32 num, wchar_t *str, int iNumDigits);
- #ifdef D_MS_EXTENSIONS
- void num_to_hex_str(int num, wchar_t *str, int iNumDigits);
- #endif // D_MS_EXTENSIONS
- #define ITEMNUM_KAR_OFF 0
- #define ITEMNUM_KAR_ON 1
- extern BOOL g_ms_bMustClose;
- extern void (*g_ms_deferred_action)(void);
- extern WORD g_ui_active_menu_id;
- extern WORD g_ui_default_menu_id;
- //#ifdef D_USE_RETURN_IN_MENUS
- extern WORD g_ui_next_menu_id;
- //#endif // D_USE_RETURN_IN_MENUS
- #ifdef D_MS_EXTENSIONS
- extern WORD g_ui_stopPending_menu_id;
- extern UINT g_ui_stopPending_cnt;
- #endif // D_MS_EXTENSIONS
- extern BOOL g_ms_bMustUseBigMemMap;
- //#define USE_BIGMEMMAP_WHEN_REQUIRED ( g_ui_default_menu_id != RUN_TIME_MENU_ID )
- #define USE_BIGMEMMAP_WHEN_REQUIRED ( g_ms_bMustUseBigMemMap )
- extern BYTE g_ui_bModePending;
- #ifdef D_NO_BOOKMARK_MENU
- #else
- extern unsigned char g_ui_ucBookmarkPending;
- unsigned char bm_check_bookmark_time(void);
- #endif // D_NO_BOOKMARK_MENU
- #ifdef D_SUBTITLE_LANGUAGE_MENU
- extern BOOL g_ui_bSubtitlePending;
- BOOL slm_refresh_subtitle(void);// BOOL slm_check_subtitle(void);
- #endif // D_SUBTITLE_LANGUAGE_MENU
- #ifdef D_DISPLAY_2_MENU
- BOOL d2m_refresh_subtitle(void); // BOOL d2m_check_subtitle(void);
- #endif // D_DISPLAY_2_MENU
- #ifdef D_AUDIO_LANGUAGE_MENU
- extern BOOL g_ui_bAudioPending;
- BOOL alm_refresh_audio(void); // BOOL alm_check_audio(void);
- #endif // D_AUDIO_LANGUAGE_MENU
- #ifdef D_DISPLAY_2_MENU
- BOOL d2m_refresh_audio(void); // BOOL d2m_check_audio(void);
- #endif // D_DISPLAY_2_MENU
- #ifdef D_DISPLAY_1_MENU
- extern BOOL g_ui_bTimePending;
- BOOL d1m_refresh_time(void); // BOOL d1m_check_time(void);
- #endif // D_DISPLAY_1_MENU
- int CalcKeyShift( int iHwValue );
- int CalcEcho( int iHwValue );
- void on_key_shift_change(unsigned char cur);
- void on_echo_change(unsigned char cur);
- #define B_OSD_ENABLED TRUE
- void ui_enable_OSD( BOOL bEnabled );
- void ui_get_OSD_enabled( BOOL *pbEnabled );
- BOOL isDigit( wchar_t ch );
- BOOL isHexDigit( wchar_t ch );
- wchar_t hex_char_to_num( wchar_t ch );
- #define char_to_num(_c_) ( (_c_) - '0' )
- #define INVALID_TIME ((WORD) -2000)
- #ifdef D_ONE_HOUR_DIGIT
- #define EMPTY_TIME L"-:--:--"
- #else
- #define EMPTY_TIME L"--:--:--"
- #endif // D_ONE_HOUR_DIGIT
- #define EMPTY_CD_TIME L"--:--"
- #ifdef D_USE_RETURN_IN_MENUS
- typedef struct menu_info
- {
- void *m_pMenuInfo;
- WORD m_wMenuID;
- } MENU_INFO, *P_MENU_INFO;
- extern P_MENU_INFO g_ms_pMenuInfo;
- void push_menu( WORD wMenuID );
- WORD pop_menu( void );
- void flush_menu( void );
- void MS_return_to_menu( void );
- void MS_goto_next_menu( WORD wMenuID );
- void MS_goto_submenu( WORD wMenuID );
- #endif // D_USE_RETURN_IN_MENUS
- // Override standard user_op
- void *MS_override_user_op( MS_WIDGET *pmsw, void *pvNew_user_op );
- // ZORAN CDE0228 >>>
- void MS_adjust_current_layout(void);
- #ifdef D_MS_EXTENSIONS
- typedef struct o_nav
- {
- MS_UOP m_uop;
- WORD m_wNextItemNum;
- } O_NAV, *PO_NAV;
- #define MS_CHOICE_ITEMS_PER_COLUMN 6
- #endif // D_MS_EXTENSIONS
- #ifdef D_DISPLAY_1_MENU
- #define SECONDS_PER_MINUTE (60)
- #define SECONDS_PER_HOUR (60 * SECONDS_PER_MINUTE)
- void seconds_to_time_input_str( DWORD dwss, char *sz );
- #endif // D_DISPLAY_1_MENU
- #ifndef USE_AUX_SUBTITLES
- #define MS_STATIC_MAX_LENGTH 80
- #else
- #define MS_STATIC_MAX_LENGTH 100
- #endif
- void MS_display_in_container( MS_WIDGET *pmsw );
- void MS_adjust_layout(void);
- void MS_set_deferred_action( void (*pfnDeferred)(void) );
- #define MS_DISPLAY_IN_CONTAINER(_widget_) MS_display_in_container((MS_WIDGET *) _widget_)
- #define MS_CALL_USER_OP(_widget_, _uop_, _focus_) ((MS_WIDGET *)(_widget_))->user_op( (MS_WIDGET *)(_widget_), (_uop_), (_focus_) )
- #endif // MS_LIB_H