moviebrowser: rework frame height setup in moviebrowser setup

Usability with height presets was not really user friendly.


Origin commit data
------------------
Branch: ni/coolstream
Commit: c2b49e93c2
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-06-05 (Wed, 05 Jun 2019)



------------------
This commit was generated by Migit
This commit is contained in:
2019-06-05 11:12:04 +02:00
committed by vanhofen
parent 08ff916ba8
commit e5624a6d86
6 changed files with 58 additions and 21 deletions

View File

@@ -99,6 +99,8 @@ typedef struct
/* these variables are used for the listframes */
int browserFrameHeight;
int browserFrameHeightGeneral;
int browserFrameHeightAdditional;
int browserRowNr;
MB_INFO_ITEM browserRowItem[MB_MAX_ROWS];
int browserRowWidth[MB_MAX_ROWS];
@@ -376,6 +378,8 @@ class CMovieBrowser : public CMenuTarget, public CProgressSignals
void clearSelection();
bool supportedExtension(CFile &file);
bool addFile(CFile &file, int dirItNr);
void changeBrowserHeight(CMenuForwarder* fw1, CMenuForwarder* fw2);
};
// I tried a lot to use the menu.cpp as ListBox selection, and I got three solution which are all garbage.