Show
Ignore:
Timestamp:
04/12/06 06:33:09 (3 years ago)
Author:
jordi
Message:

I've forgoten the rotate left and rotate right sensitivity. I've added the two functions to the main view's interface and gtk shell. Also added to the test suite.

Now the gtk shell can change the sensitiveness of the widgets.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests/DumbMainView.cxx

    r31 r36  
    3838    m_SensitiveGoToPage = TRUE; 
    3939    m_SensitiveGoToPreviousPage = TRUE; 
     40    m_SensitiveRotateLeft = TRUE; 
     41    m_SensitiveRotateRight = TRUE; 
    4042    m_SensitiveZoomIn = TRUE; 
    4143    m_SensitiveZoomOut = TRUE; 
     
    100102} 
    101103 
     104void  
     105DumbMainView::sensitiveRotateLeft (gboolean sensitive) 
     106{ 
     107    m_SensitiveRotateLeft = sensitive; 
     108} 
     109 
     110void  
     111DumbMainView::sensitiveRotateRight (gboolean sensitive) 
     112{ 
     113    m_SensitiveRotateRight = sensitive; 
     114} 
     115 
    102116void 
    103117DumbMainView::sensitiveZoomIn (gboolean sensitive) 
     
    248262{ 
    249263    return m_SensitiveGoToPreviousPage; 
     264} 
     265 
     266gboolean 
     267DumbMainView::isSensitiveRotateLeft () 
     268{ 
     269    return m_SensitiveRotateLeft; 
     270} 
     271 
     272gboolean 
     273DumbMainView::isSensitiveRotateRight () 
     274{ 
     275    return m_SensitiveRotateRight; 
    250276} 
    251277