STORM-1095 Chat preferences > font size should increase size of input text in the chat box
Review Request #244 - Created March 30, 2011 and submitted
Jonathan Yap | Reviewers | ||
2.6.2 | viewer | ||
STORM-1095 | |||
None | viewer-development |
Chat preferences > font size should increase size of input text in the chat box
Change font size in preferences and see 1) Font size in chat input box changes to new size immediately 2) Font size is set to selected size when viewer is restarted
Review request changed
Updated (March 30, 2011, 5:43 a.m.)
-
- added Diff r2
Cleanup of where a few .h files were included.
Posted (March 30, 2011, 3:16 p.m.)
-
indra/llui/lllineeditor.h (Diff revision 2) -
Any reason why ...
-
indra/llui/lllineeditor.cpp (Diff revision 2) -
... this simple setter isn't implemented right at the declaration (i.e. in indra/llui/lllineeditor.h)?
-
indra/newview/llbottomtray.cpp (Diff revision 2) -
If font isn't used later, this could be written as mNearbyChatBar->getChatBox()->setFont(LLViewerChat::getChatFont()); (Not sure which variant is more readable.)
-
indra/newview/llnearbychatbar.cpp (Diff revision 2) -
Put some punctuation between "font" and "whohoo" :-P
-
indra/newview/llviewerchat.cpp (Diff revision 2) -
Whatever the reason for that comment is, I guess the idea is that you put new members below it, not above. Also, should this be initialized to null here ...
-
indra/newview/llviewerchat.cpp (Diff revision 2) -
... so that it actually will be null here the first time?
Posted (April 3, 2011, 8:46 p.m.)
Boroondas comments should be addressed, especially the one here under...
-
indra/newview/llviewerchat.cpp (Diff revision 2) -
Should be initialized to NULL.
Posted (April 5, 2011, 12:35 p.m.)
-
indra/newview/llnearbychatbar.h (Diff revision 2) -
Avoid redundant changes.
-
indra/newview/llnearbychatbar.h (Diff revision 2) -
Remove the class prefix: it may cause compilation problems on Linux.
-
indra/newview/llnearbychatbar.cpp (Diff revision 2) -
CS: "if ("
-
indra/newview/llviewerchat.h (Diff revision 2) -
* Readability: please separate type definitions from methods. * CS: Inconsistent naming. Should be something like font_change_signal_t.
-
indra/newview/llviewerchat.h (Diff revision 2) -
* Memory leak? Seems to be never deleted. * Why pointer? * Move to private section. * CS: rename to sFontChangedSignal.
Review request changed
Updated (April 13, 2011, 6:40 a.m.)
-
- added Diff r3
Looks good. Some minor stuff still:
-
indra/newview/llviewerchat.h (Diff revisions 2 - 3) -
Why repeat the 'public:' ?
-
indra/newview/llviewerchat.h (Diff revisions 2 - 3) -
Indented with 4 spaces instead of 1 tab like the other lines.
-
doc/contributions.txt (Diff revision 3) -
-
doc/contributions.txt (Diff revision 3) -
I guess the STORM-1077 and STORM-1019 entries were added in error? Or why are you replacing them, rather than just adding STORM-1095?
Posted (April 13, 2011, 10:24 a.m.)
Thanks, Jonathan. No major issues this time. I've got a few comments though, in addition to what Boroondas said:
-
indra/newview/llbottomtray.cpp (Diff revision 3) -
Any reason not to move this to LLNearbyChatBar::postBuild() ?
-
indra/newview/llnearbychatbar.h (Diff revision 3) -
again the redundant change
-
indra/newview/llnearbychatbar.cpp (Diff revision 3) -
RB seems to be set up to ignore whitespace changes and thus doesn't show this... but you've removed the leading tab here. Please avoid irrelevant changes.
-
indra/newview/llviewerchat.h (Diff revision 3) -
Replace the redundant "public:" marker with an empty line.
-
indra/newview/llviewerchat.h (Diff revision 3) -
CS: remove spaces near parenthesis.
-
indra/newview/llviewerchat.cpp (Diff revision 3) -
CS: extra spaces near parenthesis
Review request changed
Updated (April 13, 2011, 12:32 p.m.)
-
- added Diff r4
Apply some formatting changes suggested in the RB comments.
-
doc/contributions.txt (Diff revision 4) -
fix this before committing
-
doc/contributions.txt (Diff revision 4) -
ditto
-
indra/newview/llviewerchat.cpp (Diff revision 4) -
ditto
Other reviews