summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorleo2006-01-27 08:23:42 +0000
committerleo2006-01-27 08:23:42 +0000
commit148fe35dcc828fba1ab24afffd85878f0d468171 (patch)
tree05d7c37bba7c07a39c443172db43780893427f15
parent8f22ec2b03a54cf94b274d31893a9b581b8052ca (diff)
Removed unused functions.
git-svn-id: http://svn.leocad.org/trunk@463 c7d43263-9d01-0410-8a33-9dba5d9f93d6
-rwxr-xr-xcommon/system.h6
-rw-r--r--linux/system.cpp23
-rw-r--r--win/System.cpp12
3 files changed, 0 insertions, 41 deletions
diff --git a/common/system.h b/common/system.h
index 6a3adcc..ce47b9a 100755
--- a/common/system.h
+++ b/common/system.h
@@ -37,10 +37,6 @@ char* Sys_ProfileLoadString (const char *section, const char *key, const char *d
void* Sys_StartMemoryRender (int width, int height);
void Sys_FinishMemoryRender (void* param);
-// Cursor functions
-//void Sys_GetCursorPos (int *x, int *y);
-//void Sys_SetCursorPos (int x, int y);
-
// FIXME: moved to basewnd, remove
// Message Box
@@ -108,7 +104,6 @@ void SystemDoPopupMenu(int nMenu, int x, int y);
void SystemDoWaitCursor(int nCode);
void SystemSetWindowCaption(char* caption);
-//void SystemRedrawView();
void SystemPieceComboAdd(char* name);
void SystemCaptureMouse();
@@ -117,7 +112,6 @@ void SystemReleaseMouse();
void SystemExportClipboard(File* clip);
File* SystemImportClipboard();
-//void SystemSwapBuffers();
void SystemPumpMessages();
long SystemGetTicks();
diff --git a/linux/system.cpp b/linux/system.cpp
index 09e5b28..2683b3f 100644
--- a/linux/system.cpp
+++ b/linux/system.cpp
@@ -19,18 +19,6 @@
// =============================================================================
// Cursor functions
-/*
-void Sys_GetCursorPos (int *x, int *y)
-{
- gdk_window_get_pointer (NULL, x, y, NULL);
-}
-
-void Sys_SetCursorPos (int x, int y)
-{
- XWarpPointer (GDK_DISPLAY(), None, GDK_ROOT_WINDOW(), 0, 0, 0, 0, x, y);
-}
-*/
-
int Sys_MessageBox (const char* text, const char* caption, int type)
{
return msgbox_execute (text, caption, type);
@@ -708,11 +696,6 @@ void SystemSetWindowCaption(char* caption)
gtk_window_set_title (GTK_WINDOW (((GtkWidget*)(*main_window))), caption);
}
-void SystemRedrawView()
-{
- gtk_widget_draw(drawing_area, NULL);
-}
-
void SystemPieceComboAdd(char* name)
{
piececombo_add(name);
@@ -727,12 +710,6 @@ void SystemReleaseMouse()
{
}
-void SystemSwapBuffers()
-{
- // if (drawing_area)
- // gtk_gl_area_swapbuffers (GTK_GL_AREA(drawing_area));
-}
-
void SystemStartProgressBar(int nLower, int nUpper, int nStep, const char* Text)
{
}
diff --git a/win/System.cpp b/win/System.cpp
index 285cafc..b8000e9 100644
--- a/win/System.cpp
+++ b/win/System.cpp
@@ -1633,13 +1633,6 @@ void Sys_FinishMemoryRender(void* param)
/////////////////////////////////////////////////////////////////////////////
// Main window functions
-void SystemRedrawView()
-{
- CFrameWnd* pFrame = (CFrameWnd*)AfxGetMainWnd();
- CView* pView = pFrame->GetActiveView();
- pView->Invalidate(FALSE);
-}
-
void SystemPieceComboAdd(char* name)
{
CWnd* pWnd = AfxGetMainWnd();
@@ -1728,11 +1721,6 @@ long SystemGetTicks()
return GetTickCount();
}
-void SystemSwapBuffers()
-{
- OpenGLSwapBuffers (pfnwglGetCurrentDC());
-}
-
void SystemStartProgressBar(int nLower, int nUpper, int nStep, const char* Text)
{
CFrameWnd* pFrame = (CFrameWnd*)AfxGetMainWnd();