10 #include <vdr/remote.h>
11 #include <vdr/tools.h>
19 const char *p = strchr(s,
'_');
22 char buf[strlen(p) + 1];
63 int f = open(FileName, O_RDONLY);
69 int NewSize =
size * 3 / 2;
78 lseek(f, 0, SEEK_SET);
138 if (pe && Direction < 0)
150 for (
int dx = -1; dx <= 1; dx++) {
151 for (
int dy = -1; dy <= 1; dy++) {
164 const char *p = strrchr(Path,
'/');
165 const char *q = strrchr(
lastPath,
'/');
169 if (lp != lq || strncmp(lastPath, Path, lp)) {
180 int h = 2 * Font->
Height();
183 tArea Areas[] = { { 0, 0, w - 1, h - 1, 8 } };
187 tArea Areas[] = { { 0, 0, w - 1, h - 1, 4 } };
197 if (stat(Path, &sb) == 0) {
209 return tr(
"Pictures");