summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorleo2000-06-02 21:12:21 +0000
committerleo2000-06-02 21:12:21 +0000
commit9d9c999be3f82c80715c3e9bcbc17b7076791c2e (patch)
tree6fc253f1f4d9de8e55398a77780680f4a56a0fb8
parent47984ea3a82efc07a6d751a160565ea70587af96 (diff)
System functions should be declared in common/system.h instead
git-svn-id: http://svn.leocad.org/trunk@74 c7d43263-9d01-0410-8a33-9dba5d9f93d6
-rw-r--r--linux/system.h94
1 files changed, 0 insertions, 94 deletions
diff --git a/linux/system.h b/linux/system.h
deleted file mode 100644
index 3834453..0000000
--- a/linux/system.h
+++ /dev/null
@@ -1,94 +0,0 @@
-//
-// system.h
-////////////////////////////////////////////////////
-
-#ifndef _SYSTEM_H_
-#define _SYSTEM_H_
-
-class File;
-class Camera;
-class PieceInfo;
-#include "defines.h"
-#include "typedefs.h"
-
-// Profile
-int SystemGetProfileInt(const char* section, const char* entry, const int defaultvalue);
-bool SystemSetProfileInt(const char* section, const char* entry, const int value);
-bool SystemSetProfileString(const char* section, const char* entry, const char* value);
-const char* SystemGetProfileString(const char* section, const char* entry, const char* defaultvalue);
-
-// User Interface
-void SystemUpdateViewport(int nNew, int nOld);
-void SystemUpdateAction(int nNew, int nOld);
-void SystemUpdateColorList(int nNew);
-void SystemUpdateRenderingMode(bool bBackground, bool bFast);
-void SystemUpdateUndoRedo(char* undo, char* redo);
-void SystemUpdateSnap(const unsigned long nSnap);
-void SystemUpdateCurrentCamera(Camera* pOld, Camera* pNew, Camera* pCamera);
-void SystemUpdateCameraMenu(Camera* pCamera);
-void SystemUpdateTime(bool bAnimation, int nTime, int nTotal);
-void SystemUpdateAnimation(bool bAnimation, bool bAddKeys);
-void SystemUpdateMoveSnap(unsigned short nMoveSnap);
-void SystemUpdateSelected(unsigned long flags);
-void SystemUpdateRecentMenu(char names[4][LC_MAXPATH]);
-void SystemUpdatePaste(bool enable);
-void SystemUpdatePlay(bool play, bool stop);
-void SystemUpdateFocus(void* object, unsigned char type);
-
-// Memory render
-void* SystemStartRender(int width, int height);
-void SystemFinishRender(void* param);
-LC_IMAGE* SystemGetRenderImage(void* param);
-
-#define LC_OK 1
-#define LC_CANCEL 2
-#define LC_ABORT 3
-#define LC_RETRY 4
-#define LC_IGNORE 5
-#define LC_YES 6
-#define LC_NO 7
-
-#define LC_MB_OK 0x001
-#define LC_MB_OKCANCEL 0x002
-//#define LC_MB_ABORTRETRYIGNORE 0x004
-#define LC_MB_YESNOCANCEL 0x008
-#define LC_MB_YESNO 0x010
-//#define LC_MB_RETRYCANCEL 0x020
-#define LC_MB_ICONERROR 0x100
-#define LC_MB_ICONQUESTION 0x200
-#define LC_MB_ICONWARNING 0x400
-#define LC_MB_ICONINFORMATION 0x800
-
-#define LC_MB_TYPEMASK 0x0FF
-#define LC_MB_ICONMASK 0xF00
-
-void SystemInit();
-void SystemFinish();
-int SystemDoMessageBox(char* prompt, int nMode);
-bool SystemDoDialog(int nMode, void* param);
-void SystemDoPopupMenu(int nMenu, int x, int y);
-void SystemDoWaitCursor(int nCode);
-
-void SystemSetGroup(int nNew);
-void SystemSetWindowCaption(char* caption);
-void SystemRedrawView();
-void SystemPieceComboAdd(char* name);
-
-void SystemCaptureMouse();
-void SystemReleaseMouse();
-
-void SystemExportClipboard(File* clip);
-File* SystemImportClipboard();
-
-inline void SystemPumpMessages()
-{
-}
-
-inline long SystemGetTicks()
-{
- return 0;//GetTickCount();
-}
-
-void SystemSwapBuffers();
-
-#endif // _SYSTEM_H_