2005-03-22 14:53:51 +00:00
|
|
|
#ifndef _HAVE_CLTR_H
|
|
|
|
#define _HAVE_CLTR_H
|
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <math.h>
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
2005-04-13 17:36:17 +00:00
|
|
|
#include <X11/Xatom.h>
|
2005-04-03 16:13:08 +00:00
|
|
|
#include <X11/keysym.h>
|
2005-03-22 14:53:51 +00:00
|
|
|
|
|
|
|
#include <GL/glx.h>
|
|
|
|
#include <GL/gl.h>
|
|
|
|
|
|
|
|
#include <glib.h>
|
|
|
|
|
|
|
|
#include "pixbuf.h"
|
|
|
|
#include "fonts.h"
|
|
|
|
|
2005-03-23 17:33:37 +00:00
|
|
|
typedef enum CltrDirection
|
|
|
|
{
|
|
|
|
CLTR_NORTH,
|
|
|
|
CLTR_SOUTH,
|
|
|
|
CLTR_EAST,
|
|
|
|
CLTR_WEST
|
|
|
|
}
|
|
|
|
CltrDirection;
|
|
|
|
|
2005-04-07 22:46:43 +00:00
|
|
|
typedef struct CltrRect
|
|
|
|
{
|
|
|
|
int x, y, width, height;
|
|
|
|
}
|
|
|
|
CltrRect;
|
|
|
|
|
|
|
|
#define cltr_rect_x1(r) ((r).x)
|
|
|
|
#define cltr_rect_y1(r) ((r).y)
|
|
|
|
#define cltr_rect_x2(r) ((r).x + (r).width)
|
|
|
|
#define cltr_rect_y2(r) ((r).y + (r).height)
|
|
|
|
|
2005-03-29 23:26:36 +00:00
|
|
|
/* texture stuff */
|
|
|
|
|
|
|
|
/* ******************* */
|
|
|
|
|
2005-04-03 16:13:08 +00:00
|
|
|
#include "cltr-core.h"
|
2005-04-13 17:36:17 +00:00
|
|
|
#include "cltr-glu.h"
|
2005-03-30 16:52:02 +00:00
|
|
|
#include "cltr-texture.h"
|
2005-04-03 16:13:08 +00:00
|
|
|
#include "cltr-events.h"
|
|
|
|
#include "cltr-widget.h"
|
|
|
|
#include "cltr-window.h"
|
|
|
|
|
2005-03-24 16:46:49 +00:00
|
|
|
#include "cltr-photo-grid.h"
|
2005-03-23 17:33:37 +00:00
|
|
|
|
2005-03-22 14:53:51 +00:00
|
|
|
#endif
|