summaryrefslogtreecommitdiff
path: root/recordmydesktop/src/test-rectinsert-data.c
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2008-11-22 16:39:04 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2008-11-22 16:39:04 +0000
commit46974eec6744f1c6a61e493dcdfe2471aec87c00 (patch)
treef34517b0871593801a9e7785777ab598eb297163 /recordmydesktop/src/test-rectinsert-data.c
parentc1776d202b1f88b6856a4bbab4afc53bcc8b86e0 (diff)
src/rmd_cache.c, src/rmd_cache_frame.c, src/rmd_get_frame.c,
src/rmd_init_encoder.c, src/rmd_poll_events.c, src/rmd_rectinsert.c, src/rmd_rectinsert.h, src/rmd_rescue.c, src/rmd_setbrwindow.c, src/rmd_specsfile.c, src/rmd_types.h, src/rmd_update_image.c, src/test-rectinsert-data.c, src/test-rectinsert-types.h, src/test-rectinsert.c: Replaced the custom WGeometry struct-type with the Xlib-provided XRectangle type. Since XRectangle has unsigned width and height, any places in the code where -1 was used in these members of WGeometry to denote invalid rects, where changed to 0 ( zero width or height rects are also considered invalid, wherever met). Also, the following variable renames happened : wgeom => xrect, rgeom => rrect, geom => rect and so on. Some other minor changes in this commit are all related to this type change and also the fact that WGeometry had members of type int, while XRectangle is comprised of short members. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@580 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/src/test-rectinsert-data.c')
-rw-r--r--recordmydesktop/src/test-rectinsert-data.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/recordmydesktop/src/test-rectinsert-data.c b/recordmydesktop/src/test-rectinsert-data.c
index 15b567e..2bb5c4a 100644
--- a/recordmydesktop/src/test-rectinsert-data.c
+++ b/recordmydesktop/src/test-rectinsert-data.c
@@ -35,7 +35,7 @@ RectInsertTestdataEntry rectinsert_test_data[] = {
// Test #1
- { "Put a geom in place",
+ { "Put a rect in place",
{ 2, 2, 2, 2 },
@@ -66,7 +66,7 @@ RectInsertTestdataEntry rectinsert_test_data[] = {
// Test #2
- { "Put a geom in place and make sure it gets an even size and position",
+ { "Put a rect in place and make sure it gets an even size and position",
{ 15, 2, 4, 3 },
@@ -97,7 +97,7 @@ RectInsertTestdataEntry rectinsert_test_data[] = {
// Test #3
- { "Put a new geom within an existing geom",
+ { "Put a new rect within an existing rect",
{ 14, 2, 4, 2 },
@@ -128,7 +128,7 @@ RectInsertTestdataEntry rectinsert_test_data[] = {
// Test #4
- { "Put a new geom over an existing geom and make sure it beocomes even",
+ { "Put a new rect over an existing rect and make sure it beocomes even",
{ 1, 1, 3, 3 },
@@ -160,7 +160,7 @@ RectInsertTestdataEntry rectinsert_test_data[] = {
// Test #5
- { "Put a new geom that partly covers an existing geom",
+ { "Put a new rect that partly covers an existing rect",
{ 10, 4, 6, 6 },
@@ -191,7 +191,7 @@ RectInsertTestdataEntry rectinsert_test_data[] = {
// Test #6
- { "Put new small heighted but wide geom over an existing geom area",
+ { "Put new small heighted but wide rect over an existing rect area",
{ 0, 8, 20, 2 },
@@ -222,7 +222,7 @@ RectInsertTestdataEntry rectinsert_test_data[] = {
// Test #7
- { "Put new small widthed but high geom over two existing geom areas",
+ { "Put new small widthed but high rect over two existing rect areas",
{ 2, 2, 2, 18 },
@@ -315,7 +315,7 @@ RectInsertTestdataEntry rectinsert_test_data[] = {
// Test #10
- { "Put a geom that covers two separate geoms",
+ { "Put a rect that covers two separate rects",
{ 6, 12, 14, 8 },
© All Rights Reserved