Code Search for Developers
 
 
  

typed.h from The Open2x Project at Krugle


Show typed.h syntax highlighted

//[*]----------------------------------------------------------------------------------------------------[*]
#ifndef __TYPED_H_
#define __TYPED_H_
//[*]----------------------------------------------------------------------------------------------------[*]
// ÆÄÀÏ Å½»ö ¸ðµå
typedef enum 
{
	FILE_MODE			,
	FOLDER_MODE		    ,
	FOLDER_FILE_MODE	,
	FOLDER_MP3OGG_MODE  ,
	FOLDER_AVI_MODE	    ,
	FOLDER_IMG_MODE	    ,
	FOLDER_TXT_MODE	    ,
	FOLDER_GPE_MODE	    
}SeletMode;
//[*]----------------------------------------------------------------------------------------------------[*]
// ÆÄÀÏ Æ÷¸Ë
typedef enum 
{
	FOLDER_FORMAT	,	// Æú´õ
	MP3_FORMAT		,	// À½¾Ç
	OGG_FORMAT		,
	AVI_FORMAT		,	// 樨毢
	BMP_FORMAT		,	// ±×¸²
	GIF_FORMAT		,
	PNG_FORMAT		,
	JPG_FORMAT		,
	TXT_FORMAT		,	// ÅØ½ºÆ® ÆÄÀÏ
	FILE_FORMAT		,	// ±âŸ ÆÄÀÏ
	GPE_FORMAT			// GP2X ½ÇÇàÆÄÀÏ
}FileFormat;
//[*]----------------------------------------------------------------------------------------------------[*]
typedef enum 
{
	PLAY_STATUS,
	PAUSE_STATUS,
	STOP_STATUS,
	EXIT_STAUTS
}VideoStatus;
//[*]----------------------------------------------------------------------------------------------------[*]
typedef enum 
{
	MOVIE_VIEW,
	FILE_VIEW,
	EXIT_VIEW
}ViewMode;
//[*]----------------------------------------------------------------------------------------------------[*]
typedef struct 
{
	int 	nStartCount	;
	int 	nEndCount	;
	int 	nPosition	;
	int		nStatus		;
}SViewInfomation;
//[*]----------------------------------------------------------------------------------------------------[*]
// ÆÄÀÏ ¸®½ºÆ®
typedef struct
{
	char 		*szName;
	FileFormat 	nAttribute;
}SFileList;
//[*]----------------------------------------------------------------------------------------------------[*]
// ÆÄÀÏ Á¤º¸
typedef struct
{
	char 		*szPath;
	SFileList 	*pList;
	int 		nCount;
}SDirInfomation;
//[*]----------------------------------------------------------------------------------------------------[*]
enum MAP_KEY
{
	VK_UP			,	// 0
	VK_UP_LEFT		,	// 1
	VK_LEFT			,	// 2
	VK_DOWN_LEFT	,	// 3
	VK_DOWN			,	// 4
	VK_DOWN_RIGHT	,	// 5
	VK_RIGHT		,	// 6
	VK_UP_RIGHT		,	// 7
	VK_START		,	// 8
	VK_SELECT		,	// 9
	VK_FL			,	// 10
	VK_FR			,	// 11	
	VK_FA			,	// 12	
	VK_FB			,	// 13	
	VK_FX			,	// 14	
	VK_FY			,	// 15	
	VK_VOL_UP		,	// 16	
	VK_VOL_DOWN		,	// 17	
	VK_TAT				// 18	
};	                	
//[*]----------------------------------------------------------------------------------------------------[*]
enum IDD_Menu
{
	PREV_FILE_BUTTON,
	NEXT_FILE_BUTTON,
	PREV_SEEK_BUTTON,
	NEXT_SEEK_BUTTON,
	PLAY_BUTTON,
	PAUSE_BUTTON,
	STOP_BUTTON,
	OPEN_BUTTON,
	EQ_BUTTON
};
//[*]----------------------------------------------------------------------------------------------------[*]
typedef struct 
{
	int x;
	int y;
}Point;
//[*]----------------------------------------------------------------------------------------------------[*]
typedef enum 
{
	NORMAL_EQ,
	CLASSIC_EQ,
	JAZZ_EQ,
	POP_EQ
}Equlize;
//[*]----------------------------------------------------------------------------------------------------[*]
typedef enum 
{
	PREV_FILE_CMD,
	NEXT_FILE_CMD,
	PREV_SEEK_CMD,
	NEXT_SEEK_CMD,
	STOP_CMD,
	OPEN_CMD,
	EXIT_CMD
}NEXT_COMMAND;
//[*]----------------------------------------------------------------------------------------------------[*]
#define true	1
#define	false	0
typedef int bool;
//[*]----------------------------------------------------------------------------------------------------[*]
#endif
//[*]----------------------------------------------------------------------------------------------------[*]




