[Horus] Menus icons now in cache

I hope it will reduce calculation time a little bit!
This commit is contained in:
Bertrand Songis
2016-04-07 08:26:04 +02:00
parent b1e5e06d5b
commit eaed9dd1a9
86 changed files with 373 additions and 352 deletions
+2 -2
View File
@@ -18,7 +18,7 @@
* GNU General Public License for more details.
*/
#include "../../opentx.h"
#include "opentx.h"
#define TEXT_FILE_MAXSIZE 2048
@@ -91,7 +91,7 @@ bool menuTextView(evt_t event)
{
static int lines_count;
drawScreenTemplate("TEXT VIEWER", NULL);
drawMenuTemplate("TEXT VIEWER", ICON_OPENTX);
switch (event) {
case EVT_ENTRY: