Ignore:
Timestamp:
Jan 24, 2013, 3:32:13 PM (11 years ago)
Author:
garnier
Message:

Ameliorations graphiques et re-identation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_console.cc

    r257 r272  
    77:WContainerWidget()
    88{
    9   setObjectName("console");
     9    setObjectName("console");
    1010}
    1111
     
    1717
    1818void GWt_console::addConsoleMessage(WString msg) {
    19 
    20   WText *w = new WText(this);
    21   w->setTextFormat(PlainText);
    22   w->setText(msg);
    23   w->setInline(false);
    24 
     19   
     20    WText *w = new WText(this);
     21    w->setTextFormat(PlainText);
     22    w->setText(msg);
     23    w->setInline(false);
     24   
    2525    /*
    26    * Little javascript trick to make sure we scroll along with new content
    27    */
    28   wApp->doJavaScript(this->jsRef() + ".scrollTop += "
    29                     + this->jsRef() + ".scrollHeight;");
    30  
     26     * Little javascript trick to make sure we scroll along with new content
     27     */
     28    wApp->doJavaScript(this->jsRef() + ".scrollTop += "
     29                       + this->jsRef() + ".scrollHeight;");
     30   
    3131}
    3232
Note: See TracChangeset for help on using the changeset viewer.