[opensource-dev] Review Request: STORM-1025 Chat preferences > font size should increase size of input text as well

Jonathan Yap jhwelch at gmail.com
Sat Mar 12 16:42:40 PST 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://codereview.secondlife.com/r/139/
-----------------------------------------------------------

(Updated March 12, 2011, 4:42 p.m.)


Review request for Viewer.


Changes
-------

Ignore this and the previous message--just changing the jira number from vwr to storm.  And yes, the diffs are messed up and I don't know how to fix that.


Summary (updated)
-------

This is a request for help.  I am trying to learn more about c++ and how variables in one class are accessed from another.  For someone who knows what they are doing this is probably a pretty easy question.

I have been able to set the font size on the chat input box when it is created in llbottomtray.cpp.  I would like to do the same thing when someone clicks in that box to input text; it is possible they have changed the font setting and I would like to apply the size there as well, but I am stuck on how to do this.  I think the right place to do this is in llchatbar.cpp/LLChatBar::onInputEditorGainFocus().

I have tried all kinds of wrong ways but at this point am stymied.

Exact steps on how to proceed would be appreciated.


This addresses bug storm-1025.
    http://jira.secondlife.com/browse/storm-1025


Diffs
-----

  indra/newview/llbottomtray.h 3d2e71443c58 
  indra/newview/llbottomtray.cpp 3d2e71443c58 
  indra/newview/llchatbar.h 3d2e71443c58 
  indra/newview/llchatbar.cpp 3d2e71443c58 

Diff: http://codereview.secondlife.com/r/139/diff


Testing
-------


Thanks,

Jonathan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20110313/3f195cbc/attachment.htm 


More information about the opensource-dev mailing list