summaryrefslogtreecommitdiff
path: root/dw/bullet.hh
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-09-24 18:44:40 +0200
committerjcid <devnull@localhost>2008-09-24 18:44:40 +0200
commitc377e06400f138325a9a9d43d91a9272691867a1 (patch)
tree49f3ca1c46af11a058a68714899d4137ec717618 /dw/bullet.hh
parent642f9b3e747859a7256ea12fab9f9ed50aa9253a (diff)
- Moved the dw2 tree into dillo2's tree.
Diffstat (limited to 'dw/bullet.hh')
-rw-r--r--dw/bullet.hh27
1 files changed, 27 insertions, 0 deletions
diff --git a/dw/bullet.hh b/dw/bullet.hh
new file mode 100644
index 00000000..00912bd8
--- /dev/null
+++ b/dw/bullet.hh
@@ -0,0 +1,27 @@
+#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__