asview.cpp File Reference

#include "stdafx.h"

Go to the source code of this file.

Functions

void usage ()
LRESULT CALLBACK MyWindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
void show_system_error ()
int APIENTRY WinMain (HINSTANCE hInstance, HINSTANCE, LPSTR lpCmdLine, int nCmdShow)

Variables

HINSTANCE hinst
HWND hWnd = NULL
void * bmbits = NULL
BITMAPINFObmi = NULL


Function Documentation

LRESULT CALLBACK MyWindowProc ( HWND  hwnd,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 122 of file asview.cpp.

References tagBITMAPINFOHEADER::biHeight, tagBITMAPINFOHEADER::biWidth, bmbits, bmi, tagBITMAPINFO::bmiHeader, HDC(), hWnd, and NULL.

Referenced by WinMain().

void show_system_error (  ) 

Definition at line 145 of file asview.cpp.

References LPVOID, and NULL.

Referenced by WinMain().

void usage ( void   ) 

Definition at line 6 of file asview.cpp.

int APIENTRY WinMain ( HINSTANCE  hInstance,
HINSTANCE  ,
LPSTR  lpCmdLine,
int  nCmdShow 
)

Definition at line 23 of file asview.cpp.

References ASImage2DBI, tagBITMAPINFOHEADER::biHeight, tagBITMAPINFOHEADER::biWidth, bmbits, bmi, tagBITMAPINFO::bmiHeader, create_asvisual(), CreateWindow(), FALSE, file2ASImage(), ASImage::height, hinst, hWnd, i, MyWindowProc(), NULL, SCREEN_GAMMA, show_system_error(), UpdateWindow(), usage, and ASImage::width.


Variable Documentation

void* bmbits = NULL

Definition at line 18 of file asview.cpp.

Referenced by ASImage2bmp(), TGWin32::GetColorBits(), MyWindowProc(), and WinMain().

BITMAPINFO* bmi = NULL

Definition at line 19 of file asview.cpp.

Referenced by ASImage2bmp(), BitmapToRegion(), gdk_image_get(), gdk_image_new_bitmap(), gdk_image_new_with_depth(), gdk_image_put(), gdk_pixmap_new(), gdk_visual_init(), TGWin32::GetColorBits(), MyWindowProc(), and WinMain().

HINSTANCE hinst

Definition at line 16 of file asview.cpp.

Referenced by WinMain().

HWND hWnd = NULL

Definition at line 17 of file asview.cpp.

Referenced by TGWin32::ConvertSelection(), TGWin32::DeleteProperty(), TGWin32::GetProperty(), MyWindowProc(), TGWin32::SetSelectionOwner(), and WinMain().


Generated on Tue Jul 5 15:58:18 2011 for ROOT_528-00b_version by  doxygen 1.5.1