Ejemplo n.º 1
0
 BOOL IsPatchable()                      {
             // make sure updateable and _PatchFrom is set
             if (IsUpdateable() && (lstrcmp(_PatchFrom, "") != 0)) {
                 return TRUE;
             } else {
                 return FALSE;
             } };
Ejemplo n.º 2
0
    bool CamSettingsPage::OnTimer()
    {
        if (m_pCamera == NULL || !IsUpdateable())
        {
            return true;
        }

        // This is only so that the camera settings page doesn't hammer
        // the camera with async reads when it is not the visible page
        Gtk::Notebook* pNotebook;
        m_refXml->get_widget( "notebookCamCtl", pNotebook );
        if ( pNotebook->get_current_page() == 0 )
        {
            UpdateWidgets();	
        }        

        return true;
    }
Ejemplo n.º 3
0
bool CamInfoPage::OnTimer()
{
    if (m_pCamera == NULL || !IsUpdateable())
    {
        return true;
    }

    Gtk::Notebook* pNotebook;
    m_refXml->get_widget( "notebookCamCtl", pNotebook );
    if ( pNotebook->get_current_page() == 3 )
    {
        UpdateInitializeTime();
        UpdateBusResetTime();
        UpdatePixelClockFreq();
        UpdateHorizontalLineFreq();
        UpdateTransmitFailures();
    }

    return true;
}