Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3281 in orxonox.OLD


Ignore:
Timestamp:
Dec 25, 2004, 4:28:05 PM (19 years ago)
Author:
dave
Message:

orxonox/branches/updater: works without CURL too. gives some nice info about you not having CURL

Location:
orxonox/branches/updater
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/updater/src/gui/orxonox_gui_gtk.h

    r3275 r3281  
    9999{
    100100 private:
    101   int borderwidth;
    102   int policy;
     101  int borderwidth;          //!< The width of The Container Boarder.
     102  int policy;               //!< The Update Policy of a Container.
    103103 
    104104 public:
     
    277277  GtkWidget* item;     //!< One Item From a Menu.
    278278#endif /* HAVE_GTK2 */
    279   va_list itemlist;    //!> The list to readin multiple Options.
     279  va_list itemlist;    //!< The list to readin multiple Options.
    280280 
    281281 public:
     
    332332
    333333 private:
    334   double totalSize;
    335   double progress;
     334  double totalSize;         //!< The total Size of a download Bar
     335  double progress;          //!< The progress of a Bar.
    336336#ifdef HAVE_GTK2
    337337  GtkAdjustment* adjustment;
  • orxonox/branches/updater/src/gui/orxonox_gui_update.cc

    r3275 r3281  
    4141  this->updateFrame->setGroupName ("update");
    4242  this->updateBox = new Box ('v');
     43#ifdef HAVE_CURL
    4344
    4445  // the Button for autoUpdating
     
    5455  this->updateBox->fill(this->updateDataWindowGetButton());
    5556
     57#else /* HAVE_CURL */
     58  Label* noCurlLabel = new Label("since you do not have cURL,\nthis option is not availible");
     59  this->updateBox->fill(noCurlLabel); 
     60#endif /* HAVE_CURL */
    5661  this->updateFrame->fill(this->updateBox);
     62
    5763}
    5864
     
    6672}
    6773
     74#ifdef HAVE_CURL
    6875/**
    6976   \brief Creates a window, and all it contains for the Data-update.
     
    183190#endif /* HAVE_GTK2 */
    184191
    185 #ifdef HAVE_CURL
    186192/**
    187193   \brief The Function Curl calls to write out the File.
     
    230236
    231237/**
    232    \brief THe Curl handle for only one CURL
     238   \brief The Curl handle for only one CURL (static).
    233239*/
    234240CURL* OrxonoxGuiUpdate::curlHandle = NULL;
Note: See TracChangeset for help on using the changeset viewer.