diff options
| author | Xanadu <none@none> | 2010-07-20 02:49:28 +0200 |
|---|---|---|
| committer | Xanadu <none@none> | 2010-07-20 02:49:28 +0200 |
| commit | 79622802f397258ee0f34327ba3ae6977ca3e7ff (patch) | |
| tree | 1868946c234ab9ee256a6b7766a15713eae94235 /dep/include/g3dlite/G3D/prompt.h | |
| parent | 7dd2dc91816ab8b3bc3b99a1b1c99c7ea314d5a8 (diff) | |
| parent | f906976837502fa5aa81b982b901d1509f5aa0c4 (diff) | |
Merge. Revision history for source files should be all back now.
--HG--
branch : trunk
rename : sql/CMakeLists.txt => sql/tools/CMakeLists.txt
rename : src/server/game/Pools/PoolHandler.cpp => src/server/game/Pools/PoolMgr.cpp
rename : src/server/game/Pools/PoolHandler.h => src/server/game/Pools/PoolMgr.h
rename : src/server/game/PrecompiledHeaders/NixCorePCH.cpp => src/server/game/PrecompiledHeaders/gamePCH.cpp
rename : src/server/game/PrecompiledHeaders/NixCorePCH.h => src/server/game/PrecompiledHeaders/gamePCH.h
Diffstat (limited to 'dep/include/g3dlite/G3D/prompt.h')
| -rw-r--r-- | dep/include/g3dlite/G3D/prompt.h | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/dep/include/g3dlite/G3D/prompt.h b/dep/include/g3dlite/G3D/prompt.h deleted file mode 100644 index c6df628099e..00000000000 --- a/dep/include/g3dlite/G3D/prompt.h +++ /dev/null @@ -1,67 +0,0 @@ -/** - @file prompt.h - - @maintainer Morgan McGuire, http://graphics.cs.williams.edu - @cite Windows GUI code by Max McGuire - - @created 2001-08-26 - @edited 2006-08-13 - */ - -#ifndef G3D_PROMPT_H -#define G3D_PROMPT_H - -#include "platform.h" -#include <string> - -namespace G3D { - -/** - Prints a prompt to stdout and waits for user input. The return value is - the number of the user's choice (the first is 0, if there are no - choices, returns 0). - - @param useGui Under Win32, use a GUI, not stdout prompt. - @param windowTitle The title for the prompt window - @param promptx The text string to prompt the user with - @param choice An array of strings that are the choices the user may make - @param numChoices The length of choice. - - @cite Windows dialog interface by Max McGuire, mmcguire@ironlore.com - @cite Font setting code by Kurt Miller, kurt@flipcode.com - */ -int prompt( - const char* windowTitle, - const char* promptx, - const char** choice, - int numChoices, - bool useGui); - -/** - Prints a prompt and waits for user input. The return value is - the number of the user's choice (the first is 0, if there are no - choices, returns 0). - <P>Uses GUI under Win32, stdout prompt otherwise. - */ -inline int prompt( - const char* windowTitle, - const char* promptx, - const char** choice, - int numChoices) { - - return prompt(windowTitle, promptx, choice, numChoices, true); -} - - -/** - Displays a GUI prompt with "Ok" as the only choice. - */ -void msgBox( - const std::string& message, - const std::string& title = "Message"); - - -}; // namespace - -#endif - |
