added drawing of song menu to the sorting method in CMenu.cs

This commit is contained in:
Alexander Eckart committed 2012-06-17 15:01:35 +02:00
1 parent 1fd38bad14
commit e85a3426a5
4 files changed
+5 -5

No files matched your search

+2 -1
View File
@@ -997,7 +997,8 @@ namespace Vocaluxe.Menu
_Interactions[i].Type == EType.TSelectSlide || _Interactions[i].Type == EType.TSelectSlide ||
_Interactions[i].Type == EType.TStatic || _Interactions[i].Type == EType.TStatic ||
_Interactions[i].Type == EType.TNameSelection || _Interactions[i].Type == EType.TNameSelection ||
_Interactions[i].Type == EType.TText)) _Interactions[i].Type == EType.TText ||
_Interactions[i].Type == EType.TSongMenu))
{ {
ZSort zs = new ZSort(); ZSort zs = new ZSort();
zs.ID = i; zs.ID = i;
+2 -2
View File
@@ -33,8 +33,8 @@ namespace Vocaluxe.Menu.SongMenu
public bool Visible public bool Visible
{ {
get { return _SongMenu.IsSelected(); } get { return _SongMenu.IsVisible(); }
set { _SongMenu.SetSelected(value); } set { _SongMenu.SetVisible(value); }
} }
public SRectF Rect public SRectF Rect
+1 -1
View File
@@ -177,7 +177,7 @@ namespace Vocaluxe.Menu.SongMenu
public SRectF GetRect() public SRectF GetRect()
{ {
return Rect; return _Rect;
} }
public SColorF Color public SColorF Color
-1
View File
@@ -222,7 +222,6 @@ namespace Vocaluxe.Screens
public override bool Draw() public override bool Draw()
{ {
base.Draw(); base.Draw();
SongMenus[htSongMenus(SongMenu)].Draw();
return true; return true;
} }