~z88dk-team/z88dk-pkg/trunk

« back to all changes in this revision

Viewing changes to libsrc/graphics/x11/xdrawrectangle.c

  • Committer: Bazaar Package Importer
  • Author(s): Krystian Wlosek, Krystian Wlosek
  • Date: 2008-03-25 11:46:11 UTC
  • mfrom: (1.1.2 upstream) (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080325114611-u89smn2ccknl8avt
Tags: 1.8.ds1-2
[ Krystian Wlosek ]
* Enable 64bit architecture.
* Added '-m32' switch to CFLAGS and LDFLAGS for 64bit machines.
* Changed Architecture: to `any' in z88dk and z88dk-bin package.
* Added gcc-multilib to Build-Depends: for 64bit
* Fixed problem with x11.lib
  - created symlink from include/x11 to include/X11
  - improved Makefile for x11.lib
    patch debian/patches/03_libsrc_graphics_x11_Makefile.diff
* Fixed library ozansi.lib
  - patch debian/patches/03_libsrc_oz_ozinput_Makefile.diff
* Changed Copyright notice.
* Fixed gcc warnings:
  - in src/appmake dir - debian/patches/04_src_appmake.diff
  - in src/zcc/zcc.c - debian/patches/04_src_zcc_zcc.c.diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
        Minimal Xlib port
 
3
        Stefano Bodrato, 5/3/2007
 
4
        
 
5
        $Id: xdrawrectangle.c,v 1.1 2007/12/21 08:04:24 stefano Exp $
 
6
*/
 
7
 
 
8
#define _BUILDING_X
 
9
#include <X11/Xlib.h>
 
10
#include <graphics.h>
 
11
 
 
12
void XDrawRectangle(Display *display, Drawable win, GC gc, int x, int y, int width, int height) {
 
13
        struct _XWIN *mywin;
 
14
        mywin = (char *) win;
 
15
 
 
16
        drawb(mywin->a_x+x,mywin->a_y+y,width,height);
 
17
}