aboutsummaryrefslogtreecommitdiff
path: root/dw/bullet.hh
blob: 66ca45f62d5f5ac1e6eb0c8a4ccc7f98cb57c84a (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
31
32
#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, bool posDefined, int x,
                         int y);
   void getExtremesImpl (core::Extremes *extremes);
   void containerSizeChangedForChildren ();
   void draw (core::View *view, core::Rectangle *area,
              core::DrawingContext *context);
   core::Iterator *iterator (core::Content::Type mask, bool atEnd);

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

} // namespace dw

#endif // __BULLET_HH__