summaryrefslogtreecommitdiff
path: root/displaymenuview.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2012-12-29 13:29:10 +0100
committerlouis <louis.braun@gmx.de>2012-12-29 13:29:10 +0100
commitc7fd4e9eaea25ac7b2a593e5402d52614e1df944 (patch)
tree5031bbc72986995154e24b552504deffd5704f63 /displaymenuview.h
parent7c2a71393299eed572c1b4dfc2f35a7819e8843b (diff)
downloadskin-nopacity-c7fd4e9eaea25ac7b2a593e5402d52614e1df944.tar.gz
skin-nopacity-c7fd4e9eaea25ac7b2a593e5402d52614e1df944.tar.bz2
Version 0.0.5
Diffstat (limited to 'displaymenuview.h')
-rw-r--r--displaymenuview.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/displaymenuview.h b/displaymenuview.h
index 4c0db71..274fd7e 100644
--- a/displaymenuview.h
+++ b/displaymenuview.h
@@ -42,10 +42,9 @@ class cNopacityDisplayMenuView {
cFont *fontTimersHead;
cFont *fontButtons;
cFont *fontMessage;
+ cFont *fontEPGInfoWindow;
int osdWidth, osdHeight;
int osdLeft, osdTop;
- int vidWidth, vidHeight;
- double vidAspect;
int widthScrollbar;
int dateWidth;
int headerHeight, footerHeight, contentHeight;
@@ -58,6 +57,8 @@ class cNopacityDisplayMenuView {
int buttonsBorder, buttonWidth, buttonHeight;
int messageWidth, messageHeight;
int avrgFontWidth;
+ cRect textWindowSize;
+ void SetDescriptionTextWindowSize(void);
public:
cNopacityDisplayMenuView();
virtual ~cNopacityDisplayMenuView(void);
@@ -68,6 +69,7 @@ class cNopacityDisplayMenuView {
void CreateFonts(void);
cFont *GetMenuItemFont(eMenuCategory menuCat);
cFont *GetMenuItemFontSmall(void);
+ cFont *GetEPGWindowFont(void);
void GetMenuItemSize(eMenuCategory menuCat, cPoint *itemSize);
int GetMaxItems(eMenuCategory menuCat);
int GetMenuTop(int numItems, int itemHeight);
@@ -78,6 +80,7 @@ class cNopacityDisplayMenuView {
int GetWidthDefaultMenu(void) {return menuItemWidthDefault;};
int GetTextAreaWidth(void);
const cFont *GetTextAreaFont(bool FixedFont);
+ cRect *GetDescriptionTextWindowSize(void) {return &textWindowSize;};
void CreateBackgroundImages(int *handleBackgrounds, int *handleButtons);
void AdjustContentBackground(bool contentNarrow, bool contentNarrowLast);
void DrawBorderDecoration(void);
@@ -100,7 +103,6 @@ class cNopacityDisplayMenuView {
void DrawMessage(eMessageType Type, const char *Text);
void ClearMessage(void);
void SetDetailViewSize(eDetailViewType detailViewType, cNopacityMenuDetailView *detailView);
- void ScalePreserveAspect(tArea & videoWindowDest, const double & videoAspect, const tArea & availableArea);
int spaceMenu;
};