private void MakeWindowPage()
{
_mainLayout = new Box(_mainWindow);
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) == 0)\r
+ _mainLayout.BackgroundColor = Color.Aqua;
_summaryLabel = new Label(_mainWindow)
{
var navigationLayout = new Box(_mainWindow)
{
IsHorizontal = true,
+ AlignmentX = -1,
+ WeightX = 1,
};
var runBtn = new Button(_mainWindow)
using NUnit.Framework;
using Tizen.Applications;
using ElmSharp;
+using ElmSharp.Tests;
namespace ElmSharpApplication.Tizen
{
{
Elementary.Initialize();
Elementary.ThemeOverlay();
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) == 0)\r
+ Elementary.AddThemeOverlay("/usr/share/elm-sharp/vd-elm-sharp-theme.edj");
testRunner = new Program();
testRunner.Run(args);
private void MakeTestPage()
{
_mainBox = new Box(_mainWindow);
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) == 0)\r
+ _mainBox.BackgroundColor = Color.Aqua;
_descriptionTitle = new Label(_mainWindow)
{
private void SetThemeColor(Layout widget)
{
- widget.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ widget.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
}
private void ShowDescription()
MinimumWidth = 100,
MinimumHeight = 80,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
_testPage.ExecuteTC(_button);
}
MinimumWidth = 100,
MinimumHeight = 80,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
layout.PackEnd(_button);
_button.Show();
MinimumHeight = 80
};
_entry.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000'";
- _button1.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button1.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
_layout.PackEnd(_entry);
_layout.PackEnd(_button1);
_entry.Show();
MinimumHeight = 80
};
_entry.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000'";
- _button1.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
- _button2.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ {\r
+ _button1.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";\r
+ _button2.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+ }
_layout.PackEnd(_entry);
_layout.PackEnd(_button1);
_layout.PackEnd(_button2);
MinimumWidth = 100,
MinimumHeight = 80,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
_testPage.ExecuteTC(_button);
}
MinimumWidth = 100,
MinimumHeight = 80,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
_testPage.ExecuteTC(_button);
}
MinimumWidth = 100,
MinimumHeight = 80,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
_button.Show();
_DisButton = new Button(_window)
MinimumWidth = 100,
MinimumHeight = 80,
};
- _DisButton.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _DisButton.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
_DisButton.Show();
_box.PackEnd(_button);
AlignmentX = -1,
WeightX = 1,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += OnClickedClear;
AlignmentX = -1,
WeightX = 1,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += OnClickedInsertBefore;
AlignmentX = -1,
WeightX = 1,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += OnClickedPrepend;
AlignmentX = -1,
WeightX = 1,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += OnClickedScrollTo1;
AlignmentX = -1,
WeightX = 1,
};
- _button2.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button2.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button2.Clicked += OnClickedScrollTo2;
AlignmentX = -1,
WeightX = 1,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += OnClickedUpdateRealized;
_box = new Box(_window)
AlignmentX = -1,
WeightX = 1,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += OnClickedCheckGetItem;
AlignmentX = -1,
WeightX = 1,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += OnClickedDelete;
AlignmentX = -1,
WeightX = 1,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += OnClicked;
_box = new Box(_window)
AlignmentX = -1,
WeightX = 1
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += ClickedClear;
_box = new Box(_window)
AlignmentX = -1,
WeightX = 1
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += ClickedInsertBeforeDefault;
_box = new Box(_window)
{
AlignmentX = -1,
WeightX = 1,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += ClickedInsertBeforeGroup;
_box = new Box(_window)
AlignmentX = -1,
WeightX = 1,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += ClickedInsertBeforeTree;
_box = new Box(_window)
AlignmentX = -1,
WeightX = 1,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += ClickedPrependDefault;
_box = new Box(_window)
AlignmentX = -1,
WeightX = 1
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += ClickedPrependGroup;
_box = new Box(_window)
AlignmentX = -1,
WeightX = 1
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += ClickedPrependTree;
_box = new Box(_window)
AlignmentX = -1,
WeightX = 1
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += ClickedScrollTo1;
_button2 = new Button(_window)
AlignmentX = -1,
WeightX = 1
};
- _button2.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button2.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button2.Clicked += ClickedScrollTo2;
AlignmentX = -1,
WeightX = 1
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += ClickedUpdate;
_box = new Box(_window)
AlignmentX = -1,
WeightX = 1,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += OnClickedCheckGetItem;
AlignmentX = -1,
WeightX = 1
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += ClickedUnrealize;
_button2 = new Button(_window)
AlignmentX = -1,
WeightX = 1
};
- _button2.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button2.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button2.Clicked += ClickedSetUnrealize;
_box = new Box(_window)
AlignmentX = -1,
WeightX = 1
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += ClickedScrollTo2;
_box = new Box(_window)
AlignmentX = -1,
WeightX = 1
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += ClickedScrollTo2;
_box = new Box(_window)
WeightX = 1,
IsEnabled = false
};
- _button2.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button2.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button = new Button(_window)
{
AlignmentX = -1,
WeightX = 1,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += ClickedSetFocus;
_box = new Box(_window)
AlignmentX = -1,
WeightX = 1,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += ClickedUpdate;
_box = new Box(_window)
AlignmentX = -1,
WeightX = 1,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += ClickedUpdateField;
_box = new Box(_window)
AlignmentX = -1,
WeightX = 1,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += ClickedUpdateItemClass;
_box = new Box(_window)
AlignmentX = -1,
WeightX = 1,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += OnClickedCheckItemDepth;
AlignmentX = -1,
WeightX = 1,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += ClickedClear;
_box = new Box(_window)
AlignmentX = -1,
WeightX = 1,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += ClickedPrepend;
_box = new Box(_window)
AlignmentX = -1,
WeightX = 1,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
_button.Clicked += ClickedPrepend2;
_box = new Box(_window)
WeightX = 0.5,
WeightY = 1,
};
- _btn.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _btn.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
_btn.Show();
_box.PackStart(_btn);
{
_progressbar.Style = "process/small";
}
+ else if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) == 0)
+ {\r
+ _progressbar.Style = "process";\r
+ }
else
{
_progressbar.Style = "wheel";
{
_progressbar.Style = "process/small";
}
+ else if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) == 0)
+ {\r
+ _progressbar.Style = "process";\r
+ }
else
{
_progressbar.Style = "wheel";
WeightX = 1,
WeightY = 1
};
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) == 0)
+ _box.BackgroundColor = Color.Aqua;
}
[TearDown]
WeightX = 0.5,
WeightY = 1,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
_button.Show();
_box.PackStart(_button);
WeightX = 0.5,
WeightY = 1,
};
- _btn.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _btn.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
_btn.Show();
_box.PackStart(_btn);
MinimumWidth = 100,
MinimumHeight = 80,
};
- _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+ _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
_layout.PackEnd(_button);
_layout.PackEnd(_spinner);
WeightY = 1
};
_layout.Show();
-
+ if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) == 0)\r
+ _layout.BackgroundColor = Color.Aqua;\r
+\r
_table = new Table(_window)
{
PaddingX = 10,