[go: up one dir, main page]

File: dw.h

package info (click to toggle)
dillo 0.8.3-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,168 kB
  • ctags: 3,987
  • sloc: ansic: 32,778; sh: 3,401; makefile: 251; perl: 17
file content (28 lines) | stat: -rw-r--r-- 652 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef __DW_H__
#define __DW_H__

#include <gdk/gdktypes.h>

typedef struct _DwRectangle             DwRectangle;

struct _DwRectangle
{
   gint32 x;
   gint32 y;
   gint32 width;
   gint32 height;
};

void     a_Dw_init                (void);
void     a_Dw_freeall             (void);

gboolean p_Dw_rectangle_intersect (DwRectangle *src1,
                                   DwRectangle *src2,
                                   DwRectangle *dest);
gboolean p_Dw_rectangle_is_subset (DwRectangle *rect1,
                                   DwRectangle *rect2);

/* Needed at several points. */
extern GdkCursor *Dw_cursor_hand;

#endif /* __DW_H__ */