Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9916 in orxonox.OLD for trunk/src/lib/shell/shell.cc


Ignore:
Timestamp:
Nov 3, 2006, 9:29:16 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: Windows runs again without any segfaults
it seems, that windows links object files differently… and extremely strange

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/shell/shell.cc

    r9869 r9916  
    3030namespace OrxShell
    3131{
    32 
    33   SHELL_COMMAND(clear, Shell, clear)
    34   ->describe("Clears the shell from unwanted lines (empties all buffers)")
    35   ->setAlias("clear");
    36   SHELL_COMMAND(deactivate, Shell, deactivate)
    37   ->describe("Deactivates the Shell. (moves it into background)")
    38   ->setAlias("hide");
    39   SHELL_COMMAND(textsize, Shell, setTextSize)
    40   ->describe("Sets the size of the Text size, linespacing")
    41   ->defaultValues(15, 0);
    42   SHELL_COMMAND(textcolor, Shell, setTextColor)
    43   ->describe("Sets the Color of the Shells Text (red, green, blue, alpha)")
    44   ->defaultValues(SHELL_DEFAULT_TEXT_COLOR);
    45   SHELL_COMMAND(backgroundcolor, Shell, setBackgroundColor)
    46   ->describe("Sets the Color of the Shells Background (red, green, blue, alpha)")
    47   ->defaultValues(SHELL_DEFAULT_BACKGROUND_COLOR);
    48   SHELL_COMMAND(backgroundimage, Shell, setBackgroundImage)
    49   ->describe("sets the background image to load for the Shell")
    50   ->completionPlugin(0, OrxShell::CompletorFileSystem());
    51   SHELL_COMMAND(font, Shell, setFont)
    52   ->describe("Sets the font of the Shell")
    53   ->defaultValues(SHELL_DEFAULT_FONT)
    54   ->completionPlugin(0, OrxShell::CompletorFileSystem(".ttf", "fonts/"));
    55 
    5632  ObjectListDefinition(Shell);
    5733
     
    557533    this->shellBuffer->debug();
    558534  }
    559 
    560   /**
    561    * @brief a Handy Function, to Test the behaviour of the Shell.
    562    */
    563   void Shell::testShell() const
    564   {
    565     for (unsigned int i = 0; i < 100; i++)
    566       PRINT(0)("%d\n", i);
    567   }
    568   SHELL_COMMAND(test, Shell, testShell);
    569 
    570535}
Note: See TracChangeset for help on using the changeset viewer.