view dw/bullet.hh @ 2048:5060d415a85a

clickable menu items (even those introducing submenus) MUST have callbacks I clicked on the "Panel size" item itself instead of any of the options in its submenu, and: Segfault!
author corvid <corvid@lavabit.com>
date Thu, 26 May 2011 02:51:18 +0000
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__