#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 |
BITMAPINFO * | bmi = NULL |
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 | ( | ) |
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.
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 |
HWND hWnd = NULL |
Definition at line 17 of file asview.cpp.
Referenced by TGWin32::ConvertSelection(), TGWin32::DeleteProperty(), TGWin32::GetProperty(), MyWindowProc(), TGWin32::SetSelectionOwner(), and WinMain().