Click here to Skip to main content
11,490,003 members (52,340 online)
Click here to Skip to main content
Add your own
alternative version


, 4 Apr 2006 CPOL 91.8K 1.3K 75
FireEdit - a small code editor with plugins support
using System;
using System.Collections.Generic;
using System.Text;
using Fireball.Windows.Forms;
using System.Drawing.Drawing2D;
using System.Drawing;

namespace FireEdit.Themes
    class FireEditLineMarginRender :  LineMarginRender
        private LinearGradientBrush _brush = null;

        public override System.Drawing.Rectangle Bounds
                return base.Bounds;
                if (!this.Bounds.Equals(value))
                    _brush = new LinearGradientBrush(value,
                        SystemColors.Control, SystemColors.ControlLightLight,
                base.Bounds = value;

        public override void Render(Graphics gfx)
            gfx.FillRectangle(_brush, this.Bounds);

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Web Developer
Italy Italy
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150520.1 | Last Updated 4 Apr 2006
Article Copyright 2006 by dotnetfireball
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid