navit  0.5.1-trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups
graphics_priv Struct Reference

#include <graphics_qt5.h>

Public Member Functions

 BOOL (WINAPI *ChangeWindowMessageFilter)(UINT message
 
 BOOL (WINAPI *ChangeWindowMessageFilterEx)(HWND hWnd
 

Data Fields

jclass NavitGraphicsClass
 
jmethodID NavitGraphics_draw_polyline
 
jmethodID NavitGraphics_draw_polygon
 
jmethodID NavitGraphics_draw_rectangle
 
jmethodID NavitGraphics_draw_circle
 
jmethodID NavitGraphics_draw_text
 
jmethodID NavitGraphics_draw_image
 
jmethodID NavitGraphics_draw_image_warp
 
jmethodID NavitGraphics_draw_mode
 
jmethodID NavitGraphics_draw_drag
 
jmethodID NavitGraphics_overlay_disable
 
jmethodID NavitGraphics_overlay_resize
 
jmethodID NavitGraphics_SetCamera
 
jmethodID NavitGraphics_setBackgroundColor
 
jclass PaintClass
 
jmethodID Paint_init
 
jmethodID Paint_setStrokeWidth
 
jmethodID Paint_setARGB
 
jobject NavitGraphics
 
jobject Paint
 
jclass BitmapFactoryClass
 
jmethodID BitmapFactory_decodeFile
 
jmethodID BitmapFactory_decodeResource
 
jclass BitmapClass
 
jmethodID Bitmap_getHeight
 
jmethodID Bitmap_getWidth
 
jmethodID Bitmap_createScaledBitmap
 
jclass ContextClass
 
jmethodID Context_getResources
 
jclass ResourcesClass
 
jobject Resources
 
jmethodID Resources_getIdentifier
 
jobject packageName
 
struct callback_listcbl
 
struct window win
 
struct paddingpadding
 
jint bgcolor
 
int fill_poly
 
int show_overlays
 
int button_timeout
 
struct point p
 
int width
 
int height
 
int library_init
 
int visible
 
int overlay_enabled
 
int overlay_autodisabled
 
GLuint framebuffer_name
 
GLuint overlay_texture
 
struct graphics_gc_privbackground_gc
 
enum draw_mode_num mode
 
GLuint program
 
GLint mvp_location
 
GLint position_location
 
GLint color_location
 
GLint texture_position_location
 
GLint use_texture_location
 
GLint texture_location
 
struct font_freetype_methods freetype_methods
 
struct navitnav
 
int timeout
 
int delay
 
struct window window
 
int dirty
 
int force_redraw
 
time_t last_refresh_time
 
struct graphics_opengl_platformplatform
 
struct
graphics_opengl_platform_methods
platform_methods
 
gdImagePtr im
 
int flags
 
int overlay
 
int shmkey
 
int shmsize
 
int shmoffset
 
void * shm
 
struct shmem_headershm_header
 
struct callbackcb
 
struct graphics_gc_privbackground
 
struct graphics_data_image image
 
GListsockets
 
GdkEventButton button_event
 
GtkWidget * widget
 
GtkWidget * win
 
cairo_t * cairo
 
int win_w
 
int win_h
 
int pid
 
struct timeval button_press [8]
 
struct timeval button_release [8]
 
char * window_title
 
int dummy
 
void(* resize_callback )(void *data, int w, int h)
 
void * resize_callback_data
 
void(* motion_callback )(void *data, struct point *p)
 
void * motion_callback_data
 
void(* button_callback )(void *data, int press, int button, struct point *p)
 
void * button_callback_data
 
GLuint DLid
 
struct
graphics_opengl_window_system
window_system
 
struct
graphics_opengl_window_system_methods
window_system_methods
 
QNavitWidgetwidget
 
QPixmap * pixmap
 
QPainter * painter
 
int use_count
 
int disable
 
int x
 
int y
 
int scroll_x
 
int scroll_y
 
struct graphics_gc_privbackground_graphics_gc_priv
 
struct callbackdisplay_on_cb
 
struct event_timeoutdisplay_on_ev
 
struct callback_listcallbacks
 
GHashTable * overlays
 
bool root
 
int argc
 
char * argv [4]
 
QApplication * app
 
RenderAreawidget
 
unsigned char rgba [4]
 
int overlay_disable
 
struct font_priv *(* font_freetype_new )(void *meth)
 
SDL_Surface * screen
 
int aa
 
uint32_t video_flags
 
int video_bpp
 
int overlay_mode
 
int overlay_x
 
int overlay_y
 
struct graphics_privoverlay_parent
 
int overlay_idx
 
struct graphics_privoverlay_array [OVERLAY_MAX]
 
int overlay_enable
 
enum draw_mode_num draw_mode
 
int resize_callback_initial
 
int frame
 
int disabled
 
HANDLE wnd_parent_handle
 
HANDLE wnd_handle
 
COLORREF bg_color
 
struct color transparent_color
 
DWORD * pPixelData
 
HDC hMemDC
 
HDC hPrebuildDC
 
HBITMAP hBitmap
 
HBITMAP hPrebuildBitmap
 
HBITMAP hOldBitmap
 
HBITMAP hOldPrebuildBitmap
 
FP_AlphaBlend AlphaBlend
 
FP_SetStretchBltMode SetStretchBltMode
 
DWORD dwFlag
 
UINT message
 
UINT DWORD action
 
UINT DWORD void * pChangeFilterStruct
 
HANDLE hCoreDll
 
HANDLE hUser32Dll
 
HANDLE hGdi32Dll
 
GHashTable * image_cache_hash
 

Protected Attributes

NavitViewview
 
CGLayerRef layer
 
CGContextRef layer_context
 
struct point p pclean
 
int w
 
int h
 
int wraparound
 
int overlay_disabled
 
int cleanup
 
struct graphics_privparent
 
struct graphics_privnext
 
struct graphics_privoverlays
 

Detailed Description

Navit, a modular navigation system. Copyright (C) 2005-2008 Navit Team

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Member Function Documentation

graphics_priv::BOOL ( WINAPI *  ChangeWindowMessageFilter)
graphics_priv::BOOL ( WINAPI *  ChangeWindowMessageFilterEx)

Field Documentation

int graphics_priv::aa
UINT DWORD graphics_priv::action
FP_AlphaBlend graphics_priv::AlphaBlend

Referenced by bind_late(), overlay_new(), and pngrender().

QApplication* graphics_priv::app
int graphics_priv::argc
char* graphics_priv::argv[4]
struct graphics_gc_priv* graphics_priv::background
struct graphics_gc_priv * graphics_priv::background_gc
struct graphics_gc_priv* graphics_priv::background_graphics_gc_priv
COLORREF graphics_priv::bg_color

Referenced by background_gc(), and draw_mode().

jint graphics_priv::bgcolor

Referenced by graphics_android_new(), and set_attr().

jmethodID graphics_priv::Bitmap_createScaledBitmap

Referenced by graphics_android_init(), and image_new().

jmethodID graphics_priv::Bitmap_getHeight

Referenced by graphics_android_init(), and image_new().

jmethodID graphics_priv::Bitmap_getWidth

Referenced by graphics_android_init(), and image_new().

jclass graphics_priv::BitmapClass

Referenced by graphics_android_init(), and image_new().

jmethodID graphics_priv::BitmapFactory_decodeFile

Referenced by graphics_android_init(), and image_new().

jmethodID graphics_priv::BitmapFactory_decodeResource

Referenced by graphics_android_init(), and image_new().

jclass graphics_priv::BitmapFactoryClass

Referenced by graphics_android_init(), and image_new().

void(* graphics_priv::button_callback)(void *data, int press, int button, struct point *p)
void* graphics_priv::button_callback_data
GdkEventButton graphics_priv::button_event
struct timeval graphics_priv::button_press[8]
struct timeval graphics_priv::button_release[8]
int graphics_priv::button_timeout
struct callback* graphics_priv::cb

Referenced by graphics_gd_new().

int graphics_priv::cleanup
protected

Referenced by draw_drag(), and draw_mode().

GLint graphics_priv::color_location

Referenced by overlay_new(), and set_color().

jmethodID graphics_priv::Context_getResources

Referenced by graphics_android_init().

jclass graphics_priv::ContextClass

Referenced by graphics_android_init().

int graphics_priv::delay
int graphics_priv::disable
int graphics_priv::disabled
struct callback* graphics_priv::display_on_cb
struct event_timeout* graphics_priv::display_on_ev
GLuint graphics_priv::DLid
enum draw_mode_num graphics_priv::draw_mode

Referenced by draw_mode().

int graphics_priv::dummy
DWORD graphics_priv::dwFlag
int graphics_priv::fill_poly
struct font_priv*(* graphics_priv::font_freetype_new)(void *meth)
int graphics_priv::frame
GLuint graphics_priv::framebuffer_name
HBITMAP graphics_priv::hBitmap

Referenced by create_memory_dc().

HANDLE graphics_priv::hCoreDll

Referenced by bind_late().

HANDLE graphics_priv::hGdi32Dll

Referenced by bind_late().

HBITMAP graphics_priv::hOldBitmap

Referenced by create_memory_dc().

HBITMAP graphics_priv::hOldPrebuildBitmap
HBITMAP graphics_priv::hPrebuildBitmap
HDC graphics_priv::hPrebuildDC
HANDLE graphics_priv::hUser32Dll

Referenced by bind_late().

struct graphics_data_image graphics_priv::image

Referenced by get_data().

GHashTable* graphics_priv::image_cache_hash
time_t graphics_priv::last_refresh_time
CGLayerRef graphics_priv::layer
protected
CGContextRef graphics_priv::layer_context
protected
int graphics_priv::library_init
UINT graphics_priv::message
enum draw_mode_num graphics_priv::mode
void(* graphics_priv::motion_callback)(void *data, struct point *p)
void* graphics_priv::motion_callback_data
GLint graphics_priv::mvp_location

Referenced by draw_mode(), and overlay_new().

jmethodID graphics_priv::NavitGraphics_draw_circle
jmethodID graphics_priv::NavitGraphics_draw_drag

Referenced by draw_drag(), and graphics_android_init().

jmethodID graphics_priv::NavitGraphics_draw_image
jmethodID graphics_priv::NavitGraphics_draw_image_warp
jmethodID graphics_priv::NavitGraphics_draw_mode

Referenced by draw_mode(), and graphics_android_init().

jmethodID graphics_priv::NavitGraphics_draw_polygon
jmethodID graphics_priv::NavitGraphics_draw_polyline
jmethodID graphics_priv::NavitGraphics_draw_rectangle
jmethodID graphics_priv::NavitGraphics_draw_text

Referenced by draw_text(), and graphics_android_init().

jmethodID graphics_priv::NavitGraphics_overlay_disable
jmethodID graphics_priv::NavitGraphics_overlay_resize
jmethodID graphics_priv::NavitGraphics_setBackgroundColor

Referenced by graphics_android_new(), and set_attr().

jmethodID graphics_priv::NavitGraphics_SetCamera

Referenced by graphics_android_init(), and set_attr().

jclass graphics_priv::NavitGraphicsClass
struct graphics_priv * graphics_priv::next
protected
struct graphics_priv* graphics_priv::overlay_array[OVERLAY_MAX]
int graphics_priv::overlay_autodisabled
int graphics_priv::overlay_disable
int graphics_priv::overlay_disabled
protected

Referenced by overlay_disable(), and overlay_draw().

int graphics_priv::overlay_idx

Referenced by graphics_destroy(), and overlay_new().

int graphics_priv::overlay_mode
GLuint graphics_priv::overlay_texture
int graphics_priv::overlay_x

Referenced by draw_drag(), draw_mode(), and overlay_new().

int graphics_priv::overlay_y

Referenced by draw_drag(), draw_mode(), and overlay_new().

struct graphics_priv * graphics_priv::overlays
jobject graphics_priv::packageName

Referenced by graphics_android_init(), and image_new().

jmethodID graphics_priv::Paint_init

Referenced by graphics_android_init().

jmethodID graphics_priv::Paint_setARGB

Referenced by graphics_android_init(), and initPaint().

jmethodID graphics_priv::Paint_setStrokeWidth

Referenced by graphics_android_init(), and initPaint().

jclass graphics_priv::PaintClass

Referenced by graphics_android_init().

UINT DWORD void* graphics_priv::pChangeFilterStruct
struct point p graphics_priv::pclean
protected

Referenced by draw_drag(), and overlay_rect().

int graphics_priv::pid
struct graphics_opengl_platform * graphics_priv::platform

Referenced by draw_mode(), and graphics_destroy().

struct graphics_opengl_platform_methods * graphics_priv::platform_methods

Referenced by draw_mode().

GLint graphics_priv::position_location

Referenced by draw_array(), and overlay_new().

DWORD* graphics_priv::pPixelData

Referenced by create_memory_dc(), and WndProc().

GLuint graphics_priv::program
void(* graphics_priv::resize_callback)(void *data, int w, int h)
void* graphics_priv::resize_callback_data
int graphics_priv::resize_callback_initial

Referenced by graphics_sdl_idle().

jobject graphics_priv::Resources

Referenced by graphics_android_init(), and image_new().

jmethodID graphics_priv::Resources_getIdentifier

Referenced by graphics_android_init(), and image_new().

jclass graphics_priv::ResourcesClass

Referenced by graphics_android_init().

unsigned char graphics_priv::rgba[4]

Referenced by background_gc(), and qt_qpainter_draw().

FP_SetStretchBltMode graphics_priv::SetStretchBltMode

Referenced by bind_late(), and pngscale().

void* graphics_priv::shm
struct shmem_header* graphics_priv::shm_header
int graphics_priv::shmkey
int graphics_priv::shmoffset

Referenced by set_attr_do(), and shm_next().

int graphics_priv::shmsize

Referenced by set_attr_do(), and shm_next().

int graphics_priv::show_overlays
GList* graphics_priv::sockets

Referenced by draw_mode(), and set_attr_do().

GLint graphics_priv::texture_location

Referenced by overlay_new().

GLint graphics_priv::texture_position_location
int graphics_priv::timeout
struct color graphics_priv::transparent_color

Referenced by gc_set_foreground(), and WndProc().

int graphics_priv::use_count
GLint graphics_priv::use_texture_location
int graphics_priv::video_bpp
uint32_t graphics_priv::video_flags
NavitView* graphics_priv::view
protected
int graphics_priv::visible

Referenced by configure(), and expose().

QNavitWidget* graphics_priv::widget
RenderArea* graphics_priv::widget
GtkWidget* graphics_priv::win
int graphics_priv::win_h
int graphics_priv::win_w
struct graphics_opengl_window_system* graphics_priv::window_system
struct graphics_opengl_window_system_methods* graphics_priv::window_system_methods
HANDLE graphics_priv::wnd_handle
HANDLE graphics_priv::wnd_parent_handle

Referenced by CreateGraphicsWindows(), and get_data().

int graphics_priv::wraparound
protected

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