See more files for this project here

The Open2x Project

The Open2x project exists to provide an open source resource for the GP2X handheld console based on the MagicEyes MMSP2 processing platform and MP2520F SoC. The project hosts Linux kernel source for the GP2X, boot loader (U-Boot) source and more.

Project homepage: http://www.distant-earth.com/open2x
Programming language(s): Assembly,C,C++
License: other

  default_skin/
    asf.png
    avi.png
    body.png
    dat.png
    downarrow.png
    error.png
    ext.png
    ext_on.png
    folder.png
    full.png
    loading.png
    mpg.png
    nand.png
    nand_on.png
    normal.png
    resume.png
    save.png
    sd.png
    sd_on.png
    selectbar.png
    uparrow.png
    wmv.png
  etc/
    codecs.conf
    dvb-menu.conf
    example.conf
    input.conf
    inttypes.h
    menu.conf
    mplayer.desktop
    mplayer.ico
  fbdisp/
    Makefile
    fblin16.c
    fblin24.c
    fblin32.c
    fbs.h
    fontdisp.h
    fontout.c
    gfxdev.h
    gfxfontext.c
    gfxfontload.c
    gfxfontout.c
    gfxtype.h
    gulim_96_10_eng.c
    gulim_96_10_han.c
    main.c
    scr_fb.c
  help/
    help_diff.sh
    help_mp-bg.h
    help_mp-cs.h
    help_mp-de.h
    help_mp-dk.h
    help_mp-el.h
    help_mp-en.h
    help_mp-es.h
    help_mp-fr.h
    help_mp-hu.h
    help_mp-it.h
    help_mp-ja.h
    help_mp-ko.h
    help_mp-mk.h
    help_mp-nl.h
    help_mp-no.h
    help_mp-pl.h
    help_mp-pt_BR.h
    help_mp-ro.h
    help_mp-ru.h
  libaf/
  libao2/
  libmpcodecs/
  libmpdemux/
  loader/
  osdep/
  AUTHORS
  DirDisplay.c
  DirDisplay.h
  DirList.c
  DirList.h
  FontDisplay.c
  FontDisplay.h
  LICENSE
  Makefile
  bswap.h
  codec-cfg.c
  codec-cfg.h
  config.h
  config.mak
  csource.lst
  cx25874.h
  drawcontrol.c
  drawcontrol.h
  dualcpu.h
  filelistview.c
  filelistview.h
  find_sub.c
  g2player.h
  get_path.c
  glock.c
  glock.h
  guictrl.c
  guictrl.h
  gv.c
  gvlib_export.h
  help_mp.h
  i2c.h
  imgNumber.h
  imgbinary.h
  m_config.c
  m_config.h
  m_option.c
  m_option.h
  m_struct.c
  m_struct.h
  mangle.h
  mixer.c
  mixer.h
  mmsp2_940_if.c
  mmsp2_if.h
  mp_msg.c
  mp_msg.h
  mplayer.c
  mplayer.h
  open2x-mplayer.sh
  rtc_1024_table.h
  subdisp.c
  subdisp.h
  subreader.c
  subreader.h
  typed.h
  version.h
  vpp.h
  vpts_q.c
  wincetype.h