Skip to content

Commit

Permalink
Apply change from guichan 162a41408eda35b9631d4bcd31056a1829b991d5 (J…
Browse files Browse the repository at this point in the history
…an 3th 2008).

- A text field's background colour is now configurable.
  • Loading branch information
Jarod42 committed Aug 4, 2024
1 parent 66c8397 commit c798373
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TODO
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* Continue rebasing from 91cee78f77fdcce05c4dab446676558adcf6a8d6
* Continue rebasing from 00d4287a5411f0f99c60b87e62fef26437e21ac6
* Add a focus listener interface.
* Make focus apply synchronously.
* Graphics and input objects for DirectX.
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/textfield.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ namespace gcn
// about the border.
graphics->pushClipArea(Rectangle(1, 1, getWidth() - 2, getHeight() - 2));

graphics->setColor(Color(0xffffff));
graphics->setColor(getBackgroundColor());
graphics->fillRectangle(Rectangle(0, 0, getWidth(), getHeight()));

if (isFocused())
Expand Down

0 comments on commit c798373

Please sign in to comment.