Merge remote-tracking branch 'upstream/develop' into medley
This commit is contained in:
commit
ae2c693e37
5 files changed
+8
-35
No files matched your search
+3
-30
@@ -1,6 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
using System.Globalization;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
@@ -612,21 +613,7 @@ namespace Vocaluxe.Base
|
|||||||
int NotLetterCat = -1;
|
int NotLetterCat = -1;
|
||||||
for (int i=0; i < _SongsSortList.Length; i++)
|
for (int i=0; i < _SongsSortList.Length; i++)
|
||||||
{
|
{
|
||||||
Char firstLetter = Char.ToUpper(_SongsSortList[i].SortString[0]);
|
Char firstLetter = Char.ToUpper(_SongsSortList[i].SortString.Normalize(NormalizationForm.FormD)[0]);
|
||||||
|
|
||||||
//Fix for german Umlaute
|
|
||||||
switch (firstLetter)
|
|
||||||
{
|
|
||||||
case 'Ä':
|
|
||||||
firstLetter = 'A';
|
|
||||||
break;
|
|
||||||
case 'Ö':
|
|
||||||
firstLetter = 'O';
|
|
||||||
break;
|
|
||||||
case 'Ü':
|
|
||||||
firstLetter = 'U';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!Char.IsLetter(firstLetter))
|
if (!Char.IsLetter(firstLetter))
|
||||||
{
|
{
|
||||||
@@ -684,21 +671,7 @@ namespace Vocaluxe.Base
|
|||||||
NotLetterCat = -1;
|
NotLetterCat = -1;
|
||||||
for (int i=0; i < _SongsSortList.Length; i++)
|
for (int i=0; i < _SongsSortList.Length; i++)
|
||||||
{
|
{
|
||||||
Char firstLetter = Char.ToUpper(_SongsSortList[i].SortString[0]);
|
Char firstLetter = Char.ToUpper(_SongsSortList[i].SortString.Normalize(NormalizationForm.FormD)[0]);
|
||||||
|
|
||||||
//Fix for german Umlaute
|
|
||||||
switch (firstLetter)
|
|
||||||
{
|
|
||||||
case 'Ä':
|
|
||||||
firstLetter = 'A';
|
|
||||||
break;
|
|
||||||
case 'Ö':
|
|
||||||
firstLetter = 'O';
|
|
||||||
break;
|
|
||||||
case 'Ü':
|
|
||||||
firstLetter = 'U';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!Char.IsLetter(firstLetter))
|
if (!Char.IsLetter(firstLetter))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ namespace Vocaluxe.Menu.SongMenu
|
|||||||
|
|
||||||
public SRectF GetRect()
|
public SRectF GetRect()
|
||||||
{
|
{
|
||||||
return Rect;
|
return _Rect;
|
||||||
}
|
}
|
||||||
|
|
||||||
public SColorF Color
|
public SColorF Color
|
||||||
|
|||||||
@@ -313,7 +313,6 @@ namespace Vocaluxe.Screens
|
|||||||
public override bool Draw()
|
public override bool Draw()
|
||||||
{
|
{
|
||||||
base.Draw();
|
base.Draw();
|
||||||
SongMenus[htSongMenus(SongMenu)].Draw();
|
|
||||||
|
|
||||||
if (_SongOptionsActive)
|
if (_SongOptionsActive)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user