aboutsummaryrefslogtreecommitdiff
path: root/dw/bullet.hh
blob: 004187cdb17efa7321e4ff9d9ae12e4749f77d86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#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 getExtremesImpl (core::Extremes *extremes);
   void containerSizeChangedForChildren ();
   void draw (core::View *view, core::Rectangle *area);
   core::Iterator *iterator (core::Content::Type mask, bool atEnd);

public:
   Bullet ();
   ~Bullet ();
};

} // namespace dw

#endif // __BULLET_HH__