1. C++ / Говнокод #16746

    +60

    1. 1
    2. 2
    3. 3
    4. 4
    5. 5
    6. 6
    7. 7
    8. 8
    Объявление:
    bool getBorderThickness() const		{return isThinBorder;}
    
    Использование:
    size += !getBorderThickness();// + 2; 
    
    visibleAreaBegin.x = getLTPoint().x + xLeftShift + !getBorderThickness();
    visibleAreaWidth = getRBPoint().x - getLTPoint().x - xRightShift - xLeftShift - 2*!getBorderThickness();

    Умножать на буль - айм ловинг щит!

    Запостил: codesuxxx, 22 Сентября 2014

    Комментарии (2) RSS

    Добавить комментарий