Пример #1
0
        public virtual void load()
        {
            option.load();

            highlighted.load();

            if (hit != null)
            {
                hit.load();
            }

            switch (alignment)
            {
            case TextAlignment.right:
                option.right();
                highlighted.right();
                break;

            case TextAlignment.center:
                option.center();
                highlighted.center();
                break;

            case TextAlignment.left:
                option.left();
                highlighted.left();
                break;
            }
        }
Пример #2
0
 public void right()
 {
     highlight.right();
     option.right();
 }