Skip to content

Commit

Permalink
Merge pull request #53 from Jarod42/cleanup
Browse files Browse the repository at this point in the history
Cleanup
  • Loading branch information
Jarod42 authored Aug 27, 2024
2 parents cac5cdb + 861fc9e commit 081b759
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 20 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 a451b58f3da13d686702689ccbe92c44b8362c6e
* Continue rebasing from e3b13a3923cbe3e46c231b4f2817d2f0cabb58f9
* Add a focus listener interface.
* Make focus apply synchronously.
* Graphics and input objects for DirectX.
Expand Down
4 changes: 2 additions & 2 deletions include/guisan/imageloader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@
#ifndef GCN_IMAGELOADER_HPP
#define GCN_IMAGELOADER_HPP

#include <iosfwd>

#include "guisan/platform.hpp"

#include <string>

namespace gcn
{
class Image;
Expand Down
17 changes: 0 additions & 17 deletions src/widgets/textbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ namespace gcn
addKeyListener(this);
adjustSize();
setFrameSize(1);
setText("");
}

TextBox::TextBox(const std::string& text)
Expand Down Expand Up @@ -133,22 +132,6 @@ namespace gcn

void TextBox::draw(Graphics* graphics)
{
/*
int width = getWidth() + getFrameSize() * 2 - 1;
int height = getHeight() + getFrameSize() * 2 - 1;
graphics->setColor(getBackgroundColor());
unsigned int i;
for (i = 0; i < getFrameSize(); ++i)
{
graphics->drawLine(i,i, width - i, i);
graphics->drawLine(i,i + 1, i, height - i - 1);
graphics->drawLine(width - i,i + 1, width - i, height - i);
graphics->drawLine(i,height - i, width - i - 1, height - i);
}
*/

unsigned int i;

if (mOpaque)
Expand Down

0 comments on commit 081b759

Please sign in to comment.