summaryrefslogtreecommitdiff
path: root/recordmydesktop/src/rmd_setbrwindow.c
diff options
context:
space:
mode:
authorenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2009-01-10 20:00:06 +0000
committerenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2009-01-10 20:00:06 +0000
commitd98ab1feca39233ea47753dff292f98b717f17f2 (patch)
treeb1319baca584ee440e72a013d41e3179d82f9efa /recordmydesktop/src/rmd_setbrwindow.c
parent61ce53bb92bed72bcf946f425311ef1f55e8064c (diff)
src/*.c: Namescape all functions for consistency and general codebase
sanity (previously only a few rmd functions were namespaced). git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@590 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/src/rmd_setbrwindow.c')
-rw-r--r--recordmydesktop/src/rmd_setbrwindow.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/recordmydesktop/src/rmd_setbrwindow.c b/recordmydesktop/src/rmd_setbrwindow.c
index df77620..8a29b1a 100644
--- a/recordmydesktop/src/rmd_setbrwindow.c
+++ b/recordmydesktop/src/rmd_setbrwindow.c
@@ -42,7 +42,7 @@
*
* \note This is called separately for width and height.
*/
-static void SizePack2_8_16(short *start, unsigned short *size, unsigned short limit) {
+static void rmdSizePack2_8_16(short *start, unsigned short *size, unsigned short limit) {
int octoffset,hexoffset;
//align in two
@@ -123,10 +123,10 @@ static void SizePack2_8_16(short *start, unsigned short *size, unsigned short li
-boolean SetBRWindow(Display *dpy,
- BRWindow *brwin,
- DisplaySpecs *specs,
- ProgArgs *args) {
+boolean rmdSetBRWindow(Display *dpy,
+ BRWindow *brwin,
+ DisplaySpecs *specs,
+ ProgArgs *args) {
//before we start recording we have to make sure the ranges are valid
if(args->windowid==0){//root window
//first set it up
@@ -194,8 +194,8 @@ boolean SetBRWindow(Display *dpy,
"X:%d Y:%d Width:%d Height:%d\n",
brwin->rrect.x,brwin->rrect.y,
brwin->rrect.width,brwin->rrect.height);
- SizePack2_8_16(&brwin->rrect.x,&brwin->rrect.width,specs->width);
- SizePack2_8_16(&brwin->rrect.y,&brwin->rrect.height,specs->height);
+ rmdSizePack2_8_16(&brwin->rrect.x,&brwin->rrect.width,specs->width);
+ rmdSizePack2_8_16(&brwin->rrect.y,&brwin->rrect.height,specs->height);
fprintf(stderr, "Adjusted recording window is set to:\n"
"X:%d Y:%d Width:%d Height:%d\n",
© All Rights Reserved