⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ocrexample.rss

📁 基于symbian 平台 ocr 示例程序
💻 RSS
📖 第 1 页 / 共 2 页
字号:
        {
        LBUF { txt = STRING_r_color_red; },
        LBUF { txt = STRING_r_color_yellow; },
        LBUF { txt = STRING_r_color_black; }
        };
    }

//----------------------------------------------------
//    r_ocr_height_setting_page
//----------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_ocr_height_setting_page
    {
    label = STRING_r_ocr_crosshair_height;
    type = EAknCtSlider;
    editor_resource_id = r_settinglist_persentage_slider;
    }

//----------------------------------------------------
//    r_ocr_width_setting_page
//----------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_ocr_width_setting_page
    {
    label = STRING_r_ocr_crosshair_width;
    type = EAknCtSlider;
    editor_resource_id = r_settinglist_persentage_slider;
    }

//----------------------------------------------------
//    r_settinglist_persentage_slider
//----------------------------------------------------
//
RESOURCE SLIDER r_settinglist_persentage_slider
    {
    layout = EAknSettingsItemSliderLayout;
    minvalue = 0;
    maxvalue = 100;
    step = 5;
    valuetype = EAknSliderValuePercentage;
    minlabel = STRING_r_minimum;
    maxlabel = STRING_r_maximum;
    }

//----------------------------------------------------
//    r_recognize_block_form_dialog
//----------------------------------------------------
//
RESOURCE DIALOG r_recognize_block_form_dialog
    {
	flags = EAknDialogGenericFullScreen;
	buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
    form = r_recognize_block_form;
    }

//----------------------------------------------------
//    r_recognize_block_form
//----------------------------------------------------
//
RESOURCE FORM r_recognize_block_form
    {
	flags = EEikFormEditModeOnly;
    items =
        {
        DLG_LINE
            {
            type = EAknCtPopupFieldText;
            prompt = STRING_r_layout_type;
            id = EOCRExampleFormLayout;
            itemflags = EEikDlgItemTakesEnterKey |
                        EEikDlgItemOfferAllHotKeys;

            control = POPUP_FIELD_TEXT
                {
                popupfield = POPUP_FIELD
                    {
                    width = 12;
                    };
                textarray = r_layout_popup_text_array;
                active = 0;
                };
            },
        DLG_LINE
            {
            type = EAknCtPopupFieldText;
            prompt = STRING_r_background_color;
            id = EOCRExampleFormBackground;
            itemflags = EEikDlgItemTakesEnterKey |
                        EEikDlgItemOfferAllHotKeys;

            control = POPUP_FIELD_TEXT
                {
                popupfield = POPUP_FIELD
                    {
                    width = 12;
                    };
                textarray = r_backround_popup_text_array;
                active = 0;
                };
            },
        DLG_LINE
            {
            type = EAknCtPopupFieldText;
            prompt = STRING_r_lines_type;
            id = EOCRExampleFormTextType;
            itemflags = EEikDlgItemTakesEnterKey |
                        EEikDlgItemOfferAllHotKeys;

            control = POPUP_FIELD_TEXT
                {
                popupfield = POPUP_FIELD
                    {
                    width = 12;
                    };
                textarray = r_lines_popup_text_array;
                active = 0;
                };
            }
        };
    }

//----------------------------------------------------
//    r_layout_popup_text_array
//----------------------------------------------------
//
RESOURCE ARRAY r_layout_popup_text_array
    {
    items =
        {
        LBUF { txt = STRING_r_layout_horizontal; },
        LBUF { txt = STRING_r_layout_vertical; }
        };
    }

//----------------------------------------------------
//    r_backround_popup_text_array
//----------------------------------------------------
//
RESOURCE ARRAY r_backround_popup_text_array
    {
    items =
        {
        LBUF { txt = STRING_r_light; },
        LBUF { txt = STRING_r_dark; },
        LBUF { txt = STRING_r_unknown; }
        };
    }

//----------------------------------------------------
//    r_lines_popup_text_array
//----------------------------------------------------
//
RESOURCE ARRAY r_lines_popup_text_array
    {
    items =
        {
        LBUF { txt = STRING_r_lines_multi; },
        LBUF { txt = STRING_r_lines_single; }
        };
    }

//----------------------------------------------------
//    r_analyze_layout_form_dialog
//----------------------------------------------------
//
RESOURCE DIALOG r_analyze_layout_form_dialog
    {
	flags = EAknDialogGenericFullScreen;
	buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
    form = r_analyze_layout_form;
    }

