вперёд, к Data Driven!

    Date: 03/01/06 (Code WTF)    Keywords: no keywords


    
        if (!radio)
        {
            int x = rc.left + 4;
            int y = rc.top + 4;
            ::SetPixel(dc, x,y+2,color);
            ::SetPixel(dc, x,y+3,color);
            ::SetPixel(dc, x,y+4,color);
            ::SetPixel(dc, x+1,y+3,color);
            ::SetPixel(dc, x+1,y+4,color);
            ::SetPixel(dc, x+1,y+5,color);
            ::SetPixel(dc, x+2,y+4,color);
            ::SetPixel(dc, x+2,y+5,color);
            ::SetPixel(dc, x+2,y+6,color);
            ::SetPixel(dc, x+3,y+3,color);
            ::SetPixel(dc, x+3,y+4,color);
            ::SetPixel(dc, x+3,y+5,color);
            ::SetPixel(dc, x+4,y+2,color);
            ::SetPixel(dc, x+4,y+3,color);
            ::SetPixel(dc, x+4,y+4,color);
            ::SetPixel(dc, x+5,y+1,color);
            ::SetPixel(dc, x+5,y+2,color);
            ::SetPixel(dc, x+5,y+3,color);
            ::SetPixel(dc, x+6,y,color);
            ::SetPixel(dc, x+6,y+1,color);
            ::SetPixel(dc, x+6,y+2,color);
        }
    _Winnie C++ Colorizer


    Source: http://community.livejournal.com/code_wtf/30740.html

« Как правильно... || 1C »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home