コード例 #1
0
ファイル: TabButton.cs プロジェクト: Remurr/nDbg
        /// <summary>
        /// Draw the button
        /// </summary>
        /// <param name="renderer">renderer used to draw the button</param>
        /// <param name="selected">true if the button is selected</param>
        /// <param name="font">font for drawing text</param>
        /// <param name="graphics">grapics for drawing text</param>
        public void Draw(TabButtonRenderer renderer, bool selected, Font font, Graphics graphics)
        {
            ValidateNotDisposed();

             renderer.Draw(_bounds, Text, selected, font, graphics);
        }
コード例 #2
0
ファイル: TabButton.cs プロジェクト: vebin/PhotoBrushProject
        /// <summary>
        /// Draw the button
        /// </summary>
        /// <param name="renderer">renderer used to draw the button</param>
        /// <param name="selected">true if the button is selected</param>
        /// <param name="font">font for drawing text</param>
        /// <param name="graphics">grapics for drawing text</param>
        public void Draw(TabButtonRenderer renderer, bool selected, Font font, Graphics graphics)
        {
            ValidateNotDisposed();

            renderer.Draw(_bounds, Text, selected, font, PageIcon, graphics);
        }