//----------------------------------------------------
//    r_analyze_layout_form
//----------------------------------------------------
//
RESOURCE FORM r_analyze_layout_form
    {
	flags = EEikFormEditModeOnly;
    items =
        {
        DLG_LINE
            {
            type = EAknCtPopupFieldText;
            prompt = STRING_r_skew_setting;
            id = EOCRExampleFormSkew;
            itemflags = EEikDlgItemTakesEnterKey |
                        EEikDlgItemOfferAllHotKeys;

            control = POPUP_FIELD_TEXT
                {
                popupfield = POPUP_FIELD
                    {
                    width = 12;
                    };
                textarray = r_binary_popup_text_array;
                active = 0;
                };
            },
        DLG_LINE
            {
            type = EAknCtPopupFieldText;
            prompt = STRING_r_brightness;
            id = EOCRExampleFormBrightness;
            itemflags = EEikDlgItemTakesEnterKey |
                        EEikDlgItemOfferAllHotKeys;

            control = POPUP_FIELD_TEXT
                {
                popupfield = POPUP_FIELD
                    {
                    width = 12;
                    };
                textarray = r_brightness_popup_text_array;
                active = 0;
                };
            }
        };
    }

//----------------------------------------------------
//    r_binary_popup_text_array
//----------------------------------------------------
//
RESOURCE ARRAY r_binary_popup_text_array
    {
    items =
        {
        LBUF { txt = STRING_r_binary_on; },
        LBUF { txt = STRING_r_binary_off; }
        };
    }

//----------------------------------------------------
//    r_brightness_popup_text_array
//----------------------------------------------------
//
RESOURCE ARRAY r_brightness_popup_text_array
    {
    items =
        {
        LBUF { txt = STRING_r_normal; },
        LBUF { txt = STRING_r_light; },
        LBUF { txt = STRING_r_dark; }
        };
    }

//----------------------------------------------------
//    r_recognize_region_form_dialog
//----------------------------------------------------
//
RESOURCE DIALOG r_recognize_region_form_dialog
    {
	flags = EAknDialogGenericFullScreen;
	buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
    form = r_recognize_region_form;
    }

//----------------------------------------------------
//    r_recognize_region_form
//----------------------------------------------------
//
RESOURCE FORM r_recognize_region_form
    {
	flags = EEikFormEditModeOnly;
    items =
        {
        DLG_LINE
            {
            type = EAknCtPopupFieldText;
            prompt = STRING_r_content_type;
            id = EOCRExampleFormContentType;
            itemflags = EEikDlgItemTakesEnterKey |
                        EEikDlgItemOfferAllHotKeys;

            control = POPUP_FIELD_TEXT
                {
                popupfield = POPUP_FIELD
                    {
                    width = 12;
                    };
                textarray = r_content_popup_text_array;
                active = 0;
                };
            },
        DLG_LINE
            {
            type = EAknCtPopupFieldText;
            prompt = STRING_r_background_color;
            id = EOCRExampleFormBackground;
            itemflags = EEikDlgItemTakesEnterKey |
                        EEikDlgItemOfferAllHotKeys;

            control = POPUP_FIELD_TEXT
                {
                popupfield = POPUP_FIELD
                    {
                    width = 12;
                    };
                textarray = r_backround_popup_text_array;
                active = 0;
                };
            }
        };
    }

//----------------------------------------------------
//    r_content_popup_text_array
//----------------------------------------------------
//
RESOURCE ARRAY r_content_popup_text_array
    {
    items =
        {
        LBUF { txt = STRING_r_content_email; },
        LBUF { txt = STRING_r_content_telnum; },
        LBUF { txt = STRING_r_content_www; }
        };
    }

//----------------------------------------------------
//    r_ocr_waitnote
//----------------------------------------------------
//
RESOURCE DIALOG r_ocr_waitnote
	{
	flags = EAknWaitNoteFlags;
	buttons = R_AVKON_SOFTKEYS_CANCEL;
	items =
		{
		DLG_LINE
			{
			type = EAknCtNote;
			id = EOcrExampleWaitNote;
			control= AVKON_NOTE
				{
				layout = EWaitLayout;
				singular_label = STRING_r_waitnote_text;
				animation = R_QGN_GRAF_WAIT_BAR_ANIM;
				};
			}
		};
	}


// End of File

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -