ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Macros | Functions | Variables
TGWin32.cxx File Reference
#include <ft2build.h>
#include "TGWin32.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <limits.h>
#include <process.h>
#include <wchar.h>
#include "gdk/gdkkeysyms.h"
#include "xatom.h"
#include <winuser.h>
#include "TROOT.h"
#include "TApplication.h"
#include "TColor.h"
#include "TPoint.h"
#include "TMath.h"
#include "TStorage.h"
#include "TStyle.h"
#include "TSystem.h"
#include "TGFrame.h"
#include "TError.h"
#include "TException.h"
#include "TClassTable.h"
#include "KeySymbols.h"
#include "TWinNTSystem.h"
#include "TGWin32VirtualXProxy.h"
#include "TGWin32InterpreterProxy.h"
#include "TWin32SplashThread.h"
#include "TString.h"
#include "TObjString.h"
#include "TObjArray.h"
#include "TExMap.h"
#include "TEnv.h"
#include "RStipples.h"
Include dependency graph for TGWin32.cxx:

Go to the source code of this file.

Macros

#define XDND_PROTOCOL_VERSION   5
 
#define IDC_HAND   MAKEINTRESOURCE(32649)
 
#define BITmask(x)
 
#define safestrlen(s)   ((s) ? strlen(s) : 0)
 

Functions

void gdk_win32_draw_rectangle (GdkDrawable *drawable, GdkGC *gc, gint filled, gint x, gint y, gint width, gint height)
 
void gdk_win32_draw_arc (GdkDrawable *drawable, GdkGC *gc, gint filled, gint x, gint y, gint width, gint height, gint angle1, gint angle2)
 
void gdk_win32_draw_polygon (GdkDrawable *drawable, GdkGC *gc, gint filled, GdkPoint *points, gint npoints)
 
void gdk_win32_draw_text (GdkDrawable *drawable, GdkFont *font, GdkGC *gc, gint x, gint y, const gchar *text, gint text_length)
 
void gdk_win32_draw_points (GdkDrawable *drawable, GdkGC *gc, GdkPoint *points, gint npoints)
 
void gdk_win32_draw_segments (GdkDrawable *drawable, GdkGC *gc, GdkSegment *segs, gint nsegs)
 
void gdk_win32_draw_lines (GdkDrawable *drawable, GdkGC *gc, GdkPoint *points, gint npoints)
 
 ClassImp (TGWin32) TGWin32
 Default constructor. More...
 
VOID CALLBACK MyTimerProc (HWND hwnd, UINT message, UINT idTimer, DWORD dwTime)
 Windows timer handling events while moving/resizing windows. More...
 
int GIFquantize (UInt_t width, UInt_t height, Int_t *ncol, Byte_t *red, Byte_t *green, Byte_t *blue, Byte_t *outputBuf, Byte_t *outputCmap)
 
long GIFencode (int Width, int Height, Int_t Ncol, Byte_t R[], Byte_t G[], Byte_t B[], Byte_t ScLine[], void(*get_scline)(int, int, Byte_t *), void(*pb)(Byte_t))
 
int GIFdecode (Byte_t *GIFarr, Byte_t *PIXarr, int *Width, int *Height, int *Ncols, Byte_t *R, Byte_t *G, Byte_t *B)
 
int GIFinfo (Byte_t *GIFarr, int *Width, int *Height, int *Ncols)
 
static void GetPixel (int y, int width, Byte_t *scline)
 Get pixels in line y and put in array scline. More...
 
static void PutByte (Byte_t b)
 Put byte b in output stream. More...
 
static void _set_event_time (GdkEvent &event, UInt_t time)
 

Variables

int gdk_debug_level
 
static FILE * gGifFile
 
static GdkImage * gGifImage = 0
 

Macro Definition Documentation

#define BITmask (   x)
Value:
if (evmask & k##x##Mask) \
p += sprintf (p, "%s" #x, (p > bfr ? " " : ""))
Double_t x[n]
Definition: legend1.C:17
#define IDC_HAND   MAKEINTRESOURCE(32649)

Definition at line 68 of file TGWin32.cxx.

Referenced by TGWin32::OpenDisplay().

#define safestrlen (   s)    ((s) ? strlen(s) : 0)

Definition at line 6279 of file TGWin32.cxx.

Referenced by TGWin32::SetClassHints().

#define XDND_PROTOCOL_VERSION   5

Definition at line 66 of file TGWin32.cxx.

Referenced by TGWin32::SetDNDAware().

Function Documentation

static void _set_event_time ( GdkEvent &  event,
UInt_t  time 
)
static

Definition at line 5645 of file TGWin32.cxx.

Referenced by TGWin32::MapEvent().

ClassImp ( TGWin32  )

Default constructor.

Definition at line 752 of file TGWin32.cxx.

void gdk_win32_draw_arc ( GdkDrawable *  drawable,
GdkGC *  gc,
gint  filled,
gint  x,
gint  y,
gint  width,
gint  height,
gint  angle1,
gint  angle2 
)
void gdk_win32_draw_lines ( GdkDrawable *  drawable,
GdkGC *  gc,
GdkPoint *  points,
gint  npoints 
)
void gdk_win32_draw_points ( GdkDrawable *  drawable,
GdkGC *  gc,
GdkPoint *  points,
gint  npoints 
)
void gdk_win32_draw_polygon ( GdkDrawable *  drawable,
GdkGC *  gc,
gint  filled,
GdkPoint *  points,
gint  npoints 
)
void gdk_win32_draw_rectangle ( GdkDrawable *  drawable,
GdkGC *  gc,
gint  filled,
gint  x,
gint  y,
gint  width,
gint  height 
)
void gdk_win32_draw_segments ( GdkDrawable *  drawable,
GdkGC *  gc,
GdkSegment *  segs,
gint  nsegs 
)
void gdk_win32_draw_text ( GdkDrawable *  drawable,
GdkFont *  font,
GdkGC *  gc,
gint  x,
gint  y,
const gchar *  text,
gint  text_length 
)

Referenced by TGWin32::DrawString().

static void GetPixel ( int  y,
int  width,
Byte_t scline 
)
static

Get pixels in line y and put in array scline.

Definition at line 4049 of file TGWin32.cxx.

Referenced by TStructViewerGUI::TStructViewerGUI().

int GIFdecode ( Byte_t GIFarr,
Byte_t PIXarr,
int *  Width,
int *  Height,
int *  Ncols,
Byte_t R,
Byte_t G,
Byte_t B 
)

Definition at line 149 of file gifdecode.c.

Referenced by TGWin32::ReadGIF().

long GIFencode ( int  Width,
int  Height,
Int_t  Ncol,
Byte_t  R[],
Byte_t  G[],
Byte_t  B[],
Byte_t  ScLine[],
void(*)(int, int, Byte_t *)  get_scline,
void(*)(Byte_t pb 
)

Referenced by TGWin32::WriteGIF().

int GIFinfo ( Byte_t GIFarr,
int *  Width,
int *  Height,
int *  Ncols 
)

Definition at line 80 of file gifdecode.c.

Referenced by TGWin32::ReadGIF().

int GIFquantize ( UInt_t  width,
UInt_t  height,
Int_t ncol,
Byte_t red,
Byte_t green,
Byte_t blue,
Byte_t outputBuf,
Byte_t outputCmap 
)
VOID CALLBACK MyTimerProc ( HWND  hwnd,
UINT  message,
UINT  idTimer,
DWORD  dwTime 
)

Windows timer handling events while moving/resizing windows.

Definition at line 835 of file TGWin32.cxx.

Referenced by TGWin32::GUIThreadMessageFunc().

static void PutByte ( Byte_t  b)
static

Put byte b in output stream.

Definition at line 4059 of file TGWin32.cxx.

Referenced by TGWin32::WriteGIF().

Variable Documentation

int gdk_debug_level

Definition at line 137 of file TGWin32.cxx.

Referenced by TGWin32::OpenDisplay().

FILE* gGifFile
static

Definition at line 4029 of file TGWin32.cxx.

GdkImage* gGifImage = 0
static

Definition at line 4030 of file TGWin32.cxx.