Classes | |
| class | Comparable |
| Instances of a sub class of this interface may be compared (less, greater). More... | |
| class | SimpleVector |
| Simple (simpler than container::untyped::Vector and container::typed::Vector) template based vector. More... | |
| class | StringBuffer |
| A class for fast concatenation of a large number of strings. More... | |
| class | BitSet |
| A bit set, which automatically reallocates when needed. More... | |
| class | ZoneAllocator |
| A simple allocator optimized to handle many small chunks of memory. The chunks can not be free'd individually. Instead the whole zone must be free'd with zoneFree(). More... | |
Functions | |
| void | init (int argc, char *argv[]) |
| template<class T > | |
| T | min (T a, T b) |
| template<class T > | |
| T | max (T a, T b) |
| template<class T > | |
| T | min (T a, T b, T c) |
| template<class T > | |
| T | max (T a, T b, T c) |
| void | assertNotReached () |
| int | roundInt (double d) |
Variables | |
| const char * | prgName = PRGNAME |
| void lout::misc::assertNotReached | ( | ) | [inline] |
References prgName.
Referenced by lout::object::Object::clone(), dw::core::TextIterator::compareTo(), dw::core::ui::Resource::ActivateEmitter::emitToReceiver(), dw::core::Layout::LinkEmitter::emitToReceiver(), dw::core::Layout::Emitter::emitToReceiver(), lout::object::Object::equals(), dw::core::SelectionState::handleEvent(), dw::core::Layout::processMouseEvent(), dw::core::Widget::removeChild(), dw::core::DeepIterator::searchSideward(), and dw::core::style::Color::shadeColor().
| void lout::misc::init | ( | int | argc, | |
| char * | argv[] | |||
| ) |
References prgName.
| T lout::misc::max | ( | T | a, | |
| T | b, | |||
| T | c | |||
| ) | [inline] |
References max().
| T lout::misc::max | ( | T | a, | |
| T | b | |||
| ) | [inline] |
Referenced by dw::Textblock::addLine(), dw::Textblock::addParbreak(), dw::core::Polygon::addPoint(), dw::core::Region::addRectangle(), dw::core::Layout::adjustScrollPos(), dw::core::Layout::attachView(), dw::Image::contentX(), dw::Image::contentY(), dw::fltk::FltkFont::FltkFont(), dw::Textblock::getExtremesImpl(), dw::fltk::ui::FltkListResource::getMaxItemWidth(), dw::fltk::ui::FltkOptionMenuResource::getMaxItemWidth(), dw::core::Rectangle::intersectsWith(), max(), dw::core::Layout::queueDrawExcept(), dw::Textblock::queueDrawRange(), dw::core::Iterator::scrollTo(), dw::fltk::FltkViewport::scrollTo(), dw::core::style::Color::shadeColor(), dw::Textblock::sizeRequestImpl(), dw::Bullet::sizeRequestImpl(), and dw::Textblock::wordWrap().
| T lout::misc::min | ( | T | a, | |
| T | b, | |||
| T | c | |||
| ) | [inline] |
References min().
| T lout::misc::min | ( | T | a, | |
| T | b | |||
| ) | [inline] |
Referenced by dw::core::Polygon::addPoint(), dw::core::Region::addRectangle(), dw::core::Layout::adjustScrollPos(), dw::Table::apportion_percentages2(), dw::Image::contentX(), dw::Image::contentY(), dw::core::SelectionState::correctCharPos(), dw::Bullet::draw(), dw::Textblock::drawText(), dw::Table::forceCalcCellSizes(), dw::Textblock::TextblockIterator::getAllocation(), dw::core::Rectangle::intersectsWith(), dw::Textblock::markChange(), min(), dw::core::Layout::queueDrawExcept(), dw::Textblock::queueDrawRange(), dw::core::Iterator::scrollTo(), dw::fltk::FltkViewport::scrollTo(), dw::Table::setColWidth(), dw::Table::setCumHeight(), and dw::Textblock::sizeAllocateImpl().
| int lout::misc::roundInt | ( | double | d | ) | [inline] |
| const char * lout::misc::prgName = PRGNAME |
Referenced by assertNotReached(), and init().
1.5.9