diff options
author | dscho <dscho> | 2003-02-07 18:58:00 +0000 |
---|---|---|
committer | dscho <dscho> | 2003-02-07 18:58:00 +0000 |
commit | 0f66740881b7b6f468c46dc10e6694520b3ab2d8 (patch) | |
tree | e6819ea73d831ecd09609e6c801c71a710407cde /contrib/zippy.c | |
parent | 6b7cdeb9ef9ffb149d8dc38b17a55ebe503e31e7 (diff) | |
download | libtdevnc-0f66740881b7b6f468c46dc10e6694520b3ab2d8.tar.gz libtdevnc-0f66740881b7b6f468c46dc10e6694520b3ab2d8.zip |
moved files to include; moved a file to examples/
Diffstat (limited to 'contrib/zippy.c')
-rw-r--r-- | contrib/zippy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/zippy.c b/contrib/zippy.c index ff2d042..97c139c 100644 --- a/contrib/zippy.c +++ b/contrib/zippy.c @@ -2,7 +2,7 @@ #include <stdlib.h> #include <rfb.h> #include <keysym.h> -#include "radon.h" +#include "default8x16.h" int maxx=400, maxy=400, bpp=4; /* odd maxx doesn't work (vncviewer bug) */ @@ -146,7 +146,7 @@ void on_key_press (Bool down,KeySym key,rfbClientPtr cl) case XK_B: rfbUndrawCursor(cl->screen); blank_framebuffer(cl->screen->frameBuffer, 0, 0, maxx, maxy); - rfbDrawString(cl->screen,&radonFont,20,maxy-20,"Hello, World!",0xffffff); + rfbDrawString(cl->screen,&default8x16Font,20,maxy-20,"Hello, World!",0xffffff); rfbMarkRectAsModified(cl->screen,0, 0,maxx,maxy); fprintf (stderr, "Framebuffer blanked\n"); break; @@ -165,7 +165,7 @@ void on_key_press (Bool down,KeySym key,rfbClientPtr cl) case XK_C: case XK_c: rfbUndrawCursor(cl->screen); - rfbDrawString(cl->screen,&radonFont,20,100,"Hello, World!",0xffffff); + rfbDrawString(cl->screen,&default8x16Font,20,100,"Hello, World!",0xffffff); rfbMarkRectAsModified(cl->screen,0, 0,maxx,maxy); break; default: |