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

📄 oggplay.s80.rss

📁 OggPlay for Symbian 是symbian上的一个媒体播放程序的源码。它支持ogg,wav等等多媒体格式。
💻 RSS
📖 第 1 页 / 共 2 页
字号:
/*
 *  Copyright (c) 2003 L. H. Wilden. All rights reserved.
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */

/*  Series 80 resource file
 */

NAME OGGP


#include <eikon.rh>
#include <uikon.rh>
#include <eikon.rsg>
#include <uikon.hrh> // EEikMenuTitleRightAlign

#include <OggOs.h>
#include "OggPlay.hrh"
#include "OggDialogs.rh"


RESOURCE RSS_SIGNATURE { }
RESOURCE TBUF { buf=""; }

// Languages : EN/SC FR GE DU IT SP SW TU DA

#if defined(LANGUAGE_EN) || defined(LANGUAGE_SC)
#include "OggPlay.en.rss"
#elif defined(LANGUAGE_FR)
#include "OggPlay.fr.rss"
#elif defined(LANGUAGE_GE)
#include "OggPlay.ge.rss"
#elif defined(LANGUAGE_DU)
#include "OggPlay.du.rss"
#elif defined(LANGUAGE_IT)
#include "OggPlay.it.rss"
#elif defined(LANGUAGE_SP)
#include "OggPlay.sp.rss"
#elif defined(LANGUAGE_SW)
#include "OggPlay.sw.rss"
#elif defined(LANGUAGE_TU)
#include "OggPlay.tu.rss"
#elif defined(LANGUAGE_DA)
#include "OggPlay.da.rss"
#endif

RESOURCE EIK_APP_INFO
{
  menubar=r_oggplay_menubar;
  cba=r_option_stop_cba;
}

RESOURCE MENU_BAR r_oggplay_menubar
{
  titles= {
   MENU_TITLE { menu_pane=r_file_menu; txt="OggPlay!"; }
  };
}

RESOURCE CBA r_option_stop_cba
{
  buttons = {
    CBA_BUTTON { id = EUserSoftkeyOptions; txt = ogg_cba_option; },
    CBA_BUTTON { id = EUserStopPlayingCBA; txt = ogg_cba_stop; }
  };
}


RESOURCE TBUF r_ogg_version { buf=KVersionString; }

// About view
RESOURCE TBUF r_ogg_about_line_1 { buf=ogg_version_txt; }
RESOURCE TBUF r_ogg_about_line_2 { buf=ogg_c_author; }
RESOURCE TBUF r_ogg_about_line_3 { buf=ogg_link_txt; }
RESOURCE TBUF r_ogg_about_line_4 { buf=ogg_vorbis_c; }
RESOURCE TBUF r_ogg_about_line_5 { buf=ogg_translation; }
RESOURCE TBUF r_ogg_about_line_6 { buf=ogg_port; }


RESOURCE DIALOG r_dialog_about {
  title = ogg_about_oggplay;
  buttons =  R_EIK_BUTTONS_CONTINUE; 
  flags   = EEikDialogFlagWait;
  items = {
    DLG_LINE {
	type =  EOggScrollableTextControl;
	id =    EOggScrollableTextDialog;
	control = SCROLLABLERICHTEXT
	{
	  width = 300;
	  height = 150;
	};
    }
  };
}

RESOURCE DIALOG r_dialog_infowin {
  buttons =  R_EIK_BUTTONS_CONTINUE;
  flags   = EEikDialogFlagWait;
  items = {
    DLG_LINE {
	type =  EOggScrollableTextControl;
	id =    EOggScrollableTextDialog;
	control = SCROLLABLERICHTEXT
	{
	height= 75;
	};
    }
  };
}

RESOURCE DIALOG r_dialog_info {
  title   = ogg_file_prop;
  buttons = R_EIK_BUTTONS_CONTINUE;
  flags   = EEikDialogFlagWait;
  items = {
    DLG_LINE {
	type = EEikCtLabel;
	prompt = ogg_filename_txt;
        id = EOggInfoDialog;
	control = LABEL
	{
		txt="";
		horiz_align=EEikLabelAlignHLeft;
	};
    } ,
    DLG_LINE {
	type = EEikCtLabel;
        id = EOggLabelFileName;
	control = LABEL
	{
		txt=ogg_filename_unknown;
		horiz_align=EEikLabelAlignHLeft;
	};
    } ,
    DLG_LINE {
	type = EEikCtLabel;
	prompt= ogg_filesize;
	id= EOggLabelFileSize;
	control = LABEL
	{
		txt="0";
		horiz_align=EEikLabelAlignHLeft;
	};
    } ,
    DLG_LINE {
	type = EEikCtLabel;
	prompt= ogg_bitrate;
	id = EOggLabelBitRate;
	control = LABEL
	{
		txt="0";
		horiz_align=EEikLabelAlignHLeft;
	};
    } ,
    DLG_LINE {
	type = EEikCtLabel;
	prompt= ogg_rate_hz;
        id   = EOggLabelRate;
	control = LABEL
	{
		txt="0";
		horiz_align=EEikLabelAlignHLeft;
	};
    } ,
    DLG_LINE {
	type = EEikCtLabel;
	prompt= ogg_channels;
	id = EOggLabelChannels;
	control = LABEL
	{
		txt="0";
		horiz_align=EEikLabelAlignHLeft;
	};
    }
  };
}

RESOURCE DIALOG r_dialog_playlist_info {
  title   = ogg_file_prop;
  buttons = R_EIK_BUTTONS_CONTINUE;
  flags   = EEikDialogFlagWait;
  items = {
    DLG_LINE {
	type = EEikCtLabel;
	prompt = ogg_filename_txt;
        id = EOggInfoDialog;
	control = LABEL 
	{
		txt="";
		horiz_align=EEikLabelAlignHLeft;
	};
    } ,
    DLG_LINE {
	type = EEikCtLabel;
        id = EOggLabelFileName;
	control = LABEL 
	{
		txt=ogg_filename_unknown;
		horiz_align=EEikLabelAlignHLeft;
	};	
    } ,
    DLG_LINE {
	type = EEikCtLabel;
	prompt= ogg_filesize;
	id= EOggLabelFileSize;
	control = LABEL 
	{
		txt="0";
		horiz_align=EEikLabelAlignHLeft;
	};
    } ,
    DLG_LINE {
	type = EEikCtLabel;
	prompt= ogg_playlist_entries;
	id = EOggLabelPlayListEntries;
	control = LABEL 
	{
		txt="0";
		horiz_align=EEikLabelAlignHLeft;
	};
    }
  };
}

RESOURCE ARRAY r_user_hotkey_items
{
  //Must be kept synchronized with the TOggplaySettings::THotkey enum !
  items = {
    LBUF { txt = ogg_hotkey_none; },
    LBUF { txt = ogg_format_text_fast_forward; },
	LBUF { txt = ogg_format_text_rewind; },
	LBUF { txt = ogg_format_text_page_up; },
	LBUF { txt = ogg_format_text_page_down; },
	LBUF { txt = ogg_format_text_next_song; },
	LBUF { txt = ogg_format_text_prev_song; },
//	LBUF { txt = ogg_format_text_keylock; },
//	LBUF { txt = ogg_format_text_playpause; },
	LBUF { txt = ogg_play; },
	LBUF { txt = ogg_pause; },
	LBUF { txt = ogg_stop; },
	LBUF { txt = ogg_boost_up; },
	LBUF { txt = ogg_boost_downS80; },
	LBUF { txt = ogg_cba_exit; },
	LBUF { txt = ogg_cba_back; },
	LBUF { txt = ogg_format_text_volume_help; }
  };
}

RESOURCE ARRAY r_volume_boost_items
    {
    items = { 
		LBUF { txt = ogg_volume_boost_m24db; },
		LBUF { txt = ogg_volume_boost_m18db; },
		LBUF { txt = ogg_volume_boost_m12db; },
		LBUF { txt = ogg_volume_boost_none; },
		LBUF { txt = ogg_volume_boost_6db; },
		LBUF { txt = ogg_volume_boost_12db; }
    };
    }

RESOURCE MENU_PANE r_empty_menu {}

RESOURCE MENU_PANE r_skin_menu
{
//  items= {
//      MENU_ITEM { command=EOggSkinOne; txt=ogg_skin_default; }
//  };
}

RESOURCE DIALOG r_dialog_files_search {
  title = ogg_filescan_main_title;
  buttons =  R_EIK_BUTTONS_CANCEL;
  flags   = EEikDialogFlagWait;
  items = {
    DLG_LINE {
	type =  EOggFileSearchControl;
	id =    EOggScrollableTextDialog;
	control = FILESEARCHCONTROL
	{
#ifdef PLAYLIST_SUPPORT
	height= 120;
#else
	height= 90;
#endif
	title = ogg_filescan_title;
    dirScannedStr =ogg_filescan_label1;
    filesFoundStr =ogg_filescan_label2_mmf;
#ifdef PLAYLIST_SUPPORT
    playlistsFoundStr =ogg_filescan_label3;
#endif
	};
    }
  };
}

RESOURCE DIALOG r_dialog_codec_selection {
  title   = ogg_codec_selection;
 // buttons =  r_codec_selection_cba;
  buttons =  R_EIK_BUTTONS_CONTINUE;
  flags   = EEikDialogFlagWait;
  items = {
    DLG_LINE {
	type =  EOggCodecSelectionControl;
	id =    EOggScrollableTextDialog;
    }
  };
}


// Codec info items
///////////////////////////////////////////////////////////////////////////////
RESOURCE ARRAY r_codec_info_items
{
  items = {
    LBUF { txt = ogg_codec_info_name; },
    LBUF { txt = ogg_codec_info_supplier; },
    LBUF { txt = ogg_codec_info_version; },
    LBUF { txt = ogg_codec_info_UID; }
  };
}

RESOURCE MENU_PANE r_options_menu
{
  items= {
    MENU_ITEM { txt=ogg_skins;
                  cascade=r_skin_menu; },
    MENU_ITEM { command=EOggOptions;	txt=ogg_settings; },
//	MENU_ITEM { command=EOggUserHotkeys;	txt=ogg_user_hotkey; }
#ifdef PLUGIN_SYSTEM
    MENU_ITEM { command=EOggCodecSelection; txt=ogg_codec_selection; }
#endif

  };
}

RESOURCE MENU_PANE r_file_menu
{
  items= {
      MENU_ITEM { command=EOggInfo;	txt=ogg_file_info; },
      MENU_ITEM { command=EOggViewRebuild;txt=ogg_find_files; },
      MENU_ITEM { txt=ogg_options_cascade;
                     cascade=r_options_menu; },
      MENU_ITEM { command=EOggAbout;	    txt=ogg_about_label; },
      MENU_ITEM { command=EEikCmdExit;	    txt=ogg_exit_label; }
  };
}


RESOURCE DIALOG r_dialog_options {
  title   = ogg_settings_title;
  buttons =  R_EIK_BUTTONS_CONTINUE;

⌨️ 快捷键说明

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