[MPlayer-cvslog] r32986 - trunk/gui/app.c
ib
subversion at mplayerhq.hu
Mon Feb 28 14:42:39 CET 2011
Author: ib
Date: Mon Feb 28 14:42:39 2011
New Revision: 32986
Log:
Remove unused functions.
Modified:
trunk/gui/app.c
Modified: trunk/gui/app.c
==============================================================================
--- trunk/gui/app.c Mon Feb 28 14:29:36 2011 (r32985)
+++ trunk/gui/app.c Mon Feb 28 14:42:39 2011 (r32986)
@@ -20,7 +20,6 @@
#include <string.h>
#include "app.h"
-#include "wm/wskeys.h"
listItems appMPlayer;
@@ -115,20 +114,6 @@ static void appClearItem(wItem *item)
item->event = 0;
}
-void appCopy(listItems *dest, listItems *source)
-{
- dest->NumberOfItems = source->NumberOfItems;
- memcpy(&dest->Items, &source->Items, 128 * sizeof(wItem));
-
- dest->NumberOfMenuItems = source->NumberOfMenuItems;
- memcpy(&dest->MenuItems, &source->MenuItems, 32 * sizeof(wItem));
-
- memcpy(&dest->main, &source->main, sizeof(wItem));
- memcpy(&dest->sub, &source->sub, sizeof(wItem));
- memcpy(&dest->menuBase, &source->menuBase, sizeof(wItem));
- memcpy(&dest->menuSelected, &source->menuSelected, sizeof(wItem));
-}
-
void appInitStruct(listItems *item)
{
int i;
@@ -168,17 +153,6 @@ void appInitStruct(listItems *item)
item->menuIsPresent = 0;
}
-int appFindKey(unsigned char *name)
-{
- int i;
-
- for (i = 0; i < wsKeyNumber; i++)
- if (!strcmp(wsKeyNames[i].name, name))
- return wsKeyNames[i].code;
-
- return -1;
-}
-
int appFindMessage(unsigned char *str)
{
int i;
@@ -237,17 +211,6 @@ void btnModify(int event, float state)
}
}
-float btnGetValue(int event)
-{
- int i;
-
- for (i = 0; i < appMPlayer.NumberOfItems + 1; i++)
- if (appMPlayer.Items[i].msg == event)
- return appMPlayer.Items[i].value;
-
- return 0;
-}
-
void btnSet(int event, int set)
{
int i;
More information about the MPlayer-cvslog
mailing list