Logo Search packages:      
Sourcecode: yudit version File versions

SX11Window Class Reference

#include <SX11Window.h>

Inheritance diagram for SX11Window:


List of all members.

Detailed Description

Yudit Unicode Editor Source File

GNU Copyright (C) 2003 Gaspar Sinai <gsinai@yudit.org> GNU Copyright (C) 2002 Gaspar Sinai <gsinai@yudit.org> GNU Copyright (C) 2001 Gaspar Sinai <gsinai@yudit.org> GNU Copyright (C) 2000 Gaspar Sinai <gsinai@yudit.org>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, dated June 1991. See file COPYYING for details.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

: Gaspar Sinai <gsinai@yudit.org>
: 2000-04-23 This is the abstract widget toolkit

Definition at line 41 of file SX11Window.h.

Public Member Functions

void _acceleratorPressed (const SAccelerator &a)
void _acceleratorReleased (const SAccelerator &a)
virtual void addAccelerator (const SAccelerator &a, SAcceleratorListener *l)
virtual void bitfill (const SColor &bg, int x, int y, unsigned int width, unsigned int height)
virtual void bitfont (const SPen &pen, double x, double y, void *native, char *data, unsigned int len)
virtual void bitline (const SColor &fg, int x, int y, int tox, int toy)
virtual void bitpoint (const SColor &fg, int x, int y)
virtual void bitpoints (const SColor &fg, const int *x, const int *y, unsigned int size)
virtual bool cacheOn (bool on=true)
virtual void center (SWindow *window)
virtual void clear (int x, int y, unsigned int width, unsigned int height)
virtual void closepath ()
virtual void copy (int x, int y, unsigned int width, unsigned int height, int tox, int toy)
virtual void curveto (double x0, double y0, double x1, double y1, double x3, double y3)
virtual void fill (const SPen &pen)
virtual SString getClipUTF8 ()
virtual SS_Matrix2D getCurrentMatrix () const
const SStringVectorgetDroppable () const
unsigned int getHeight () const
XIC getIC ()
const SStringgetICEncoding () const
virtual long getID ()
virtual SString getInputMethod ()
virtual void getKeyboardFocus ()
int getPositionX () const
int getPositionY () const
unsigned int getWidth () const
virtual unsigned long getWindowID () const
virtual void hide ()
bool isAsciiInput ()
bool isKInput ()
bool isModal ()
bool isShown ()
virtual bool isVisible ()
virtual void lineto (double x, double y)
virtual void move (int x, int y)
virtual void moveto (double x, double y)
virtual bool newpath (double x, double y, const SString &id)
virtual void popmatrix ()
virtual void pushmatrix ()
virtual void putClipUTF8 (const SString &utf8)
virtual void putImage (int x, int y, const SImage &image)
virtual void redraw (bool clear, int x, int y, unsigned int width, unsigned int height)
virtual void removeAccelerator (const SAccelerator &a, SAcceleratorListener *l)
virtual void removeClippingArea ()
virtual void resize (unsigned int width, unsigned int height)
virtual void rotate (double angle)
virtual void scale (double x, double y)
virtual void setBackground (const SColor &color)
virtual void setClippingArea (int x, int y, unsigned int width, unsigned int height)
void setDroppable (const SStringVector &targets)
virtual void setInputMethodProperties (const SProperties &prop)
virtual void setMinimumSize (unsigned int width, unsigned int height)
virtual void setModal (SWindow *w, bool decorated)
virtual void setParent (SWindow *w, int x, int y)
void setPosition (int x, int y)
void setSize (unsigned int width, unsigned int height)
virtual void setTitle (const SString &title)
virtual void show ()
virtual bool startInputMethod (const SString &name, const SProperties &prop)
virtual void stopInputMethod ()
virtual void stroke (const SPen &pen)
 SX11Window (const SString &name, SX11Impl *impl, long id)
virtual void translate (double x, double y)
virtual void wait ()

Static Public Member Functions

static void setPixmapCacheOn (bool isOn=true)
static void setPixmapCacheSize (unsigned int size)

Public Attributes

bool isChild
bool mapNotified
SBinVector< Atom > targetAtoms
SStringVector targets

Protected Attributes

bool isCacheOn
bool modalFlag
bool shown
int xpos
unsigned int xwidth
unsigned int yheight
int ypos

Private Member Functions

void createColoredPixmap (const SImage &im, Pixmap *p, Pixmap *m)
void createShadedPixmap (const SImage &im, Pixmap *p, Pixmap *m)

Private Attributes

< SAcceleratorListener * > 
SX11Color background
bool clipped
GC gc
GC gc_default
GC gc_draw_and
GC gc_draw_or
unsigned long gcFD
unsigned long gcFG
long id
SXInputMethod inputMethod
SString name
SPen pen

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index