Relocate files

This commit is contained in:
2020-11-29 14:51:18 -06:00
parent 31a10d9b16
commit 60e03f2203
28 changed files with 6 additions and 6770 deletions
@@ -1,45 +0,0 @@
using Xamarin.Forms;
namespace qController
{
public class QButton : Button
{
public QCommand qCommand
{
get;
set;
}
public QButton(QCommand command)
{
qCommand = command;
Text = qCommand.text;
TextColor = Color.Black;
FontSize = App.HeightUnit * 2.5;
if (qCommand.osc.Contains("go"))
{
BackgroundColor = Color.SeaGreen;
switch (Device.RuntimePlatform)
{
case Device.iOS:
FontSize = App.HeightUnit * 4;
FontAttributes = FontAttributes.Bold;
break;
case Device.Android:
FontSize = App.HeightUnit * 4;
FontAttributes = FontAttributes.Bold;
break;
}
}
else if (qCommand.osc.Contains("panic"))
{
BackgroundColor = Color.IndianRed;
}
else
{
BackgroundColor = Color.FromHex("D8D8D8");
}
}
}
}
@@ -1,29 +0,0 @@
using Xamarin.Forms;
namespace qController
{
public class QLevelsButton : ShadowButton
{
public Button button;
public QLevelsButton()
{
button = new Button
{
Text = QIcon.SLIDERS,
TextColor = Color.Black,
FontFamily = App.QFont,
FontSize = App.HeightUnit * 4,
VerticalOptions = LayoutOptions.FillAndExpand,
HorizontalOptions = LayoutOptions.FillAndExpand,
HeightRequest = App.HeightUnit * 8,
WidthRequest = App.HeightUnit * 8,
CornerRadius = (int)(App.HeightUnit * 4),
BackgroundColor = Color.LightBlue
};
HeightRequest = button.Height;
WidthRequest = button.Width;
CornerRadius = button.CornerRadius;
Content = button;
}
}
}
@@ -1,28 +0,0 @@
using Xamarin.Forms;
namespace qController
{
public class ShadowButton : Frame
{
public ShadowButton(Button b)
{
//Content = b;
HeightRequest = b.Height;
WidthRequest = b.Width;
CornerRadius = b.CornerRadius;
Padding = new Thickness(0);
Content = b;
HasShadow = true;
BorderColor = Color.Black;
IsVisible = false;
}
public ShadowButton()
{
HasShadow = true;
BorderColor = Color.Black;
IsVisible = false;
Padding = new Thickness(0);
}
}
}
@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace qController.Pages
{
public class RootPageMenuItem
{
public RootPageMenuItem()
{
TargetType = typeof(RootPageDetail);
}
public int Id { get; set; }
public string Title { get; set; }
public Type TargetType { get; set; }
}
}
@@ -1,9 +1,9 @@
using System;
using System.Collections.Generic;
using Xamarin.Forms;
using qController.Communication;
using qController.UI.Buttons;
namespace qController.Cell
namespace qController.UI.Cells
{
public class QControlsBlock : Frame
{
@@ -2,7 +2,7 @@
using Xamarin.Forms;
using qController.QItems;
namespace qController.Cell
namespace qController.UI.Cells
{
public class QCueListCell : Frame
{
@@ -2,7 +2,7 @@
using Xamarin.Forms;
using Serilog;
namespace qController.Cell
namespace qController.UI.Cells
{
public class QInstanceCell : ViewCell
{
@@ -1,7 +1,7 @@
using System.Collections.Generic;
using Xamarin.Forms;
namespace qController.Cell
namespace qController.UI.Cells
{
public class QLevelsCell : Frame
{
@@ -6,7 +6,7 @@ using Xamarin.Forms;
using qController.QItems;
using qController.Events;
namespace qController.Cell
namespace qController.UI.Cells
{