halview.rss
来自「series60 应用程序开发的源代码 series60 应用程序开发的源代码」· RSS 代码 · 共 238 行
RSS
238 行
/**
*
* @brief Resource file for HalView application
*
* Copyright (c) EMCC Software Ltd
* @version 1.0
*/
// RESOURCE IDENTIFIER
NAME VIST // 4 letter ID
// INCLUDES
#include <avkon.rh>
#include <avkon.rsg>
#include <eikon.rh>
#include <eikon.rsg>
#include "HalView.hrh"
#include "HalView.loc"
// RESOURCE DEFINITIONS
RESOURCE RSS_SIGNATURE { }
RESOURCE TBUF { buf = qtn_app_short_caption_string; }
RESOURCE EIK_APP_INFO
{
status_pane = r_halview_status_pane;
}
// ---------------------------------------------------------
//
// r_halview_status_pane
// Define the status pane
//
// ---------------------------------------------------------
//
RESOURCE STATUS_PANE_APP_MODEL r_halview_status_pane
{
panes =
{
SPANE_PANE
{
id = EEikStatusPaneUidNavi;
type = EAknCtNaviPane;
resource = r_halview_navi_decorator;
}
};
}
//----------------------------------------------------
//
// r_halview_navi_decorator
// Define the navi decorator
//
//----------------------------------------------------
//
RESOURCE NAVI_DECORATOR r_halview_navi_decorator
{
type = ENaviDecoratorControlTabGroup;
control = TAB_GROUP
{
tab_width = EAknTabWidthWithTwoTabs;
active = 0;
tabs =
{
TAB
{
id = EHalViewTab1Id; // from application hrh
txt = qtn_view_tab1;
},
TAB
{
id = EHalViewTab2Id;
txt = qtn_view_tab2;
},
TAB
{
id = EHalViewTab3Id;
txt = qtn_view_tab3;
},
TAB
{
id = EHalViewTab4Id;
txt = qtn_view_tab4;
},
TAB
{
id = EHalViewTab5Id;
txt = qtn_view_tab5;
}
};
};
}
// ---------------------------------------------------------
//
// r_halview_view
// Define the basic view
//
// ---------------------------------------------------------
//
RESOURCE AVKON_VIEW r_halview_view
{
cba = R_AVKON_SOFTKEYS_EXIT;
}
// ---------------------------------------------------------
//
// r_halview_listboxN_headings
// Define heading entries for the various listboxes
//
// ---------------------------------------------------------
//
RESOURCE ARRAY r_halview_listbox1_headings
{
items =
{
LBUF { txt = qtn_listentry_manufacturer; },
LBUF { txt = qtn_listentry_manufacturerhardwarerev; },
LBUF { txt = qtn_listentry_manufacturersoftwarerev; },
LBUF { txt = qtn_listentry_manufacturersoftwarebuild; },
LBUF { txt = qtn_listentry_model; },
LBUF { txt = qtn_listentry_machineuid; },
LBUF { txt = qtn_listentry_devicefamily; },
LBUF { txt = qtn_listentry_devicefamilyrev; },
LBUF { txt = qtn_listentry_cpu; },
LBUF { txt = qtn_listentry_cpuarch; },
LBUF { txt = qtn_listentry_cpuabi; },
LBUF { txt = qtn_listentry_cpuspeed; },
LBUF { txt = qtn_listentry_systemstartupreason; },
LBUF { txt = qtn_listentry_systemexception; },
LBUF { txt = qtn_listentry_systemtickperiod; }
};
}
RESOURCE ARRAY r_halview_listbox2_headings
{
items =
{
LBUF { txt = qtn_listentry_memoryram; },
LBUF { txt = qtn_listentry_memoryramfree; },
LBUF { txt = qtn_listentry_memoryrom; },
LBUF { txt = qtn_listentry_memorypagesize; },
LBUF { txt = qtn_listentry_powergood; },
LBUF { txt = qtn_listentry_powerbatterystatus; },
LBUF { txt = qtn_listentry_powerbackup; },
LBUF { txt = qtn_listentry_powerbackupstatus; },
LBUF { txt = qtn_listentry_powerexternal; },
LBUF { txt = qtn_listentry_keyboard; },
LBUF { txt = qtn_listentry_keyboarddevicekeys; },
LBUF { txt = qtn_listentry_keyboardappkeys; },
LBUF { txt = qtn_listentry_keyboardclick; },
LBUF { txt = qtn_listentry_keyboardclickstate; },
LBUF { txt = qtn_listentry_keyboardclickvolume; }
};
}
RESOURCE ARRAY r_halview_listbox3_headings
{
items =
{
LBUF { txt = qtn_listentry_keyboardclickvolumemax; },
LBUF { txt = qtn_listentry_displayxpixels; },
LBUF { txt = qtn_listentry_displayypixels; },
LBUF { txt = qtn_listentry_displayxtwips; },
LBUF { txt = qtn_listentry_displayytwips; },
LBUF { txt = qtn_listentry_displaycolors; },
LBUF { txt = qtn_listentry_displaystate; },
LBUF { txt = qtn_listentry_displaycontrast; },
LBUF { txt = qtn_listentry_displaycontrastmax; },
LBUF { txt = qtn_listentry_backlight; },
LBUF { txt = qtn_listentry_backlightstate; },
LBUF { txt = qtn_listentry_pen; },
LBUF { txt = qtn_listentry_penx; },
LBUF { txt = qtn_listentry_peny; },
LBUF { txt = qtn_listentry_pendisplayon; }
};
}
RESOURCE ARRAY r_halview_listbox4_headings
{
items =
{
LBUF { txt = qtn_listentry_penclick; },
LBUF { txt = qtn_listentry_penclickstate; },
LBUF { txt = qtn_listentry_penclickvolume; },
LBUF { txt = qtn_listentry_penclickvolumemax; },
LBUF { txt = qtn_listentry_mouse; },
LBUF { txt = qtn_listentry_mousex; },
LBUF { txt = qtn_listentry_mousey; },
LBUF { txt = qtn_listentry_mousestate; },
LBUF { txt = qtn_listentry_mousespeed; },
LBUF { txt = qtn_listentry_mouseacceleration; },
LBUF { txt = qtn_listentry_mousebuttons; },
LBUF { txt = qtn_listentry_mousebuttonstate; },
LBUF { txt = qtn_listentry_casestate; },
LBUF { txt = qtn_listentry_caseswitch; },
LBUF { txt = qtn_listentry_caseswitchdisplayon; }
};
}
RESOURCE ARRAY r_halview_listbox5_headings
{
items =
{
LBUF { txt = qtn_listentry_caseswitchdisplayoff; },
LBUF { txt = qtn_listentry_leds; },
LBUF { txt = qtn_listentry_ledmask; },
LBUF { txt = qtn_listentry_integratedphone; },
LBUF { txt = qtn_listentry_displaybrightness; },
LBUF { txt = qtn_listentry_displaybrightnessmax; },
LBUF { txt = qtn_listentry_keyboardbacklightstate; },
LBUF { txt = qtn_listentry_accessorypower; },
LBUF { txt = qtn_listentry_languageindex; },
LBUF { txt = qtn_listentry_keyboardindex; },
LBUF { txt = qtn_listentry_maxramdrivesize; },
LBUF { txt = qtn_listentry_keyboardstate; },
LBUF { txt = qtn_listentry_systemdrive; }
};
}
// ---------------------------------------------------------
//
// Strings used by the application
//
// ---------------------------------------------------------
//
RESOURCE TBUF r_hal_view_mbm_file_name
{
buf = HAL_VIEW_MBM_FILE_NAME;
}
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?