view dw/bullet.hh @ 1733:f39cfc38ea10

rework nonCssHints API of StyleEngine * Instead of passing the nonCssHints as a CssPropertyList, set the hints separately and create the list in StyleEngine. * The CssPropertyList holding the nonCssHints is now completely managed by StyleEngine and kept on the stack. * Replace the table_cell_props mechanic in html.cc/table.cc with a new method inheritNonCssHints() in StyleEngine.
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Mon, 11 Oct 2010 21:35:53 +0200
parents b277eed3119c
children
line wrap: on
line source
#ifndef __BULLET_HH__
#define __BULLET_HH__

#include "core.hh"

namespace dw {

/**
 * \brief Displays different kind of bullets.
 *
 * Perhaps, in the future, Unicode characters are used for bullets, so this
 * widget is not used anymore.
 */
class Bullet: public core::Widget
{
protected:
   void sizeRequestImpl (core::Requisition *requisition);
   void draw (core::View *view, core::Rectangle *area);
   core::Iterator *iterator (core::Content::Type mask, bool atEnd);

public:
   Bullet ();
};

} // namespace dw

#endif // __BULLET_HH__