📄 wgui_categories_imps.h
字号:
/*****************************************************************************
* Copyright Statement:
* --------------------
* This software is protected by Copyright and the information contained
* herein is confidential. The software may not be copied and the information
* contained herein may not be used or disclosed except with the written
* permission of MediaTek Inc. (C) 2005
*
* BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
* NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
*
* BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
* LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
*
* THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
* WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
* LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
* RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
* THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
*
*****************************************************************************/
/*****************************************************************************
*
* Filename:
* ---------
* wgui_categories_IMPS.h
*
* Project:
* --------
* MAUI
*
* Description:
* ------------
* IMPS related categories.
*
* [Category420] About Me Screen
* [Category425] Contact List Screen
* [Category435] Chat Screen with Popup Editor
*
* Author:
* -------
* -------
*
*============================================================================
* HISTORY
* Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*------------------------------------------------------------------------------
* removed!
*
* removed!
* removed!
* removed!
*
*------------------------------------------------------------------------------
* Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*============================================================================
****************************************************************************/
#ifndef __WGUI_CATEGORIES_IMPS_H__
#define __WGUI_CATEGORIES_IMPS_H__
#ifndef __WGUI_CATEGORIES_INPUTS_H__
#error "wgui_categories_inputs.h should be included before wgui_categories_IMPS.h "
#endif
#ifndef _WGUI_TAB_BARS_H
#error "wgui_tab_bars.h should be included before wgui_categories_IMPS.h "
#endif
#ifndef __WGUI_CATEGORIES_H__
#error "wgui_categories.h should be included before wgui_categories_IMPS.h "
#endif
/*****************************************************************************
* Define
*****************************************************************************/
/*****************************************************************************
* Typedef
*****************************************************************************/
/*****************************************************************************
* Extern Global Variable
*****************************************************************************/
/*****************************************************************************
* Extern Global Function
*****************************************************************************/
/* Category 420 */
extern void ShowCategory420Screen(
U16 title,U16 title_icon,U16 left_softkey,U16 left_softkey_icon,U16 right_softkey,U16 right_softkey_icon,
UI_string_type name, S8 *photo_filename, U16 alternative_photo,
U16 mood_caption, UI_string_type mood_string, UI_image_type mood_icon,
U16 status_caption, UI_string_type status_string, UI_image_type status_icon,
U8* buffer,S32 buffer_size,U8* history_buffer);
/* Category 425 */
extern void ShowCategory425Screen( UI_string_type title,
U16 left_softkey, U16 left_softkey_icon, U16 right_softkey, U16 right_softkey_icon,
S8 n_tabs, S8 highlighted_tab, tab_bar_item_type *tab_items,
S32 number_of_items, GetAsyncItemFuncPtr get_item_func, GetAsyncHintFuncPtr get_hint_func,
UI_image_type sample_icon, UI_image_type sample_icon2,
S32 highlighted_item, U8* history_buffer, BOOL *list_is_ready_p);
extern void RefreshCategory425Screen(S32 number_of_items, S32 highlighted_item);
extern void UpdateCategory425TabBar(UI_string_type title, S8 n_tabs, S8 highlighted_tab, tab_bar_item_type *tab_items);
extern void SetCategory425TabSelectCallback(void (*select_callback)(int index));
extern void Category425BlinkTab(S8 tab);
extern void Category425UnBlinkTab(S8 tab);
#if (defined(__MMI_SMART_MESSAGE_MO__) && !defined(__MMI_MESSAGES_EMS__)) ||defined(__MMI_SMART_MESSAGE_MT__)
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#endif
/* Category 430 */
void ShowCategory430Screen(
U16 title, U16 title_icon,
U16 left_softkey, U16 left_softkey_icon, U16 right_softkey, U16 right_softkey_icon,
U8 *log_buffer1, S16 log_buffer_size1,
U8 *log_buffer2, S16 log_buffer_size2,
MMI_BOOL show_sending_buffer, S16 max_sending_buffer_size,
U8 *sending_buffer, S16 sent_count,
U8 *name1, U8 *name2,
U8 *history_buffer);
void UpdateCategory430LSK(U16 left_softkey, U16 left_softkey_icon);
void UpdateCategory430RSK(U16 right_softkey, U16 right_softkey_icon);
void UpdateCategory430LogBox(MMI_BOOL update_log1, MMI_BOOL update_log2);
void ConfigureCategory430SendingBox(MMI_BOOL show_sending_buffer, S16 sent_count);
void SetCategory430SendingBoxCharacterCount(S16 sent_count);
/* Category 435 */
void ShowCategory435Screen(
UI_string_type title, U16 left_softkey, U16 left_softkey_icon, U16 right_softkey, U16 right_softkey_icon,
U16 editor_left_softkey, U16 editor_left_softkey_icon, U16 editor_right_softkey, U16 editor_right_softkey_icon,
S8 n_tabs, S8 highlighted_tab, tab_bar_item_type *tab_items,
BOOL show_popup,UI_string_type popup_title,
S16 input_type, U8* buffer, S32 buffer_size,
U8 *log_buffer, S32 log_buffer_size,
multi_line_input_box_icon_hdlr icon_callback, UI_image_type sample_icon,
U8 *history_buffer);
void SetCategory435EditorRSKFunction(void (*f)(void));
void SetCategory435EditorLSKFunction(void (*f)(void));
void SetCategory435RSKFunction(void (*f)(void));
void SetCategory435LSKFunction(void (*f)(void));
void UpdateCategory435LogText(U8 *log_buffer, S32 log_buffer_size);
void UpdateCategory435LogAndEditorText( U8* buffer, S32 buffer_size, U8 *log_buffer, S32 log_buffer_size);
void Category435ShowPopup(BOOL update_screen);
void Category435HidePopup(BOOL update_screen);
BOOL Category435IsPopupDisplayed(void);
void Category435DirectInsertString(UI_string_type s, BOOL redraw_screen);
void UpdateCategory435TabBar(UI_string_type title, S8 n_tabs, S8 highlighted_tab, tab_bar_item_type *tab_items);
void SetCategory435TabSelectCallback(void (*select_callback)(int index));
void Category435BlinkTab(S8 tab);
void Category435UnBlinkTab(S8 tab);
#endif /* ~ __WGUI_CATEGORIES_IMPS_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -