diff options
Diffstat (limited to 'displaymenuview.h')
-rw-r--r-- | displaymenuview.h | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/displaymenuview.h b/displaymenuview.h index 9412449..e3d0b6d 100644 --- a/displaymenuview.h +++ b/displaymenuview.h @@ -42,18 +42,25 @@ class cNopacityDisplayMenuView { int widthScrollbar; int dateWidth; int headerHeight, footerHeight, contentHeight; - int contentWidthNarrow, contentWidthFull; + int contentWidthFull; + int contentWidthMain; + int contentWidthSchedules; + int contentWidthChannels; + int contentWidthRecordings; int menuItemWidthDefault, menuItemHeightDefault; int menuItemWidthMain, menuItemHeightMain; - int menuItemHeightSchedule; - int menuItemHeightRecordings; + int menuItemWidthSchedule, menuItemHeightSchedule; + int menuItemWidthChannel; + int menuItemWidthRecording, menuItemHeightRecordings; int diskUsageWidth, diskUsageHeight; int timersWidth; int buttonsBorder, buttonWidth, buttonHeight; int messageWidth, messageHeight; int avrgFontWidth; - cRect textWindowSize; + cRect textWindowSizeSchedules; + cRect textWindowSizeRecordings; void SetDescriptionTextWindowSize(void); + int GetContentWidth(eMenuCategory menuCat); public: cNopacityDisplayMenuView(); virtual ~cNopacityDisplayMenuView(void); @@ -75,9 +82,9 @@ class cNopacityDisplayMenuView { int GetWidthDefaultMenu(void) {return menuItemWidthDefault;}; int GetTextAreaWidth(void); const cFont *GetTextAreaFont(bool FixedFont); - cRect *GetDescriptionTextWindowSize(void) {return &textWindowSize;}; + cRect *GetDescriptionTextWindowSize(eMenuCategory menuCat); void CreateBackgroundImages(int *handleBackgrounds, int *handleButtons); - void AdjustContentBackground(bool contentNarrow, bool contentNarrowLast, cRect & vidWin); + void AdjustContentBackground(eMenuCategory menuCat, eMenuCategory menuCatLast, cRect & vidWin); void DrawBorderDecoration(void); int ShowHeaderLogo(bool show); void DrawHeaderLogo(void); |