mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:37:35 +00:00
Add a CheckBox widget.
This commit is contained in:
parent
c7463aad11
commit
16576112b0
13 changed files with 177 additions and 36 deletions
|
@ -16,7 +16,7 @@ TerminalWidget::TerminalWidget(Widget* parent)
|
|||
|
||||
auto& font = Font::defaultFont();
|
||||
|
||||
setRect({ 0, 0, (columns() * font.glyphWidth()) + 4, (rows() * font.glyphHeight()) + 4 });
|
||||
setWindowRelativeRect({ 0, 0, (columns() * font.glyphWidth()) + 4, (rows() * font.glyphHeight()) + 4 });
|
||||
|
||||
printf("rekt: %d x %d\n", width(), height());
|
||||
m_screen = new CharacterWithAttributes[rows() * columns()];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue