Changeset 4836 in orxonox.OLD for orxonox/trunk/src/lib/gui
- Timestamp:
- Jul 12, 2005, 12:33:16 AM (19 years ago)
- Location:
- orxonox/trunk/src/lib/gui
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/gui/gui.cc
r4746 r4836 48 48 49 49 /** 50 \briefInitializes the Gui50 * Initializes the Gui 51 51 */ 52 52 Gui::Gui(int argc, char *argv[]) … … 121 121 122 122 /** 123 \briefstarts the OrxonoxGUI123 * starts the OrxonoxGUI 124 124 */ 125 125 void Gui::startGui() … … 138 138 139 139 /** 140 \briefa bool that knows if orxonox should be started140 * a bool that knows if orxonox should be started 141 141 */ 142 142 bool Gui::startOrxonox = false; 143 143 144 144 /** 145 \briefDestructor.145 * Destructor. 146 146 */ 147 147 Gui::~Gui() -
orxonox/trunk/src/lib/gui/gui.h
r4746 r4836 3 3 \brief Creation of the Gui 4 4 5 \todo way to start gui without GTK (textmode) AND IMPROOVE6 \todo curl interface to Download cool stuff5 @todo way to start gui without GTK (textmode) AND IMPROOVE 6 @todo curl interface to Download cool stuff 7 7 8 \todo widgets save themselves9 \todo good way to step through all the Widgets10 \todo label -> protected : getlabel function8 @todo widgets save themselves 9 @todo good way to step through all the Widgets 10 @todo label -> protected : getlabel function 11 11 */ 12 12 -
orxonox/trunk/src/lib/gui/gui_audio.cc
r4746 r4836 29 29 30 30 /** 31 \briefCreates an Audio-Frame31 * Creates an Audio-Frame 32 32 */ 33 33 GuiAudio::GuiAudio() … … 72 72 73 73 /** 74 \briefDestructs the Audio-Stuff74 * Destructs the Audio-Stuff 75 75 */ 76 76 GuiAudio::~GuiAudio() -
orxonox/trunk/src/lib/gui/gui_banner.cc
r4746 r4836 32 32 33 33 /** 34 \briefCreates a new BannerEventBox and its content.34 * Creates a new BannerEventBox and its content. 35 35 */ 36 36 GuiBanner::GuiBanner() … … 75 75 logoBox->fill(logoImage); 76 76 77 //! \todo add the names of all the guys working on orxonox77 //! @todo add the names of all the guys working on orxonox 78 78 orxIsLabel = new Label(" " PACKAGE_NAME " is:\n" ORXONOX_STAFF); 79 79 logoBox->fill(orxIsLabel); … … 90 90 91 91 /** 92 \briefDestructs it.92 * Destructs it. 93 93 */ 94 94 GuiBanner::~GuiBanner() -
orxonox/trunk/src/lib/gui/gui_element.cc
r4427 r4836 24 24 25 25 /** 26 \briefstandard constructor27 \todo this constructor is not jet implemented - do it26 * standard constructor 27 @todo this constructor is not jet implemented - do it 28 28 */ 29 29 GuiElement::GuiElement () … … 34 34 35 35 /** 36 \briefstandard deconstructor36 * standard deconstructor 37 37 38 38 */ … … 43 43 44 44 /** 45 \briefEvery GuiElement should set this, or it could result in a SegFault.45 * Every GuiElement should set this, or it could result in a SegFault. 46 46 */ 47 47 void GuiElement::setMainWidget(Widget* widget) -
orxonox/trunk/src/lib/gui/gui_element.h
r4746 r4836 1 1 /*! 2 2 \file gui_element.h 3 \briefDefinition of ...3 * Definition of ... 4 4 5 5 */ … … 17 17 virtual ~GuiElement(); 18 18 19 /** \returns the main Widget of this GuiElement. */19 /** @returns the main Widget of this GuiElement. */ 20 20 Widget* getWidget() {return this->mainWidget;} 21 21 protected: -
orxonox/trunk/src/lib/gui/gui_exec.cc
r4830 r4836 39 39 40 40 /** 41 \briefCreates the Exec-Frame41 * Creates the Exec-Frame 42 42 */ 43 43 GuiExec::GuiExec() … … 56 56 { 57 57 Button* start; //!< The start Button of orxonox. 58 Menu* verboseMode; //!< A Menu for setting the verbose-Mode. \todo setting up a verbose-class.58 Menu* verboseMode; //!< A Menu for setting the verbose-Mode. @todo setting up a verbose-class. 59 59 CheckButton* alwaysShow; //!< A CheckButton, for if orxonox should start with or without gui. 60 60 Button* quit; //!< A Button to quit the Gui without starting orxonox. … … 131 131 132 132 /** 133 \briefDestructs the Execution-stuff133 * Destructs the Execution-stuff 134 134 */ 135 135 GuiExec::~GuiExec() … … 144 144 145 145 /** 146 \briefsets the Directory of the configuration files147 \param confDir the Directory for the configuration files146 * sets the Directory of the configuration files 147 * @param confDir the Directory for the configuration files 148 148 */ 149 149 void GuiExec::setConfDir(const char* confDir) … … 161 161 162 162 /** 163 \briefSets the location of the configuration File.164 \param fileName the location of the configFile163 * Sets the location of the configuration File. 164 * @param fileName the location of the configFile 165 165 166 166 The name will be parsed from ~/ to /home/[username] on unix and c:/Documents and Settings/username/Settings/ on Windows … … 176 176 177 177 /** 178 \returns The name of the Configuration-File178 * @returns The name of the Configuration-File 179 179 */ 180 180 const char* GuiExec::getConfigFile() const … … 184 184 185 185 /** 186 \briefchecks if a option should be saved.187 \return 1 if it should 0 if not/186 * checks if a option should be saved. 187 * @return 1 if it should 0 if not/ 188 188 */ 189 189 int GuiExec::shouldsave() … … 193 193 194 194 /** 195 \briefSaves the configuration-file to the Disk.\n196 \param widget from which Widget on should be saved.195 * Saves the configuration-file to the Disk.\n 196 * @param widget from which Widget on should be saved. 197 197 198 198 this Function only opens and closes the file, in between GuiExec::writeFileText(Widget* widget) will execute the real writing process. … … 207 207 208 208 /** 209 \briefActually writes into the configuration file to the disk.210 \param widget from which Widget on should be saved.211 \param depth initially "0", and grows higher, while new Groups are bundeled.209 * Actually writes into the configuration file to the disk. 210 * @param widget from which Widget on should be saved. 211 * @param depth initially "0", and grows higher, while new Groups are bundeled. 212 212 */ 213 213 void GuiExec::writeFileText(Widget* widget, int depth) … … 258 258 259 259 /** 260 \briefReads in Configuration Data.261 \param widget from which Widget on should be saved.260 * Reads in Configuration Data. 261 * @param widget from which Widget on should be saved. 262 262 */ 263 263 void GuiExec::readFromFile(Widget* widget) … … 307 307 308 308 /** 309 \briefMaps Confugurations to the Options.310 \param widget which widget downwards311 \param varInfo Information about the Variable to read309 * Maps Confugurations to the Options. 310 * @param widget which widget downwards 311 * @param varInfo Information about the Variable to read 312 312 */ 313 313 void GuiExec::readFileText(Widget* widget, void* varInfo) … … 323 323 324 324 /** 325 \briefLocates a Group.326 \param widget The Widget from where to search from327 \param groupName The GroupName for which to search.328 \param depth The Depth of the search seen from the first widget we searched from.329 \returns The Widget that holds the Group, or the NULL if the Group wasn't found.330 331 \todo do this in gui-gtk.325 * Locates a Group. 326 * @param widget The Widget from where to search from 327 * @param groupName The GroupName for which to search. 328 * @param depth The Depth of the search seen from the first widget we searched from. 329 * @returns The Widget that holds the Group, or the NULL if the Group wasn't found. 330 331 @todo do this in gui-gtk. 332 332 */ 333 333 Widget* GuiExec::locateGroup(Widget* widget, char* groupName, int depth) … … 365 365 366 366 /** 367 \briefStarts ORXONOX.(not really implemented yet, but the function is there.\n368 \param widget the widget that executed the start command369 \param data additional data367 * Starts ORXONOX.(not really implemented yet, but the function is there.\n 368 * @param widget the widget that executed the start command 369 * @param data additional data 370 370 371 371 This is a Signal and can be executed through Widget::signal_connect … … 390 390 391 391 /** 392 \briefStarts ORXONOX.(not really implemented yet, but the function is there.\n393 \param widget the widget that executed the start command394 \param data additional data392 * Starts ORXONOX.(not really implemented yet, but the function is there.\n 393 * @param widget the widget that executed the start command 394 * @param data additional data 395 395 396 396 This is a Signal and can be executed through Widget::signal_connect -
orxonox/trunk/src/lib/gui/gui_flags.cc
r4746 r4836 27 27 28 28 /** 29 \briefCreates the Flags-Frame29 * Creates the Flags-Frame 30 30 */ 31 31 GuiFlags::GuiFlags() … … 46 46 47 47 /** 48 \briefDestructs the Flags-stuff48 * Destructs the Flags-stuff 49 49 */ 50 50 GuiFlags::~GuiFlags() … … 54 54 55 55 /** 56 \briefSets the Flags from widget downwards.57 \param widget the Widget from which on to scan for deeper Options and their settings.56 * Sets the Flags from widget downwards. 57 * @param widget the Widget from which on to scan for deeper Options and their settings. 58 58 */ 59 59 void GuiFlags::setTextFromFlags(Widget* widget) … … 70 70 71 71 /** 72 \briefthis actually sets the flagtext, and appends it to flagText73 \param widget like GuiFlags::setTextFromFlags(widget)74 \param flagInfo Information aboout the Flag that should be updated.72 * this actually sets the flagtext, and appends it to flagText 73 * @param widget like GuiFlags::setTextFromFlags(widget) 74 * @param flagInfo Information aboout the Flag that should be updated. 75 75 */ 76 76 void GuiFlags::flagsText(Widget* widget, void* flagInfo) -
orxonox/trunk/src/lib/gui/gui_flags.h
r4746 r4836 17 17 Frame* flagsFrame; //!< The Frame that holds the flagsDisplay. 18 18 Box* flagsBox; //!< The Box that holds the flagsDisplay. 19 CheckButton* shortFlags; //!< CheckButton to change the display of short and long flags \todo show long if long not availible...19 CheckButton* shortFlags; //!< CheckButton to change the display of short and long flags @todo show long if long not availible... 20 20 Label* flagsLabel; //!< The Label of the Flags 21 21 -
orxonox/trunk/src/lib/gui/gui_gtk.cc
r4746 r4836 42 42 43 43 /** 44 \briefInitializes the Guis GTK-stuff.45 \param argc the argument count.46 \param argv The Argument strings.44 * Initializes the Guis GTK-stuff. 45 * @param argc the argument count. 46 * @param argv The Argument strings. 47 47 */ 48 48 bool initGUI(int argc, char *argv[]) … … 64 64 65 65 /** 66 \briefenters the GUI's main-loop66 * enters the GUI's main-loop 67 67 */ 68 68 bool mainloopGUI() … … 128 128 129 129 // here follows the rest.... this will be nasty. 130 //! \todo finish it.131 //! \todo memory leek at save(); and save is a BAD word, use saveString instead, or something like it.130 //! @todo finish it. 131 //! @todo memory leek at save(); and save is a BAD word, use saveString instead, or something like it. 132 132 } 133 133 #endif /* HAVE_GTK2 */ … … 144 144 //////////// 145 145 /** 146 \briefconstructs a Widget146 * constructs a Widget 147 147 */ 148 148 Widget::Widget() … … 153 153 154 154 /** 155 \briefdeletes any given Widget155 * deletes any given Widget 156 156 This is still pretty crappy. 157 157 */ … … 170 170 this->next = NULL; 171 171 172 //! \todo not hiding widget, deleting.172 //! @todo not hiding widget, deleting. 173 173 // this->hide(); 174 174 // gtk_destroy_widget(this->widget); … … 176 176 177 177 /** 178 \briefsets a new Title to a Widget179 \param title The new Title to set to the Widget178 * sets a new Title to a Widget 179 * @param title The new Title to set to the Widget 180 180 */ 181 181 void Widget::setTitle(const char* title) … … 188 188 189 189 /** 190 \briefmakes the widget visible.190 * makes the widget visible. 191 191 */ 192 192 void Widget::show() … … 198 198 199 199 /** 200 \briefhides the widget.200 * hides the widget. 201 201 */ 202 202 void Widget::hide() … … 208 208 209 209 /** 210 \briefSets the resolution of a specific widget to the given size.211 \param width the width of the widget to set.212 \param height the height of the widget to set.210 * Sets the resolution of a specific widget to the given size. 211 * @param width the width of the widget to set. 212 * @param height the height of the widget to set. 213 213 */ 214 214 void Widget::setSize(int width, int height) … … 220 220 221 221 /** 222 \briefsearches through widgets for a Name.222 * searches through widgets for a Name. 223 223 */ 224 224 Widget* Widget::findWidgetByName(char* name, unsigned int depth) … … 242 242 243 243 /** 244 \briefMoves through all the Widgets downwards from this and executes the function on them.245 \param function must be of type void and takes a Widget* as an Input.246 \param depth the current depth. if > 0 then the next Widget will also be walked through.244 * Moves through all the Widgets downwards from this and executes the function on them. 245 * @param function must be of type void and takes a Widget* as an Input. 246 * @param depth the current depth. if > 0 then the next Widget will also be walked through. 247 247 */ 248 248 void Widget::walkThrough(void(*function)(Widget*), unsigned int depth) … … 259 259 260 260 /** 261 \briefMoves through all the Widgets downwards from this and executes the function on them.262 \param function must be of type void and takes a Widget* as an Input.263 \param data Additional Data you want to pass to the function.264 \param depth the current depth. if > 0 then the next Widget will also be walked through.261 * Moves through all the Widgets downwards from this and executes the function on them. 262 * @param function must be of type void and takes a Widget* as an Input. 263 * @param data Additional Data you want to pass to the function. 264 * @param depth the current depth. if > 0 then the next Widget will also be walked through. 265 265 */ 266 266 void Widget::walkThrough(void(*function)(Widget*, void*), void* data, unsigned int depth) … … 276 276 277 277 /** 278 \briefThis is for listing the options of "widget"279 \param widget specifies the widget that should be listed278 * This is for listing the options of "widget" 279 * @param widget specifies the widget that should be listed 280 280 */ 281 281 void Widget::listOptionsAndGroups(Widget* widget) … … 290 290 291 291 /** 292 \briefThis is for listing the options of "widget"293 \param widget specifies the widget that should be listed292 * This is for listing the options of "widget" 293 * @param widget specifies the widget that should be listed 294 294 */ 295 295 void Widget::listOptions(Widget* widget) … … 300 300 301 301 /** 302 \briefThis is for listing the options of "widget"303 \param widget specifies the widget that should be listed304 \param data A Counter, that always knows how many Options have been found yet.302 * This is for listing the options of "widget" 303 * @param widget specifies the widget that should be listed 304 * @param data A Counter, that always knows how many Options have been found yet. 305 305 */ 306 306 void Widget::listOptions(Widget* widget, void* data) … … 318 318 319 319 /** 320 \briefThis is for listing the options of "widget"321 \param widget specifies the widget that should be listed322 \param data A Counter, that always knows how many Options have been found yet.320 * This is for listing the options of "widget" 321 * @param widget specifies the widget that should be listed 322 * @param data A Counter, that always knows how many Options have been found yet. 323 323 */ 324 324 void Widget::printHelp(Widget* widget) … … 358 358 359 359 /** 360 \briefFinds an Option by a given number(the n'th option found away from this Widget)361 \param number The Count of options to wait(by reference)362 \param depth The depth of the sarch. if 0 it will not search next pointer360 * Finds an Option by a given number(the n'th option found away from this Widget) 361 * @param number The Count of options to wait(by reference) 362 * @param depth The depth of the sarch. if 0 it will not search next pointer 363 363 364 \todo should return Option* would be much sexier.364 @todo should return Option* would be much sexier. 365 365 */ 366 366 Widget* Widget::findOptionByNumber(int* number, unsigned int depth) … … 387 387 388 388 /** 389 \briefThis is for listing the groups of "widget"390 \param widget specifies the widget that should be listed389 * This is for listing the groups of "widget" 390 * @param widget specifies the widget that should be listed 391 391 */ 392 392 void Widget::listGroups(Widget* widget) … … 397 397 398 398 /** 399 \briefThis is for listing the Groups of "widget". It also displays the n'th number found.400 \param widget specifies the widget that should be listed401 \param data the Counter, that will show the number(this function will raise it by one if a Group is fount.399 * This is for listing the Groups of "widget". It also displays the n'th number found. 400 * @param widget specifies the widget that should be listed 401 * @param data the Counter, that will show the number(this function will raise it by one if a Group is fount. 402 402 */ 403 403 void Widget::listGroups(Widget* widget, void* data) … … 409 409 410 410 /** 411 \briefFinds a Group by a given number(the n'th Group found away from this Widget)412 \param number The Count of options to wait(by reference)413 \param depth The depth of the sarch. if 0 it will not search next pointer411 * Finds a Group by a given number(the n'th Group found away from this Widget) 412 * @param number The Count of options to wait(by reference) 413 * @param depth The depth of the sarch. if 0 it will not search next pointer 414 414 */ 415 415 Widget* Widget::findGroupByNumber(int* number, unsigned int depth) … … 436 436 437 437 /** 438 \briefThis is for setting the option of "widget"439 \param widget specifies the widget that should be set.438 * This is for setting the option of "widget" 439 * @param widget specifies the widget that should be set. 440 440 */ 441 441 void Widget::setOptions(Widget* widget) … … 446 446 447 447 /** 448 \briefredraws all the Widgets down from widget449 \param widget The topmost Widget450 \param data ...448 * redraws all the Widgets down from widget 449 * @param widget The topmost Widget 450 * @param data ... 451 451 */ 452 452 void Widget::redrawOptions(Widget* widget) … … 457 457 458 458 /** 459 \briefWalks through all the Flags given at startuptime.459 * Walks through all the Flags given at startuptime. 460 460 */ 461 461 void Widget::flagCheck(Widget* widget, void* flagName) … … 510 510 #ifdef HAVE_GTK2 511 511 /** 512 \briefConnect any signal to any given Sub-widget512 * Connect any signal to any given Sub-widget 513 513 */ 514 514 gulong Widget::connectSignal(char* event, gint(*signal)(GtkWidget*, GdkEvent*, void *)) … … 518 518 519 519 /** 520 \briefConnect a signal with additionally passing the whole Object520 * Connect a signal with additionally passing the whole Object 521 521 */ 522 522 gulong Widget::connectSignal(char* event, gint(*signal)( GtkWidget*, Widget *)) … … 526 526 527 527 /** 528 \briefConnect a signal with additionally passing a whole external Object528 * Connect a signal with additionally passing a whole external Object 529 529 */ 530 530 gulong Widget::connectSignal(char* event, void* extObj, gint(*signal)(GtkWidget*, GdkEvent*, void *)) … … 534 534 535 535 /** 536 \briefConnect a signal with additionally passing a whole external Object536 * Connect a signal with additionally passing a whole external Object 537 537 */ 538 538 gulong Widget::connectSignal(char* event, void* extObj, gint(*signal)(GtkWidget*, void *)) … … 542 542 543 543 /** 544 \briefConnect a signal with additionally passing a whole external Object544 * Connect a signal with additionally passing a whole external Object 545 545 */ 546 546 gulong Widget::connectSignal(char* event, void* extObj, gint(*signal)(GtkWidget*, GdkEventKey*, void *)) … … 555 555 556 556 /** 557 \briefSignal that does absolutely nothing558 \param widget The widget that initiated the Signal559 \param event The event-type.560 \param nothing nothin.557 * Signal that does absolutely nothing 558 * @param widget The widget that initiated the Signal 559 * @param event The event-type. 560 * @param nothing nothin. 561 561 */ 562 562 gint Widget::doNothingSignal(GtkWidget *widget, GdkEvent* event, void* nothing) … … 569 569 ///////////// 570 570 /** 571 \briefConstructs a Packer571 * Constructs a Packer 572 572 */ 573 573 Packer::Packer() … … 578 578 579 579 /** 580 \briefDestroys a Packer.580 * Destroys a Packer. 581 581 */ 582 582 Packer::~Packer() … … 592 592 593 593 /** 594 \briefSets the group name under which all the lower widgets of this will be saved.595 \param name The name of the group.594 * Sets the group name under which all the lower widgets of this will be saved. 595 * @param name The name of the group. 596 596 */ 597 597 void Packer::setGroupName(const char* name) … … 607 607 //////////////// 608 608 /** 609 \briefInitializes a Container.609 * Initializes a Container. 610 610 611 611 sets the Container-Specific defaults. … … 617 617 618 618 /** 619 \briefDestroys a Container.619 * Destroys a Container. 620 620 */ 621 621 Container::~Container() … … 625 625 626 626 /** 627 \briefFills a Container with lowerWidget.628 \param lowerWidget the Widget that should be filled into the Container.627 * Fills a Container with lowerWidget. 628 * @param lowerWidget the Widget that should be filled into the Container. 629 629 630 630 It does this by filling up the down pointer only if down points to NULL. … … 645 645 646 646 /** 647 \param borderwidth sets the Width of the border647 * @param borderwidth sets the Width of the border 648 648 */ 649 649 void Container::setBorderWidth(int borderwidth) … … 661 661 662 662 /** 663 \briefThe main Window of Th Gui663 * The main Window of Th Gui 664 664 */ 665 665 Window* Window::mainWindow = NULL; 666 666 667 667 /** 668 \briefCreating a Window with a name669 \param windowName the name the window should get.668 * Creating a Window with a name 669 * @param windowName the name the window should get. 670 670 */ 671 671 Window::Window(const char* windowName) … … 692 692 693 693 /** 694 \briefDestructs a Window.694 * Destructs a Window. 695 695 */ 696 696 Window::~Window() … … 700 700 701 701 /** 702 \briefAdds a new Window Windows to the List of Windows.703 \param windowToAdd The Windows that should be added to the List704 \todo this instead of windowToAdd(possibly)702 * Adds a new Window Windows to the List of Windows. 703 * @param windowToAdd The Windows that should be added to the List 704 @todo this instead of windowToAdd(possibly) 705 705 */ 706 706 void Window::addWindow(Window* windowToAdd) … … 723 723 724 724 /** 725 \briefShows all Widgets that are included within this->widget.725 * Shows all Widgets that are included within this->widget. 726 726 */ 727 727 void Window::showall() … … 736 736 737 737 /** 738 \briefSet The Window-title to title739 \param title title the Window should get.738 * Set The Window-title to title 739 * @param title title the Window should get. 740 740 */ 741 741 void Window::setTitle(const char* title) … … 751 751 752 752 /** 753 \briefopens up a Window and fixes the Focus to it753 * opens up a Window and fixes the Focus to it 754 754 */ 755 755 void Window::open() … … 766 766 767 767 /** 768 \briefcloses up a Window and removes the Focus from it768 * closes up a Window and removes the Focus from it 769 769 */ 770 770 void Window::close() … … 781 781 782 782 /** 783 \briefopens up a window(not topmost Window).783 * opens up a window(not topmost Window). 784 784 this is the Signal that does it. !!SIGNALS ARE STATIC!! 785 \param widget the widget that did it.786 \param event the event that did it.787 \param window the Window that should be opened785 * @param widget the widget that did it. 786 * @param event the event that did it. 787 * @param window the Window that should be opened 788 788 */ 789 789 #ifdef HAVE_GTK2 … … 797 797 798 798 /** 799 \briefcloses a window(not topmost Window).799 * closes a window(not topmost Window). 800 800 this is the Signal that does it. !!SIGNALS ARE STATIC!! 801 \param widget the widget that did it!802 \param event the event that did it!803 \param window the Window that should be closed801 * @param widget the widget that did it! 802 * @param event the event that did it! 803 * @param window the Window that should be closed 804 804 */ 805 805 #ifdef HAVE_GTK2 … … 816 816 /////////// 817 817 /** 818 \briefCreates a new Frame with name title818 * Creates a new Frame with name title 819 819 */ 820 820 Frame::Frame(const char* frameName) … … 829 829 830 830 /** 831 \briefdestrcucts a Frame831 * destrcucts a Frame 832 832 */ 833 833 Frame::~Frame() … … 837 837 838 838 /** 839 \briefSets the Frames name to title840 \param title The title the Frame should get.839 * Sets the Frames name to title 840 * @param title The title the Frame should get. 841 841 */ 842 842 void Frame::setTitle(const char* title) … … 855 855 ////////////// 856 856 /** 857 \briefCreates a new EventBox with name title858 \param eventBoxName title the Eventbox should get(only data-structure-internal)857 * Creates a new EventBox with name title 858 * @param eventBoxName title the Eventbox should get(only data-structure-internal) 859 859 */ 860 860 EventBox::EventBox(const char* eventBoxName) … … 870 870 871 871 /** 872 \briefdestructs an EventBox.872 * destructs an EventBox. 873 873 */ 874 874 EventBox::~EventBox() … … 881 881 ///////// 882 882 /** 883 \briefCreates a new Box of type boxtype884 \param boxtype if 'v' the Box will be vertically, if 'h' the Box will be horizontally883 * Creates a new Box of type boxtype 884 * @param boxtype if 'v' the Box will be vertically, if 'h' the Box will be horizontally 885 885 */ 886 886 Box::Box(char boxtype) … … 897 897 898 898 /** 899 \briefdestructs a Box.899 * destructs a Box. 900 900 */ 901 901 Box::~Box() … … 905 905 906 906 /** 907 \briefFills a box with a given Widget.908 \param lowerWidget the next Widget that should be appendet to this Box907 * Fills a box with a given Widget. 908 * @param lowerWidget the next Widget that should be appendet to this Box 909 909 910 910 It does this by apending the first one to its down-pointer and all its following ones to the preceding next-pointer. The last one will receive a NULL pointer as Next … … 931 931 //////////// 932 932 /** 933 \briefInitializes a new Option.933 * Initializes a new Option. 934 934 sets all Option-Specific-Values to their defaults. 935 935 */ … … 948 948 949 949 /** 950 \briefDestroys an Option.950 * Destroys an Option. 951 951 */ 952 952 Option::~Option() … … 964 964 965 965 /** 966 \param defaultValue new defaultValue for this option966 * @param defaultValue new defaultValue for this option 967 967 */ 968 968 void Option::setDefaultValue(int defaultValue) … … 972 972 973 973 /** 974 \briefThis sets The FlagName of an Option and defines its default Values974 * This sets The FlagName of an Option and defines its default Values 975 975 !! Options will be saved if flagname is different from NULL !! 976 \param flagname the Name that will be displayed in the output977 \param defaultvalue the default Value for this Option(see definition of defaultvalue976 * @param flagname the Name that will be displayed in the output 977 * @param defaultvalue the default Value for this Option(see definition of defaultvalue 978 978 */ 979 979 void Option::setFlagName(const char* flagname, int defaultvalue) … … 996 996 997 997 /** 998 \briefsee Option::setFlagName(char* flagname, int defaultvalue)999 \param flagname the Name that will be displayed in the output1000 \param defaultvalue the default Value for this Option(see definition of defaultvalue1001 \param flagnameshort a short flagname to be displayed in the output998 * see Option::setFlagName(char* flagname, int defaultvalue) 999 * @param flagname the Name that will be displayed in the output 1000 * @param defaultvalue the default Value for this Option(see definition of defaultvalue 1001 * @param flagnameshort a short flagname to be displayed in the output 1002 1002 */ 1003 1003 void Option::setFlagName(const char* flagname, const char* flagnameshort, int defaultvalue) … … 1037 1037 1038 1038 /** 1039 \briefSets the saveable-state of the option.1040 \param isSaveable the saveable-state to set.1039 * Sets the saveable-state of the option. 1040 * @param isSaveable the saveable-state to set. 1041 1041 */ 1042 1042 void Option::saveability(bool isSaveable) … … 1046 1046 1047 1047 /** 1048 \briefsaves an Option1049 \returns the String that should be saved. (this string __should__ be deleted)1048 * saves an Option 1049 * @returns the String that should be saved. (this string __should__ be deleted) 1050 1050 1051 1051 this is a default Option save … … 1059 1059 1060 1060 /** 1061 \briefloads an Option from of its loadString1062 \param loadString the string from which to load the data from1061 * loads an Option from of its loadString 1062 * @param loadString the string from which to load the data from 1063 1063 */ 1064 1064 void Option::load(char* loadString) … … 1070 1070 1071 1071 /** 1072 \returns The saveable-state.1072 * @returns The saveable-state. 1073 1073 */ 1074 1074 bool Option::isSaveable() … … 1079 1079 #ifdef HAVE_GTK2 1080 1080 /** 1081 \briefSignal OptionChange writes the Value from the Option to its Object-Database.1082 \param widget The widget(Option) that has a changed Value1083 \param option the Option-Object that should receive the change.1081 * Signal OptionChange writes the Value from the Option to its Object-Database. 1082 * @param widget The widget(Option) that has a changed Value 1083 * @param option the Option-Object that should receive the change. 1084 1084 */ 1085 1085 gint Option::OptionChange(GtkWidget *widget, Widget* option) … … 1096 1096 //////////// 1097 1097 /** 1098 \briefCreates a new Button with a buttonname1099 \param buttonName sets the Name of the Button1098 * Creates a new Button with a buttonname 1099 * @param buttonName sets the Name of the Button 1100 1100 */ 1101 1101 Button::Button(const char* buttonName) … … 1112 1112 1113 1113 /** 1114 \briefdestructs a Button.1114 * destructs a Button. 1115 1115 */ 1116 1116 Button::~Button() … … 1120 1120 1121 1121 /** 1122 \briefSets a new name to the Button1123 \param title The name the Button should get1122 * Sets a new name to the Button 1123 * @param title The name the Button should get 1124 1124 */ 1125 1125 void Button::setTitle(const char *title) … … 1135 1135 1136 1136 /** 1137 \briefredraws the Button1138 \todo not implemented yet1137 * redraws the Button 1138 @todo not implemented yet 1139 1139 */ 1140 1140 void Button::redraw() … … 1143 1143 1144 1144 /** 1145 \briefButton can not be changed, optionChange is empty)1146 1147 \todo Actions for non-GTK-mode1145 * Button can not be changed, optionChange is empty) 1146 1147 @todo Actions for non-GTK-mode 1148 1148 */ 1149 1149 void Button::changeOption() … … 1156 1156 ///////////////// 1157 1157 /** 1158 \briefCreates a new CheckButton with an ame1159 \param buttonName The name the CheckButton should display.1158 * Creates a new CheckButton with an ame 1159 * @param buttonName The name the CheckButton should display. 1160 1160 */ 1161 1161 CheckButton::CheckButton(const char* buttonName) … … 1176 1176 1177 1177 /** 1178 \briefdestructs a CheckButton.1178 * destructs a CheckButton. 1179 1179 */ 1180 1180 CheckButton::~CheckButton() … … 1187 1187 1188 1188 /** 1189 \briefSets a new Title to a CheckButton1190 \param title The new Name the CheckButton should display.1189 * Sets a new Title to a CheckButton 1190 * @param title The new Name the CheckButton should display. 1191 1191 */ 1192 1192 void CheckButton::setTitle(const char* title) … … 1202 1202 1203 1203 /** 1204 \returns the Active state of the checkButton1204 * @returns the Active state of the checkButton 1205 1205 */ 1206 1206 bool CheckButton::isActive() … … 1212 1212 1213 1213 /** 1214 \briefChanged the Option, call this Function1214 * Changed the Option, call this Function 1215 1215 */ 1216 1216 void CheckButton::changeOption() … … 1231 1231 1232 1232 /** 1233 \briefRedraws the CheckButton(if option has changed).1233 * Redraws the CheckButton(if option has changed). 1234 1234 Example: if new settings are loaded the Button must be redrawn for the GUI to display that Change 1235 1235 */ … … 1245 1245 //////////// 1246 1246 /** 1247 \briefCreates a new Slider1248 \param slidername The data-structure-name of the slider.1249 \param start The minimal Value of the slider.1250 \param end The maximal Value of the slider.1247 * Creates a new Slider 1248 * @param slidername The data-structure-name of the slider. 1249 * @param start The minimal Value of the slider. 1250 * @param end The maximal Value of the slider. 1251 1251 */ 1252 1252 Slider::Slider(const char* slidername, float start, float end) … … 1268 1268 1269 1269 /** 1270 \briefdestructs a Slider.1270 * destructs a Slider. 1271 1271 */ 1272 1272 Slider::~Slider() … … 1276 1276 1277 1277 /** 1278 \briefsets the exactness of the widget1279 \param exactness count of digits after the dot1278 * sets the exactness of the widget 1279 * @param exactness count of digits after the dot 1280 1280 */ 1281 1281 void Slider::setExactness(int exactness) … … 1288 1288 1289 1289 /** 1290 \briefSetting a new value to the Slider.1290 * Setting a new value to the Slider. 1291 1291 Maybe you also require a Slider::redraw() for this to display 1292 1292 */ … … 1297 1297 1298 1298 /** 1299 \briefRedraws the widget1299 * Redraws the widget 1300 1300 Example: see void CheckButton::redraw() 1301 1301 */ … … 1308 1308 1309 1309 /** 1310 \briefChanged the Option, call this Function1310 * Changed the Option, call this Function 1311 1311 */ 1312 1312 void Slider::changeOption() … … 1346 1346 ////////// 1347 1347 /** 1348 \briefconstructs a new Menu, without adding any items to it.1349 \param menuName the Name the Menu gets.1348 * constructs a new Menu, without adding any items to it. 1349 * @param menuName the Name the Menu gets. 1350 1350 */ 1351 1351 Menu::Menu(const char* menuName) … … 1356 1356 1357 1357 /** 1358 \briefCreates a Menu-Item-list out of multiple input.1358 * Creates a Menu-Item-list out of multiple input. 1359 1359 !! Consider, that the last input argument has to be "lastItem" for this to work!! 1360 \param menuname The Database-Name of this Menu1361 \param ... items to be added to this Menu. !! Consider, that the last input argument has to be "lastItem" for this to work!!1360 * @param menuname The Database-Name of this Menu 1361 * @param ... items to be added to this Menu. !! Consider, that the last input argument has to be "lastItem" for this to work!! 1362 1362 */ 1363 1363 Menu::Menu(char* menuname, ...) … … 1378 1378 1379 1379 /** 1380 \briefdestructs a Menu.1380 * destructs a Menu. 1381 1381 */ 1382 1382 Menu::~Menu() … … 1387 1387 { 1388 1388 delete []this->currItem->name; 1389 //! \todo destroy menu1389 //! @todo destroy menu 1390 1390 /* 1391 1391 #ifdef HAVE_GTK2 … … 1399 1399 1400 1400 /** 1401 \briefInitializes a new Menu with no items1401 * Initializes a new Menu with no items 1402 1402 */ 1403 1403 void Menu::init() … … 1415 1415 1416 1416 /** 1417 \briefsaves the Label of the Menu1418 \returns the name of the selected Menu-Item1417 * saves the Label of the Menu 1418 * @returns the name of the selected Menu-Item 1419 1419 */ 1420 1420 char* Menu::save() … … 1437 1437 1438 1438 /** 1439 \briefloads a Menu from of its loadString1440 \param loadString the string from which to load the data from1439 * loads a Menu from of its loadString 1440 * @param loadString the string from which to load the data from 1441 1441 */ 1442 1442 void Menu::load(char* loadString) … … 1462 1462 1463 1463 /** 1464 \briefappends a new Item to the Menu-List.1465 \param itemName the itemName to be appendet.1464 * appends a new Item to the Menu-List. 1465 * @param itemName the itemName to be appendet. 1466 1466 */ 1467 1467 void Menu::addItem(char* itemName) … … 1490 1490 1491 1491 /** 1492 \briefRedraws the widget1492 * Redraws the widget 1493 1493 Example: see void CheckButton::redraw() 1494 1494 */ … … 1501 1501 1502 1502 /** 1503 \briefChanged the Option, call this Function1503 * Changed the Option, call this Function 1504 1504 */ 1505 1505 void Menu::changeOption() … … 1520 1520 1521 1521 /** 1522 \briefCreates a new OptionLabel with a LabelName and a Value.1523 \param label The name of the OptionLabel.1524 \param value The Value of the OptionLabel(what will be displayed).1522 * Creates a new OptionLabel with a LabelName and a Value. 1523 * @param label The name of the OptionLabel. 1524 * @param value The Value of the OptionLabel(what will be displayed). 1525 1525 */ 1526 1526 OptionLabel::OptionLabel(const char* label, const char* value) … … 1538 1538 1539 1539 /** 1540 \briefdestructs an OptionLabel.1540 * destructs an OptionLabel. 1541 1541 */ 1542 1542 OptionLabel::~OptionLabel() … … 1548 1548 1549 1549 /** 1550 \briefUpdates the value of an OptionLabel1551 \param newValue The new Name that should be displayed.1550 * Updates the value of an OptionLabel 1551 * @param newValue The new Name that should be displayed. 1552 1552 */ 1553 1553 void OptionLabel::setValue(const char* newValue) … … 1562 1562 1563 1563 /** 1564 \briefRedraws an OptionLabel(not implemented yet, but it works).1564 * Redraws an OptionLabel(not implemented yet, but it works). 1565 1565 */ 1566 1566 void OptionLabel::redraw() … … 1572 1572 1573 1573 /** 1574 \briefChanged the Option, call this Function1574 * Changed the Option, call this Function 1575 1575 */ 1576 1576 void OptionLabel::changeOption() … … 1589 1589 1590 1590 /** 1591 \briefcreates the Optionlabel save-string1592 \returns the String to save.1591 * creates the Optionlabel save-string 1592 * @returns the String to save. 1593 1593 */ 1594 1594 char* OptionLabel::save() … … 1598 1598 1599 1599 /** 1600 \briefloads an Option from of its loadString1601 \param loadString the string from which to load the data from1600 * loads an Option from of its loadString 1601 * @param loadString the string from which to load the data from 1602 1602 */ 1603 1603 void OptionLabel::load(char* loadString) … … 1611 1611 /////////// 1612 1612 /** 1613 \briefCreates a new Label with a Text.1614 \param text The text to be displayed.1613 * Creates a new Label with a Text. 1614 * @param text The text to be displayed. 1615 1615 */ 1616 1616 Label:: Label(const char* text) … … 1628 1628 1629 1629 /** 1630 \briefdestructs a Label.1630 * destructs a Label. 1631 1631 */ 1632 1632 Label::~Label() … … 1636 1636 1637 1637 /** 1638 \briefSets a new Text to a Label.1639 \param text The text to be inserted into the Label.1638 * Sets a new Text to a Label. 1639 * @param text The text to be inserted into the Label. 1640 1640 */ 1641 1641 void Label::setTitle(const char* text) … … 1651 1651 1652 1652 /** 1653 \briefereases the Text of a Label1653 * ereases the Text of a Label 1654 1654 */ 1655 1655 void Label::ereaseText() … … 1659 1659 1660 1660 /** 1661 \briefappends some Text to a Label1662 \param textToAppend The text that will be appended to this Label1661 * appends some Text to a Label 1662 * @param textToAppend The text that will be appended to this Label 1663 1663 */ 1664 1664 void Label::appendText(char* textToAppend) … … 1681 1681 1682 1682 /** 1683 \briefAppends some integer to the Label1684 \param intToAppend The Int that will be added.1683 * Appends some integer to the Label 1684 * @param intToAppend The Int that will be added. 1685 1685 1686 1686 it does this by just converting the int into a char* and send it to appendText … … 1695 1695 1696 1696 /** 1697 \briefget the Text of a Label1698 \return The Text the Label holds.1697 * get the Text of a Label 1698 * @return The Text the Label holds. 1699 1699 */ 1700 1700 const char* Label::getText() … … 1707 1707 ////////////////// 1708 1708 /** 1709 \briefCreates a new ProgressBar.1710 \param label The name you want to get the ProgressBar.1709 * Creates a new ProgressBar. 1710 * @param label The name you want to get the ProgressBar. 1711 1711 */ 1712 1712 ProgressBar::ProgressBar(const char* label) … … 1726 1726 1727 1727 /** 1728 \briefdestructs a ProgressBar1728 * destructs a ProgressBar 1729 1729 */ 1730 1730 ProgressBar::~ProgressBar() … … 1734 1734 1735 1735 /** 1736 \briefSets the Total size of the Bar.(ex. The maximum one can download)1736 * Sets the Total size of the Bar.(ex. The maximum one can download) 1737 1737 */ 1738 1738 void ProgressBar::setTotalSize(double totalSize) … … 1742 1742 1743 1743 /** 1744 \briefSets the progress maximum is this->totalSize1744 * Sets the progress maximum is this->totalSize 1745 1745 */ 1746 1746 void ProgressBar::setProgress(double progress) … … 1760 1760 1761 1761 /** 1762 \briefreturns the Progress Status1762 * returns the Progress Status 1763 1763 */ 1764 1764 double ProgressBar::getProgress() … … 1771 1771 /////////// 1772 1772 /** 1773 \briefCreates a new Image1774 \param imageName the location of the Image on the Hard Disc1773 * Creates a new Image 1774 * @param imageName the location of the Image on the Hard Disc 1775 1775 */ 1776 1776 Image::Image(const char* imageName) … … 1784 1784 1785 1785 /** 1786 \briefCreates a new Image1787 \param imageData data to the PixBuff1786 * Creates a new Image 1787 * @param imageData data to the PixBuff 1788 1788 */ 1789 1789 Image::Image(char** imageData) … … 1798 1798 1799 1799 /** 1800 \briefdestructs an Image.1800 * destructs an Image. 1801 1801 */ 1802 1802 Image::~Image() … … 1806 1806 1807 1807 /** 1808 \briefInitializes a new Image1809 \param name the name to set to the Image1808 * Initializes a new Image 1809 * @param name the name to set to the Image 1810 1810 */ 1811 1811 void Image::init(const char* name) … … 1824 1824 ///////////////// 1825 1825 /** 1826 \briefCreates a new FileDialog1827 \param fileDialogName a Name for the Dialog1826 * Creates a new FileDialog 1827 * @param fileDialogName a Name for the Dialog 1828 1828 */ 1829 1829 FileDialog::FileDialog(const char* fileDialogName) … … 1859 1859 1860 1860 /** 1861 \briefdestructs a FileDialog1861 * destructs a FileDialog 1862 1862 */ 1863 1863 FileDialog::~FileDialog() … … 1901 1901 1902 1902 /** 1903 \briefdisables the File Operator Buttons1903 * disables the File Operator Buttons 1904 1904 */ 1905 1905 void FileDialog::disableFileOpts() … … 1911 1911 1912 1912 /** 1913 \briefThe ok-button has been pressed1913 * The ok-button has been pressed 1914 1914 */ 1915 1915 void FileDialog::okEvent() -
orxonox/trunk/src/lib/gui/gui_gtk.h
r4746 r4836 122 122 123 123 void setGroupName(const char* name); 124 /** \returns the GroupName if existent NULL otherwise */124 /** @returns the GroupName if existent NULL otherwise */ 125 125 inline const char* getGroupName() const {return this->groupName;} 126 126 … … 364 364 virtual void changeOption(); 365 365 366 char* cValue; //!< The Value the Label will have. \todo make private366 char* cValue; //!< The Value the Label will have. @todo make private 367 367 }; 368 368 -
orxonox/trunk/src/lib/gui/gui_keys.cc
r4746 r4836 29 29 30 30 /** 31 \briefCreates an Keyboard-Frame31 * Creates an Keyboard-Frame 32 32 */ 33 33 GuiKeys::GuiKeys() … … 77 77 78 78 /** 79 \briefDestructs the Keys-stuff79 * Destructs the Keys-stuff 80 80 */ 81 81 GuiKeys::~GuiKeys() … … 93 93 //////////// 94 94 /** 95 \briefCreates new inputs for a player96 \param player the name of the Player95 * Creates new inputs for a player 96 * @param player the name of the Player 97 97 */ 98 98 PlayerKeys::PlayerKeys(char* player) … … 147 147 148 148 /** 149 \returns the OpenButton of a Player149 * @returns the OpenButton of a Player 150 150 */ 151 151 Button* PlayerKeys::getOpenButton() … … 158 158 ////////////////// 159 159 /** 160 \briefCreates new inputs for a misc161 \param player the name of the Misc160 * Creates new inputs for a misc 161 * @param player the name of the Misc 162 162 */ 163 163 MiscKeys::MiscKeys() … … 212 212 213 213 /** 214 \returns the OpenButton of a Misc214 * @returns the OpenButton of a Misc 215 215 */ 216 216 Button* MiscKeys::getOpenButton() … … 221 221 222 222 /** 223 \briefadds a new Key.224 \param key the number of the Key225 \param name The name of the new Key.226 \returns A widget that has the Key-Box223 * adds a new Key. 224 * @param key the number of the Key 225 * @param name The name of the new Key. 226 * @returns A widget that has the Key-Box 227 227 */ 228 228 Widget* addKey(const char* name, const char* defaultVal) … … 256 256 257 257 /** 258 \briefFunction which gets keystrokes259 \param w the widget that released the Function.260 \param event The event that happened.261 \param Widget the Widget which will be applied.262 \returns Nothing258 * Function which gets keystrokes 259 * @param w the widget that released the Function. 260 * @param event The event that happened. 261 * @param Widget the Widget which will be applied. 262 * @returns Nothing 263 263 */ 264 264 gint key_cb(GtkWidget* w, GdkEventKey* event, void* inputKey) -
orxonox/trunk/src/lib/gui/gui_update.cc
r4774 r4836 33 33 34 34 /** 35 \briefCreates an Update-Frame35 * Creates an Update-Frame 36 36 */ 37 37 GuiUpdate::GuiUpdate() … … 98 98 99 99 /** 100 \briefDestructs the Update-stuff100 * Destructs the Update-stuff 101 101 */ 102 102 GuiUpdate::~GuiUpdate() … … 106 106 107 107 /** 108 \briefchecks if the Folder containing selected File is data.oxd, and if so sets it.109 \param108 * checks if the Folder containing selected File is data.oxd, and if so sets it. 109 * @param 110 110 */ 111 111 bool GuiUpdate::checkDataDir(const char* fileName, void* object) … … 126 126 127 127 /** 128 \briefLook what info we can get from this system128 * Look what info we can get from this system 129 129 */ 130 130 bool GuiUpdate::getSystemInfo() … … 167 167 168 168 /** 169 \briefCreates a window, and all it contains for the Data-update.169 * Creates a window, and all it contains for the Data-update. 170 170 */ 171 171 void GuiUpdate::updateDataWindowCreate() … … 206 206 207 207 /** 208 \returns A Pointer to the Button of the UpdaterDataWindow208 * @returns A Pointer to the Button of the UpdaterDataWindow 209 209 */ 210 210 Button* GuiUpdate::updateDataWindowGetButton() … … 214 214 215 215 /** 216 \briefCreates a window, and all it contains for the Source-update.216 * Creates a window, and all it contains for the Source-update. 217 217 */ 218 218 void GuiUpdate::updateSourceWindowCreate() … … 245 245 246 246 /** 247 \returns A Pointer to the Button of the UpdaterSourceWindow247 * @returns A Pointer to the Button of the UpdaterSourceWindow 248 248 */ 249 249 Button* GuiUpdate::updateSourceWindowGetButton() … … 255 255 #ifdef HAVE_GTK2 256 256 /** 257 \briefupdates the Data of orxonox.258 \param w The widget, that executed this Function.259 \param event The event that trigered this Function.260 \param button The Button, that triggered this event.257 * updates the Data of orxonox. 258 * @param w The widget, that executed this Function. 259 * @param event The event that trigered this Function. 260 * @param button The Button, that triggered this event. 261 261 */ 262 262 gint GuiUpdate::updateDataFunc(GtkWidget* w, GdkEventKey* event, void* info) … … 272 272 273 273 /** 274 \briefupdates the source of orxonox.275 \param w The widget, that executed this Function.276 \param event The event that trigered this Function.277 \param button The Button, that triggered this event.274 * updates the source of orxonox. 275 * @param w The widget, that executed this Function. 276 * @param event The event that trigered this Function. 277 * @param button The Button, that triggered this event. 278 278 */ 279 279 gint GuiUpdate::updateSourceFunc(GtkWidget* w, GdkEventKey* event, void* bar) … … 286 286 287 287 /** 288 \briefThe Function Curl calls to write out the File.289 \param ptr A Pointer to the date to write.290 \param size The size in bytes of one nmemb to write.291 \param nmemb The Count of size to write.292 \param stream Filehandler to write to.288 * The Function Curl calls to write out the File. 289 * @param ptr A Pointer to the date to write. 290 * @param size The size in bytes of one nmemb to write. 291 * @param nmemb The Count of size to write. 292 * @param stream Filehandler to write to. 293 293 */ 294 294 size_t GuiUpdate::curlWriteFunc(void* ptr, size_t size, size_t nmemb, FILE* stream) … … 298 298 299 299 /** 300 \briefThe Function Curl calls to write out the File.301 \param ptr A Pointer to the date to write to.302 \param size The size in bytes of one nmemb to write.303 \param nmemb The Count of size to write.304 \param stream Filehandler to get data from.300 * The Function Curl calls to write out the File. 301 * @param ptr A Pointer to the date to write to. 302 * @param size The size in bytes of one nmemb to write. 303 * @param nmemb The Count of size to write. 304 * @param stream Filehandler to get data from. 305 305 */ 306 306 size_t GuiUpdate::curlReadFunc(void* ptr, size_t size, size_t nmemb, FILE* stream) … … 311 311 312 312 /** 313 \briefAn update Function for the GUI, to show the progress.314 \param Bar th ProgressBar to update315 \param totalSize The total size of the download in bytes.316 \param progress The current Progress of the download in bytes.317 \param upTotal not needed318 \param upProgress not needed313 * An update Function for the GUI, to show the progress. 314 * @param Bar th ProgressBar to update 315 * @param totalSize The total size of the download in bytes. 316 * @param progress The current Progress of the download in bytes. 317 * @param upTotal not needed 318 * @param upProgress not needed 319 319 */ 320 320 int GuiUpdate::curlProgressFunc(ProgressBar* bar, double totalSize, double progress, double upTotal, double upProgress) … … 329 329 330 330 /** 331 \briefThe Curl handle for only one CURL(static).331 * The Curl handle for only one CURL(static). 332 332 */ 333 333 CURL* GuiUpdate::curlHandle = NULL; … … 340 340 341 341 /** 342 \briefInitializes a Download without displaying it.343 \param fileInfo the FileInfo.342 * Initializes a Download without displaying it. 343 * @param fileInfo the FileInfo. 344 344 345 345 !! BE AWARE THIS WILL NOT BE THREADED. !! … … 359 359 char* fileOnNet = new char [strlen(info->webRoot)+strlen(info->fileName)+2]; 360 360 strcpy(fileOnNet, info->webRoot); 361 if(fileOnNet[strlen(fileOnNet)] != '/') //!< \todo windows-shit361 if(fileOnNet[strlen(fileOnNet)] != '/') //!< @todo windows-shit 362 362 strcat(fileOnNet, "/"); 363 363 strcat(fileOnNet, info->fileName); 364 364 char* fileOnDisk = new char [strlen(info->localRoot)+strlen(info->fileName)+2]; 365 365 strcpy(fileOnDisk, info->localRoot); 366 if(fileOnDisk[strlen(fileOnDisk)] != '/') //!< \todo windows-shit366 if(fileOnDisk[strlen(fileOnDisk)] != '/') //!< @todo windows-shit 367 367 strcat(fileOnDisk, "/"); 368 368 strcat(fileOnDisk, info->fileName); … … 387 387 388 388 /** 389 \briefInitializes a Download with some style.390 \param fileInfo the FileInfo.391 \todo release thread-lock.389 * Initializes a Download with some style. 390 * @param fileInfo the FileInfo. 391 @todo release thread-lock. 392 392 393 393 Downloading with a Button that gets a different Name while downloading, and a Bar, that gets to be updated. More to be followed … … 447 447 448 448 /** 449 \briefThe downloading process(either threaded or not).450 \param fileInfo the FileInfo.451 452 \todo Threads get locked, if the cancel button is pressed in to small intervals.449 * The downloading process(either threaded or not). 450 * @param fileInfo the FileInfo. 451 452 @todo Threads get locked, if the cancel button is pressed in to small intervals. 453 453 */ 454 454 void* GuiUpdate::downloadThread(void* fileInfo) … … 459 459 460 460 /** 461 \briefFinishes a downloading process.462 \param fileInfo the FileInfo.461 * Finishes a downloading process. 462 * @param fileInfo the FileInfo. 463 463 */ 464 464 void* GuiUpdate::downloadThreadFinished(void* fileInfo) … … 485 485 #ifdef HAVE_GTK2 486 486 /** 487 \briefcanceles a downloading session.488 \param w The widget, that executed this Function.489 \param event The event that trigered this Function.490 \param bar The Bar, that triggered this event.491 492 \todo canceling a session in non-threaded mode.487 * canceles a downloading session. 488 * @param w The widget, that executed this Function. 489 * @param event The event that trigered this Function. 490 * @param bar The Bar, that triggered this event. 491 492 @todo canceling a session in non-threaded mode. 493 493 */ 494 494 gint GuiUpdate::cancelDownload(GtkWidget* w, GdkEventKey* event, void* bar) -
orxonox/trunk/src/lib/gui/gui_update.h
r4746 r4836 51 51 Button* updateDataBegin; //!< A Button to start the process. 52 52 53 Button* updateSourceWindowButton; //!< A Button to update the Source of orxonox. \todo tricky53 Button* updateSourceWindowButton; //!< A Button to update the Source of orxonox. @todo tricky 54 54 Window* updateSourceWindow; //!< A Window for the Source-update. 55 55 Box* updateSourceBox; //!< A Box for the Window for the Source-update. -
orxonox/trunk/src/lib/gui/gui_video.cc
r4777 r4836 32 32 33 33 /** 34 \briefCreates the Video-Option-Frame34 * Creates the Video-Option-Frame 35 35 */ 36 36 GuiVideo::GuiVideo() … … 74 74 75 75 /** 76 \briefDestructs the Video-stuff76 * Destructs the Video-stuff 77 77 */ 78 78 GuiVideo::~GuiVideo() … … 82 82 83 83 /** 84 \briefCreates a window, and all it contains for the Source-update.84 * Creates a window, and all it contains for the Source-update. 85 85 */ 86 86 Widget* GuiVideo::advancedWindowCreate() … … 185 185 186 186 /** 187 \briefsets all resolutions to the menu188 \param menu the Menu to set The resolutions to.187 * sets all resolutions to the menu 188 * @param menu the Menu to set The resolutions to. 189 189 */ 190 190 void GuiVideo::getResolutions(Menu* menu)
Note: See TracChangeset
for help on using the changeset viewer.