summaryrefslogtreecommitdiff
path: root/dw
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-09-30 16:32:41 +0200
committerjcid <devnull@localhost>2008-09-30 16:32:41 +0200
commit0f7c6294d403e3ed80961e91f906f118e0f0adc5 (patch)
tree151cb6cc9f333a51ba15fb66ac4480bb4da0e0fa /dw
parent6deac7761c79417469c515268ba010a5f1fd60fb (diff)
- s/todo:/TODO:/g
Diffstat (limited to 'dw')
-rw-r--r--dw/fltkui.cc2
-rw-r--r--dw/image.cc2
-rw-r--r--dw/layout.cc2
-rw-r--r--dw/textblock.cc6
-rw-r--r--dw/textblock.hh2
5 files changed, 7 insertions, 7 deletions
diff --git a/dw/fltkui.cc b/dw/fltkui.cc
index 868de78a..8c3d9829 100644
--- a/dw/fltkui.cc
+++ b/dw/fltkui.cc
@@ -178,7 +178,7 @@ void FltkResource::setWidgetStyle (::fltk::Widget *widget,
if (bg) {
if (style->color) {
/*
- * todo: if/when CSS is implemented, test whether style->color
+ * TODO: if/when CSS is implemented, test whether style->color
* will consistently provide readable widgets.
*/
int32_t c = bg->colors[FltkColor::SHADING_NORMAL];
diff --git a/dw/image.cc b/dw/image.cc
index 499fc438..ce54f561 100644
--- a/dw/image.cc
+++ b/dw/image.cc
@@ -322,7 +322,7 @@ void Image::draw (core::View *view, core::Rectangle *area)
}
}
- /** todo: draw selection */
+ /** TODO: draw selection */
}
core::Iterator *Image::iterator (core::Content::Type mask, bool atEnd)
diff --git a/dw/layout.cc b/dw/layout.cc
index e2f437a3..2e29b05d 100644
--- a/dw/layout.cc
+++ b/dw/layout.cc
@@ -888,7 +888,7 @@ void Layout::viewportSizeChanged (View *view, int width, int height)
canvasHeightGreater = false;
/* if size changes, redraw this view.
- * todo: this is a resize call (redraw/resize code needs a review). */
+ * TODO: this is a resize call (redraw/resize code needs a review). */
if (viewportWidth != width || viewportHeight != height)
queueResize();
diff --git a/dw/textblock.cc b/dw/textblock.cc
index 74075d43..d80a7ad4 100644
--- a/dw/textblock.cc
+++ b/dw/textblock.cc
@@ -51,7 +51,7 @@ Textblock::Textblock (bool limitTextWidth)
* should not decrease the speed considerably.
* (Current setting is for minimal memory usage. An interesting fact
* is that high values decrease speed due to memory handling overhead!)
- * todo: Some tests would be useful.
+ * TODO: Some tests would be useful.
*/
lines = new misc::SimpleVector <Line> (1);
words = new misc::SimpleVector <Word> (1);
@@ -1015,7 +1015,7 @@ void Textblock::wordWrap(int wordIndex)
// lastLine->max_word_min);
/* Finally, justify the line. Breaks are ignored, since the HTML
- * parser sometimes assignes the wrong style to them. (todo: ) */
+ * parser sometimes assignes the wrong style to them. (TODO: ) */
if (word->content.type != core::Content::BREAK) {
switch (word->style->textAlign) {
case core::style::TEXT_ALIGN_LEFT:
@@ -1697,7 +1697,7 @@ void Textblock::addSpace (core::style::Style *style)
if (nl >= 0) {
nw = words->size () - 1;
if (nw >= 0) {
- /* todo: remove this test case */
+ /* TODO: remove this test case */
//if (page->words[nw].orig_space != 0) {
// _MSG(" a_Dw_page_add_space:: already existing space!!!\n");
//}
diff --git a/dw/textblock.hh b/dw/textblock.hh
index b47c2e55..d3198b69 100644
--- a/dw/textblock.hh
+++ b/dw/textblock.hh
@@ -161,7 +161,7 @@ protected:
struct Word
{
- /* todo: perhaps add a xLeft? */
+ /* TODO: perhaps add a xLeft? */
core::Requisition size;
/* Space after the word, only if it's not a break: */
unsigned short origSpace; /* from font, set by addSpace */