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>
|
|
|
|
|
2005-04-26 08:56:53 +00:00
|
|
|
#include <gst/gconf/gconf.h>
|
|
|
|
|
2005-03-22 14:53:51 +00:00
|
|
|
#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-05-14 10:19:39 +00:00
|
|
|
typedef enum CltrNamedColor
|
|
|
|
{
|
|
|
|
CLTR_COL_BG = 0,
|
|
|
|
CLTR_COL_BDR,
|
|
|
|
CLTR_COL_FG,
|
|
|
|
CLTR_N_COLS
|
|
|
|
}
|
|
|
|
CltrNamedColor;
|
|
|
|
|
2005-04-07 22:46:43 +00:00
|
|
|
typedef struct CltrRect
|
|
|
|
{
|
|
|
|
int x, y, width, height;
|
|
|
|
}
|
|
|
|
CltrRect;
|
|
|
|
|
2005-04-26 08:56:53 +00:00
|
|
|
typedef struct CltrTexture CltrTexture;
|
|
|
|
|
2005-04-07 22:46:43 +00:00
|
|
|
#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-05-06 17:41:15 +00:00
|
|
|
typedef struct CltrWidget CltrWidget;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef void (*CltrCallback) (CltrWidget *widget, void *userdata) ;
|
|
|
|
|
|
|
|
typedef void (*CltrXEventCallback) (CltrWidget *widget,
|
|
|
|
XEvent *xev,
|
|
|
|
void *userdata) ;
|
|
|
|
|
|
|
|
|
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"
|
2005-05-15 23:16:19 +00:00
|
|
|
#include "cltr-animator.h"
|
2005-04-03 16:13:08 +00:00
|
|
|
#include "cltr-window.h"
|
2005-04-22 18:03:55 +00:00
|
|
|
#include "cltr-overlay.h"
|
2005-04-27 22:17:45 +00:00
|
|
|
#include "cltr-label.h"
|
2005-04-22 18:03:55 +00:00
|
|
|
#include "cltr-button.h"
|
2005-03-24 16:46:49 +00:00
|
|
|
#include "cltr-photo-grid.h"
|
2005-05-15 23:16:19 +00:00
|
|
|
#include "cltr-list.h"
|
2005-04-26 08:56:53 +00:00
|
|
|
#include "cltr-video.h"
|
2005-03-23 17:33:37 +00:00
|
|
|
|
2005-03-22 14:53:51 +00:00
|
|
|
#endif
|