Changeset 8500:2fc4ed05878f in orange


Ignore:
Timestamp:
07/28/11 09:15:32 (3 years ago)
Author:
miha <miha.stajdohar@…>
Branch:
default
Convert:
891a7e8353c689997a684df7e2d27a0ce9d71f24
Message:

Added use_animations member.

Location:
source/orangeplot
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • source/orangeplot/networkcurve.cpp

    r8498 r8500  
    329329        updateCheckpoint += 1; 
    330330    } 
     331    qDebug() << "updateCheckpoint " << updateCheckpoint; 
    331332    double k2 = area / m_nodes.size(); 
    332333    double k = sqrt(k2); 
     
    630631} 
    631632 
     633void NetworkCurve::set_use_animations(bool use_animations) 
     634{ 
     635    m_use_animations = use_animations; 
     636} 
     637 
     638bool NetworkCurve::use_animations() const 
     639{ 
     640    return m_use_animations; 
     641} 
     642 
    632643void NetworkCurve::stop_optimization() 
    633644{ 
  • source/orangeplot/networkcurve.h

    r8498 r8500  
    157157    double max_node_size() const; 
    158158 
     159    void set_use_animations(bool use_animations); 
     160    bool use_animations() const; 
     161 
    159162    void stop_optimization(); 
    160163 
     
    165168    double m_min_node_size; 
    166169    double m_max_node_size; 
     170    bool m_use_animations; 
    167171    bool m_stop_optimization; 
    168172}; 
  • source/orangeplot/networkcurve.sip

    r8498 r8500  
    104104    double max_node_size() const; 
    105105     
     106    void set_use_animations(bool use_animations); 
     107    bool use_animations() const; 
     108     
    106109    void stop_optimization(); 
    107110}; 
Note: See TracChangeset for help on using the changeset viewer.