GUI: Fix some comments
This commit is contained in:
parent
d0f721b728
commit
b25fa194b3
2 changed files with 3 additions and 3 deletions
|
@ -31,7 +31,7 @@ class ScrollBarWidget;
|
||||||
/*
|
/*
|
||||||
FIXME #1: The console dialog code has some fundamental problems.
|
FIXME #1: The console dialog code has some fundamental problems.
|
||||||
First of, note the conflict between the (constant) value kCharsPerLine, and the
|
First of, note the conflict between the (constant) value kCharsPerLine, and the
|
||||||
(variable) value _pageWidth. Look a bit at the code get familiar with them,
|
(variable) value _pageWidth. Look a bit at the code to get familiar with them,
|
||||||
then return...
|
then return...
|
||||||
Now, why don't we just drop kCharsPerLine? Because of the problem of resizing!
|
Now, why don't we just drop kCharsPerLine? Because of the problem of resizing!
|
||||||
When the user changes the scaler, the console will get resized. If the dialog
|
When the user changes the scaler, the console will get resized. If the dialog
|
||||||
|
@ -47,7 +47,7 @@ class ScrollBarWidget;
|
||||||
of making things like scrolling, drawing etc. more complicated.
|
of making things like scrolling, drawing etc. more complicated.
|
||||||
|
|
||||||
Either way, the current situation is bad, and we should resolve it one way
|
Either way, the current situation is bad, and we should resolve it one way
|
||||||
or the other (and if you can think of a thirds, feel free to suggest it).
|
or the other (and if you can think of a third, feel free to suggest it).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -69,7 +69,7 @@ protected:
|
||||||
typedef Common::Functor2<int, const char **, bool> Debuglet;
|
typedef Common::Functor2<int, const char **, bool> Debuglet;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Convenience macro that makes it either to register a method
|
* Convenience macro that makes it easier to register a method
|
||||||
* of a debugger subclass as a command.
|
* of a debugger subclass as a command.
|
||||||
* Usage example:
|
* Usage example:
|
||||||
* DCmd_Register("COMMAND", WRAP_METHOD(MyDebugger, MyCmd));
|
* DCmd_Register("COMMAND", WRAP_METHOD(MyDebugger, MyCmd));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue