Beispiel #1
0
        private static SUIStyle PARSE_STYLE(string inStyle)
        {
            SUIStyle outStyle = new SUIStyle();

            string[] stylings = inStyle.Split(';');

            foreach (string style in stylings)
            {
                if (style.Length > 0)
                {
                    if (style.ToLower().Contains("orientation:"))
                    {
                        // TODO: Parse correctly
                        outStyle.Orientation = SUIStyle.STYLE_ORIENTATION.HORIZONTAL;
                    }
                }
            }

            return(outStyle);
        }
Beispiel #2
0
 public void setStyle(SUIStyle inStyle)
 {
     Style = inStyle;
 }