class ui.ColorRangeTree

class ColorRangeTree {
    // properties

    size_t const property m_rangeCount;

    // construction

    construct();
    destruct();

    // methods

    void clear();

    void add(
        intptr_t offset,
        size_t length,
        uint_t color
    );

    size_t flatten(
        ui.ColorRange* ranges,
        size_t count
    );
};