Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
27e3c69d
Commit
27e3c69d
authored
Oct 08, 2001
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removes region.h
parent
a7d66f23
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
51 deletions
+4
-51
Makefile
Makefile
+3
-4
region.h
region.h
+0
-46
rfbserver.c
rfbserver.c
+1
-1
No files found.
Makefile
View file @
27e3c69d
...
...
@@ -38,7 +38,7 @@ install_OSX: OSXvnc-server
.c.o
:
$(CC)
$(CFLAGS)
-c
$<
$(OBJS)
:
Makefile rfb.h
$(OBJS)
pnmshow24.o pnmshow.o example.o mac.o blooptest.o
:
Makefile rfb.h
libvncserver.a
:
$(OBJS)
$(AR)
cru
$@
$(OBJS)
...
...
@@ -73,11 +73,10 @@ blooptest.o: example.c rfb.h
pnmshow24
:
pnmshow24.o libvncserver.a
$(CC)
-o
pnmshow24 pnmshow24.o
$(LIBS)
pnmshow24.o
:
Makefile
clean
:
rm
-f
$(OBJS)
*
~ core
"#"
*
*
.bak
*
.orig storepasswd.o
\
mac.o example.o pnmshow.o sratest.o
$(OBJS)
mac.o example.o pnmshow.o pnmshow24.o sratest.o
\
blooptest.o
$(OBJS)
realclean
:
clean
rm
-f
OSXvnc-server storepasswd example pnmshow libvncserver.a
...
...
region.h
deleted
100644 → 0
View file @
a7d66f23
#ifndef REGION_H
#define REGION_H
#include "sraRegion.h"
#if 0
#define NullRegion ((RegionPtr)0)
#define NullBox ((BoxPtr)0)
typedef struct RegDataRec {
long size;
long numRects;
/* BoxRec rects[size]; in memory but not explicitly declared */
} RegDataRec;
extern void miRegionInit(RegionPtr,BoxPtr,int);
extern void miRegionUninit(RegionPtr);
extern Bool miRegionEmpty(RegionPtr);
extern Bool miRegionNotEmpty(RegionPtr);
extern Bool miIntersect(RegionPtr,RegionPtr,RegionPtr);
extern Bool miSubtract(RegionPtr,RegionPtr,RegionPtr);
extern Bool miUnion(RegionPtr,RegionPtr,RegionPtr);
extern void miTranslateRegion(RegionPtr,int,int);
#define REGION_NIL(reg) ((reg)->data && !(reg)->data->numRects)
#define REGION_NUM_RECTS(reg) ((reg)->data ? (reg)->data->numRects : 1)
#define REGION_SIZE(reg) ((reg)->data ? (reg)->data->size : 0)
#define REGION_RECTS(reg) ((reg)->data ? (BoxPtr)((reg)->data + 1) \
: &(reg)->extents)
#define REGION_BOXPTR(reg) ((BoxPtr)((reg)->data + 1))
#define REGION_BOX(reg,i) (®ION_BOXPTR(reg)[i])
#define REGION_TOP(reg) REGION_BOX(reg, (reg)->data->numRects)
#define REGION_END(reg) REGION_BOX(reg, (reg)->data->numRects - 1)
#define REGION_SZOF(n) (sizeof(RegDataRec) + ((n) * sizeof(BoxRec)))
#define REGION_INIT(s,pReg,rect,size) miRegionInit(pReg,rect,size)
#define REGION_EMPTY(s,pReg) miRegionEmpty(pReg)
#define REGION_UNINIT(s,pReg) miRegionUninit(pReg)
#define REGION_NOTEMPTY(s,pReg) miRegionNotEmpty(pReg)
#define REGION_INTERSECT(s,newReg,reg1,reg2) miIntersect(newReg,reg1,reg2)
#define REGION_SUBTRACT(s,newReg,reg1,reg2) miSubtract(newReg,reg1,reg2)
#define REGION_UNION(s,newReg,reg1,reg2) miUnion(newReg,reg1,reg2)
#define REGION_TRANSLATE(s,pReg,x,y) miTranslateRegion(pReg,x,y)
#endif
#endif
rfbserver.c
View file @
27e3c69d
...
...
@@ -1100,7 +1100,7 @@ rfbSendCopyRegion(cl, reg, dx, dy)
sraRectangleIterator
*
i
;
sraRect
rect1
;
/* printf("copyrect: "); sraRgnPrint(reg); putchar('\n'); fflush(stdout); */
printf
(
"copyrect: "
);
sraRgnPrint
(
reg
);
putchar
(
'\n'
);
fflush
(
stdout
);
i
=
sraRgnGetReverseIterator
(
reg
,
dx
>
0
,
dy
>
0
);
while
(
sraRgnIteratorNext
(
i
,
&
rect1
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment