📄 ldfuck.rss
字号:
/* Copyright (c) 2008, Nokia. All rights reserved */
NAME LDFU
#include <eikon.rh>
#include <avkon.rh>
#include <avkon.rsg>
#include <avkon.loc>
#include <avkon.mbg>
#include "LDFUCK.hrh"
#include "LDFUCK.loc"
// ---------------------------------------------------------
//
// Define the resource file signature
// This resource should be empty.
//
// ---------------------------------------------------------
//
RESOURCE RSS_SIGNATURE
{
}
// ---------------------------------------------------------
//
// Default Document Name
//
// ---------------------------------------------------------
//
RESOURCE TBUF r_ldfuck_default_doc_name
{
buf="";
}
// ---------------------------------------------------------
//
// Define default menu and CBA key.
//
// ---------------------------------------------------------
//
RESOURCE EIK_APP_INFO
{
menubar = r_ldfuck_menubar;
cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
}
// ---------------------------------------------------------
//
// r_ldfuck_menubar
// Menubar for LDFUCK example
//
// ---------------------------------------------------------
//
RESOURCE MENU_BAR r_ldfuck_menubar
{
titles =
{
MENU_TITLE
{
menu_pane = r_ldfuck_menu;
}
};
}
// ---------------------------------------------------------
//
// r_ldfuck_menu
// Menu for "Options"
//
// ---------------------------------------------------------
//
RESOURCE MENU_PANE r_ldfuck_menu
{
items =
{
MENU_ITEM
{
command = ELDFUCKCommand1;
txt = "Command 1";
},
MENU_ITEM
{
command = EAknSoftkeyExit;
txt = "Exit";
}
};
}
/**********************************************************
Edit View Start
**********************************************************/
//HELP VIEW CBA
RESOURCE AVKON_VIEW R_PLAN_HELP_VIEW
{
menubar = R_PLAN_HELP_VIEW_MENU_BAR;
cba = R_PLAN_HELP_VIEW_CBA;
}
RESOURCE CBA R_PLAN_HELP_VIEW_CBA
{
buttons=
{
AVKON_CBA_BUTTON
{
id = EAknSoftkeyOptions;
txt = qtn_lf_Help_option;
},
AVKON_CBA_BUTTON
{
id = EAknSoftkeyExit;
txt = qtn_lf_Help_exit;
}
};
}
RESOURCE MENU_BAR R_PLAN_HELP_VIEW_MENU_BAR
{
titles =
{
MENU_TITLE
{
menu_pane = R_PLAN_HELP_VIEW_MENU_PANE;
}
};
}
RESOURCE MENU_PANE R_PLAN_HELP_VIEW_MENU_PANE
{
items =
{
MENU_ITEM
{
command = EPLANCmdAppHelpEdit;
txt = qtn_lf_Help_option_edit;
},
MENU_ITEM
{
command = EPLANCmdAppHelpHistorynote;
txt = qtn_lf_Help_option_historynote;
}
};
}
/**********************************************************
Help View End
**********************************************************/
/**********************************************************
Note View Start
**********************************************************/
//NOTE VIEW CBA
RESOURCE AVKON_VIEW R_PLAN_NOTE_VIEW
{
menubar = R_PLAN_NOTE_VIEW_MENU_BAR;
cba = R_PLAN_NOTE_VIEW_CBA;
}
RESOURCE CBA R_PLAN_NOTE_VIEW_CBA
{
buttons=
{
AVKON_CBA_BUTTON
{
id = EAknSoftkeyOptions;
txt = qtn_lf_Note_option;
},
AVKON_CBA_BUTTON
{
id = EAknSoftkeyExit;
txt = qtn_lf_Note_back;
}
};
}
RESOURCE MENU_BAR R_PLAN_NOTE_VIEW_MENU_BAR
{
titles =
{
MENU_TITLE
{
menu_pane = R_PLAN_NOTE_VIEW_MENU_PANE;
}
};
}
RESOURCE MENU_PANE R_PLAN_NOTE_VIEW_MENU_PANE
{
items =
{
MENU_ITEM
{
command = EPLANCmdAppNoteOpen;
txt = qtn_lf_Note_option_open;
},
MENU_ITEM
{
command = EPLANCmdAppNoteDelete;
txt = qtn_lf_Note_option_delete;
}
};
}
/**********************************************************
Note View End
**********************************************************/
/**********************************************************
Note View' Start
**********************************************************/
//NOTE VIEW IF NO LISE
RESOURCE AVKON_VIEW R_PLAN_NOTE_VIEW_NOLIST
{
// menubar = R_PLAN_NOTE_VIEW_MENU_BAR;
cba = R_PLAN_NOTE_VIEW_NOLIST_CBA;
}
RESOURCE CBA R_PLAN_NOTE_VIEW_NOLIST_CBA
{
buttons=
{
AVKON_CBA_BUTTON
{
// id = EAknSoftkeyOptions;
// txt = qtn_lf_Note_option;
},
AVKON_CBA_BUTTON
{
id = EAknSoftkeyExit;
txt = qtn_lf_Note_back;
}
};
}
/**********************************************************
Note View' Start
**********************************************************/
/**********************************************************
Look View Start
**********************************************************/
//LOOK VIEW CBA
RESOURCE AVKON_VIEW R_PLAN_LOOK_VIEW
{
menubar = R_PLAN_LOOK_VIEW_MENU_BAR;
cba = R_PLAN_LOOK_VIEW_CBA;
}
RESOURCE CBA R_PLAN_LOOK_VIEW_CBA
{
buttons=
{
AVKON_CBA_BUTTON
{
},
AVKON_CBA_BUTTON
{
id = EAknSoftkeyExit;
txt = qtn_lf_Look_back;
}
};
}
RESOURCE MENU_BAR R_PLAN_LOOK_VIEW_MENU_BAR
{
titles =
{
MENU_TITLE
{
menu_pane = R_PLAN_LOOK_VIEW_MENU_PANE;
}
};
}
RESOURCE MENU_PANE R_PLAN_LOOK_VIEW_MENU_PANE
{
}
/**********************************************************
Look View End
**********************************************************/
/**********************************************************
Edit View Start
**********************************************************/
//CBA
RESOURCE AVKON_VIEW R_PLAN_EDIT_VIEW
{
menubar = R_PLAN_EDIT_VIEW_MENU_BAR;
cba = R_PLAN_EDIT_VIEW_CBA;
}
RESOURCE CBA R_PLAN_EDIT_VIEW_CBA
{
buttons=
{
AVKON_CBA_BUTTON
{
id = EAknSoftkeyOptions;
txt = qtn_lf_editoption;
},
AVKON_CBA_BUTTON
{
id = EAknSoftkeyExit;
txt = qtn_lf_editqiut;
}
};
}
RESOURCE MENU_BAR R_PLAN_EDIT_VIEW_MENU_BAR
{
titles =
{
MENU_TITLE
{
menu_pane = R_PLAN_EDIT_VIEW_MENU_PANE;
}
};
}
RESOURCE MENU_PANE R_PLAN_EDIT_VIEW_MENU_PANE
{
items =
{
MENU_ITEM
{
command = EPLANCmdEditSend;
txt = qtn_lf_editsend;
},
MENU_ITEM
{
command = EPLANCmdEditInsert;
txt = qtn_lf_editinsert;
}
};
}
/**********************************************************
Edit View End
**********************************************************/
/**********************************************************
TEMP View Start
**********************************************************/
//CBA
RESOURCE AVKON_VIEW R_PLAN_TEMP_VIEW
{
menubar = R_PLAN_TEMP_VIEW_MENU_BAR;
cba = R_PLAN_TEMP_VIEW_CBA;
}
RESOURCE CBA R_PLAN_TEMP_VIEW_CBA
{
buttons=
{
AVKON_CBA_BUTTON
{
id = EAknTempOk;
txt = qtn_lf_tempok;
},
AVKON_CBA_BUTTON
{
id = EAknTempQuit;
txt = qtn_lf_tempquit;
}
};
}
RESOURCE MENU_BAR R_PLAN_TEMP_VIEW_MENU_BAR
{
titles =
{
MENU_TITLE
{
menu_pane = R_PLAN_TEMP_VIEW_MENU_PANE;
}
};
}
RESOURCE MENU_PANE R_PLAN_TEMP_VIEW_MENU_PANE
{
}
/**********************************************************
TEMP View End
**********************************************************/
/**********************************************************
change View title
**********************************************************/
RESOURCE TBUF32 R_QTN_IF_HELPTITLE
{
buf = qtn_lf_Helptitle;
}
RESOURCE TBUF32 R_QTN_IF_NOTETITLE
{
buf = qtn_lf_Notetitle;
}
RESOURCE TBUF32 R_QTN_IF_LOOKTITLE
{
buf = qtn_lf_Looktitle;
}
RESOURCE TBUF32 R_QTN_IF_TEMPTITLE
{
buf = qtn_lf_temptitle;
}
RESOURCE TBUF32 R_QTN_IF_EDITTITLE
{
buf = qtn_lf_edittitle;
}
/**********************************************************
change View title
**********************************************************/
/*================================================
Rich Text Editor
=================================================*/
#define KWidth 176
#define KHeight 144
#define KMaxLength 256
RESOURCE RTXTED r_richtexteditor_rich_text_editor
{
width = KWidth;
height = KHeight;
textlimit = KMaxLength;
flags = EEikEdwinReadOnly | EEikEdwinAvkonDisableCursor;
avkon_flags = EAknEditorFlagEnableScrollBars;
}
RESOURCE TBUF r_richtexteditor_help_header1
{
buf = HELP_HEADER1;
}
RESOURCE TBUF r_richtexteditor_help_text1
{
buf = HELP_TEXT1;
}
RESOURCE TBUF r_richtexteditor_help_header2
{
buf = HELP_HEADER2;
}
RESOURCE TBUF r_richtexteditor_help_text2
{
buf = HELP_TEXT2;
}
RESOURCE TBUF r_richtexteditor_help_header3
{
buf = HELP_HEADER3;
}
RESOURCE TBUF r_richtexteditor_help_text3
{
buf = HELP_TEXT3;
}
/*================================================
Rich Text Editor
=================================================*/
/*______fuck zhou________*/
RESOURCE TBUF32 R_QTN_LF_EDITNUM
{
buf=qtn_lf_editnum;
}
RESOURCE TBUF32 R_QTN_LF_EDITCON
{
buf=qtn_lf_editcon;
}
//
RESOURCE TBUF32 R_QTN_LF_LOOKNUM
{
buf=qtn_lf_looknum;
}
RESOURCE TBUF32 R_QTN_LF_LOOKCON
{
buf=qtn_lf_lookcon;
}
//
RESOURCE TBUF32 R_QTN_LF_ALERT_CON
{
buf=qtn_lf_alert_con;
}
//About ListBox
//RESOURCE LISTBOX R_SINGLE_TEMP_LISTBOX
// {
// array_id = r_single_temp_Items;
// flags = EAknListBoxSelectionList | EAknListBoxLoopScrolling;
// }
/*===============================================================================
===============================================================================*/
RESOURCE TBUF32 R_QTN_LF_ALERT_NUM //号码检查
{
buf=qtn_lf_alert_num;
}
RESOURCE TBUF32 R_QTN_LF_TEMPINFO_0 //templete info 0
{
buf=qtn_lf_tempinfo_0;
}
RESOURCE TBUF32 R_QTN_LF_TEMPINFO_1 //templete info 1
{
buf=qtn_lf_tempinfo_1;
}
RESOURCE TBUF32 R_QTN_LF_TEMPINFO_2 //templete info 2
{
buf=qtn_lf_tempinfo_2;
}
RESOURCE TBUF32 R_QTN_LF_TEMPINFO_3 //templete info 3
{
buf=qtn_lf_tempinfo_3;
}
RESOURCE TBUF32 R_QTN_LF_TEMPINFO_4 //templete info 4
{
buf=qtn_lf_tempinfo_4;
}
/*===============================================================================
===============================================================================*/
RESOURCE EDWIN R_EDITVIEW_NUMBEREDIT
{
avkon_flags = EAknEditorFlagLatinInputModesOnly;
}
//send sms
RESOURCE TBUF32 R_QTN_LF_ALERT_SUCCEED //发送成功
{
buf=qtn_lf_alert_succeed;
}
RESOURCE TBUF32 R_QTN_LF_ALERT_FAILED //发送失败
{
buf=qtn_lf_alert_failed;
}
/************************************退出*********************************/
RESOURCE DIALOG r_waitnote_saving_game_note
{
flags=EAknWaitNoteFlags;
buttons = R_AVKON_SOFTKEYS_YES_NO;
items =
{
DLG_LINE
{
type = EAknCtNote;
id = ENoteEx1DlgCIdSavingNote;
control = AVKON_NOTE
{
layout = EWaitLayout;
singular_label = qtn_saving_app_caption;
imagefile = "z:\\system\data\avkon.mbm";
// imageid = EMbmAvkonQgn_note_progress;
// imagemask = EMbmAvkonQgn_note_progress_mask;
animation = R_QGN_GRAF_WAIT_BAR_ANIM;
};
}
};
}
/******************************exit******************************/
RESOURCE DIALOG R_LDNOTEK_QUERY_EXIT_DLG
{
flags=EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_YES_NO;
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EListQueryDlgCIdConfirmationQuery;
control = AVKON_CONFIRMATION_QUERY
{
layout = EConfirmationQueryLayout;
label = qtn_card_app_caption_message;
};
}
};
}
/*******************************end******************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -