summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/simple_viewer.h
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2010-06-08 11:07:36 +0000
committerTeruaki Kawashima <teru@rockbox.org>2010-06-08 11:07:36 +0000
commit0c7eb41da8253837a571cc037a932c77348a88c9 (patch)
tree762f30148d6c4c01d85766097c9745431489f34f /apps/plugins/lib/simple_viewer.h
parent755fef66b30633365f7401ddbeb40a0481d616d4 (diff)
downloadrockbox-0c7eb41da8253837a571cc037a932c77348a88c9.tar.gz
rockbox-0c7eb41da8253837a571cc037a932c77348a88c9.zip
add simple text viewer to pluginlib and use this for dict to show description.
now dict can scroll the description. it might not show full description if it is too long or memory is not enough. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26687 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib/simple_viewer.h')
-rw-r--r--apps/plugins/lib/simple_viewer.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/apps/plugins/lib/simple_viewer.h b/apps/plugins/lib/simple_viewer.h
new file mode 100644
index 0000000000..ff3ef23f14
--- /dev/null
+++ b/apps/plugins/lib/simple_viewer.h
@@ -0,0 +1,28 @@
1/***************************************************************************
2* __________ __ ___.
3* Open \______ \ ____ ____ | | _\_ |__ _______ ___
4* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7* \/ \/ \/ \/ \/
8* $Id$
9*
10* Copyright (C) 2010 Teruaki Kawashima
11*
12* This program is free software; you can redistribute it and/or
13* modify it under the terms of the GNU General Public License
14* as published by the Free Software Foundation; either version 2
15* of the License, or (at your option) any later version.
16*
17* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18* KIND, either express or implied.
19*
20****************************************************************************/
21
22#ifndef __PLUGINLIB_VIEWER_H__
23#define __PLUGINLIB_VIEWER_H__
24
25#include "plugin.h"
26int view_text(const char *title, const char *text);
27
28#endif /* __PLUGINLIB_VIEWER_H__ */