コード例 #1
0
        protected override void DrawContents(object canvas)
        {
            base.DrawContents(canvas);

            if (m_label != null)
            {
                m_label.Draw(canvas);
            }
        }
コード例 #2
0
        protected override void DrawContents(object canvas)
        {
            base.DrawContents(canvas);

            if (m_label != null)
            {
                m_label.Draw(canvas);
            }

            if (IsFocused)
            {
                m_cursor.Draw(canvas);
            }
        }