Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

Defines | Enumerations | Functions | Variables

eek-preview.cpp File Reference

EEK preview stuff. More...

#include <gtk/gtk.h>
#include "eek-preview.h"
Include dependency graph for eek-preview.cpp:

Go to the source code of this file.

Defines

#define FOCUS_PROP_ID   1
#define PREVIEW_MAX_RATIO   500
#define PREVIEW_SIZE_LAST   PREVIEW_SIZE_HUGE
#define PREVIEW_SIZE_NEXTFREE   (PREVIEW_SIZE_HUGE + 1)
#define PRIME_BUTTON_MAGIC_NUMBER   1

Enumerations

enum  { CLICKED_SIGNAL, ALTCLICKED_SIGNAL, LAST_SIGNAL }

Functions

static gboolean eek_preview_button_press_cb (GtkWidget *widget, GdkEventButton *event)
static gboolean eek_preview_button_release_cb (GtkWidget *widget, GdkEventButton *event)
static void eek_preview_class_init (EekPreviewClass *klass)
static gboolean eek_preview_enter_cb (GtkWidget *widget, GdkEventCrossing *event)
gboolean eek_preview_expose_event (GtkWidget *widget, GdkEventExpose *event)
gboolean eek_preview_get_focus_on_click (EekPreview *preview)
LinkType eek_preview_get_linked (EekPreview *splat)
static void eek_preview_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
GType eek_preview_get_type (void)
static void eek_preview_init (EekPreview *preview)
gboolean eek_preview_key_press_event (GtkWidget *widget, GdkEventKey *event)
gboolean eek_preview_key_release_event (GtkWidget *widget, GdkEventKey *event)
static gboolean eek_preview_leave_cb (GtkWidget *widget, GdkEventCrossing *event)
GtkWidget * eek_preview_new (void)
static gboolean eek_preview_popup_menu (GtkWidget *widget)
void eek_preview_set_color (EekPreview *preview, int r, int g, int b)
void eek_preview_set_details (EekPreview *preview, PreviewStyle prevstyle, ViewType view, PreviewSize size, guint ratio)
void eek_preview_set_focus_on_click (EekPreview *preview, gboolean focus_on_click)
void eek_preview_set_linked (EekPreview *splat, LinkType link)
void eek_preview_set_pixbuf (EekPreview *preview, GdkPixbuf *pixbuf)
static void eek_preview_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
void eek_preview_set_size_mappings (guint count, GtkIconSize const *sizes)
static void eek_preview_size_request (GtkWidget *widget, GtkRequisition *req)

Variables

static guint eek_preview_signals [LAST_SIGNAL] = { 0 }
static GtkWidgetClass * parent_class = 0
static gboolean setupDone = FALSE
static GtkRequisition sizeThings [PREVIEW_SIZE_NEXTFREE]

Detailed Description

EEK preview stuff.

Definition in file eek-preview.cpp.


Generated by  Doxygen 1.6.0   Back to index