Commit 23ccee83 authored by jlee's avatar jlee

EBN update.



git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdenetwork/krfb/libvncserver@549564 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
parent c92c090e
/* /*
* This parses the command line arguments. It was seperated from main.c by * This parses the command line arguments. It was separated from main.c by
* Justin Dearing <jdeari01@longisland.poly.edu>. * Justin Dearing <jdeari01@longisland.poly.edu>.
*/ */
......
...@@ -62,7 +62,7 @@ int main(int argc,char** argv) ...@@ -62,7 +62,7 @@ int main(int argc,char** argv)
rfbProcessEvents(s,900000); rfbProcessEvents(s,900000);
i = rfbSelectBox(s,font,fontlist,10,20,200,300,0xffdfdf,0x602040,2,showFont); i = rfbSelectBox(s,font,fontlist,10,20,200,300,0xffdfdf,0x602040,2,showFont);
fprintf(stderr,"Selection: %d: %s\n",i,(i>=0)?fontlist[i]:"cancelled"); fprintf(stderr,"Selection: %d: %s\n",i,(i>=0)?fontlist[i]:"canceled");
rfbFreeFont(font); rfbFreeFont(font);
......
...@@ -242,7 +242,7 @@ typedef struct _rfbScreenInfo ...@@ -242,7 +242,7 @@ typedef struct _rfbScreenInfo
*/ */
void* screenData; void* screenData;
/* The following two members are used to minimise the amount of unnecessary /* The following two members are used to minimize the amount of unnecessary
drawing caused by cursor movement. Whenever any drawing affects the drawing caused by cursor movement. Whenever any drawing affects the
part of the screen where the cursor is, the cursor is removed first and part of the screen where the cursor is, the cursor is removed first and
then the drawing is done (this is what the sprite routines test for). then the drawing is done (this is what the sprite routines test for).
...@@ -794,7 +794,7 @@ void rfbDrawLine(rfbScreenInfoPtr s,int x1,int y1,int x2,int y2,Pixel col); ...@@ -794,7 +794,7 @@ void rfbDrawLine(rfbScreenInfoPtr s,int x1,int y1,int x2,int y2,Pixel col);
/* this opens a modal select box. list is an array of strings, the end marked /* this opens a modal select box. list is an array of strings, the end marked
with a NULL. with a NULL.
It returns the index in the list or -1 if cancelled or something else It returns the index in the list or -1 if canceled or something else
wasn't kosher. */ wasn't kosher. */
typedef void (*SelectionChangedHookPtr)(int _index); typedef void (*SelectionChangedHookPtr)(int _index);
extern int rfbSelectBox(rfbScreenInfoPtr rfbScreen, extern int rfbSelectBox(rfbScreenInfoPtr rfbScreen,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment