libcvd-members
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libcvd-members] libcvd cvd/glwindow.h cvd_src/glwindow.cc


From: Gerhard Reitmayr
Subject: [libcvd-members] libcvd cvd/glwindow.h cvd_src/glwindow.cc
Date: Mon, 16 Jul 2007 22:15:31 +0000

CVSROOT:        /cvsroot/libcvd
Module name:    libcvd
Changes by:     Gerhard Reitmayr <gerhard>      07/07/16 22:15:31

Modified files:
        cvd            : glwindow.h 
        cvd_src        : glwindow.cc 

Log message:
        renamed new methods to be consistent

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/libcvd/cvd/glwindow.h?cvsroot=libcvd&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/libcvd/cvd_src/glwindow.cc?cvsroot=libcvd&r1=1.7&r2=1.8

Patches:
Index: cvd/glwindow.h
===================================================================
RCS file: /cvsroot/libcvd/libcvd/cvd/glwindow.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- cvd/glwindow.h      16 Jul 2007 21:56:25 -0000      1.6
+++ cvd/glwindow.h      16 Jul 2007 22:15:30 -0000      1.7
@@ -102,11 +102,11 @@
        /// Get the size
        ImageRef size() const;
        /// Set the size
-       void size(const ImageRef &);
+       void set_size(const ImageRef &);
        /// Get the position
        ImageRef position() const;
        /// Set the position
-       void position(const ImageRef &);
+       void set_position(const ImageRef &);
        /// Set the mouse cursor position
        void set_cursor_position(const ImageRef& where);
        /// Get the mouse cursor position

Index: cvd_src/glwindow.cc
===================================================================
RCS file: /cvsroot/libcvd/libcvd/cvd_src/glwindow.cc,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- cvd_src/glwindow.cc 16 Jul 2007 21:56:25 -0000      1.7
+++ cvd_src/glwindow.cc 16 Jul 2007 22:15:31 -0000      1.8
@@ -127,14 +127,14 @@
 
 ImageRef CVD::GLWindow::size() const { return state->size; }
 
-void CVD::GLWindow::size(const ImageRef & s_){
+void CVD::GLWindow::set_size(const ImageRef & s_){
     state->size = s_;
     XResizeWindow(state->display, state->window, s_.x, s_.y);
 }
 
 ImageRef CVD::GLWindow::position() const { return state->position; }
 
-void CVD::GLWindow::position(const ImageRef & p_){
+void CVD::GLWindow::set_position(const ImageRef & p_){
     state->position = p_;
     XMoveWindow(state->display, state->window, p_.x, p_.y);
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]