#include "tinyptc.h"#include "convert.h"#include "ddraw.h"Go to the source code of this file.
Defines | |
| #define | WIN32_LEAN_AND_MEAN |
| #define | SC_ZOOM_MSK 0x400 |
| #define | SC_ZOOM_1x1 0x401 |
| #define | SC_ZOOM_2x2 0x402 |
| #define | SC_ZOOM_4x4 0x404 |
Typedefs | |
| typedef LPDIRECTDRAW FAR * | lplpDD |
| typedef LPDIRECTDRAW FAR IUnknown FAR * | pUnkOuter |
Functions | |
| typedef | HRESULT (WINAPI *DIRECTDRAWCREATE)(GUID FAR *lpGUID |
| static void | ptc_paint_primary () |
| static LRESULT CALLBACK | WndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) |
| int | ptc_open (char *title, int width, int height) |
| int | ptc_update (void *buffer) |
| void | ptc_close () |
Variables | |
| PTC_CONVERTER | convert |
| static HMODULE | library = 0 |
| static LPDIRECTDRAW | lpDD = 0 |
| static LPDIRECTDRAWSURFACE | lpDDS = 0 |
| static LPDIRECTDRAWSURFACE | lpDDS_back |
| static WNDCLASS | wc |
| static HWND | wnd |
| static int | active |
| static int | dx |
| static int | dy |
| static LPDIRECTDRAWCLIPPER | lpDDC = 0 |
| static LPDIRECTDRAWSURFACE | lpDDS_secondary = 0 |
| static int | original_window_width |
| static int | original_window_height |
| static HMENU | system_menu |
|
|
Definition at line 81 of file ddraw.c. Referenced by ptc_open(). |
|
|
Definition at line 82 of file ddraw.c. Referenced by ptc_open(). |
|
|
Definition at line 83 of file ddraw.c. Referenced by ptc_open(). |
|
|
Definition at line 80 of file ddraw.c. Referenced by WndProc(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 489 of file ddraw.c. References library, lpDD, lpDDS, lpDDS_secondary, and wnd. Referenced by CPintador::finalizar(), and WndProc(). |
|
||||||||||||||||
|
Definition at line 186 of file ddraw.c. References __PTC_ICON__, convert, dx, dy, library, lpDD, lpDDC, lpDDS, lpDDS_back, lpDDS_secondary, original_window_height, original_window_width, ptc_request_converter(), SC_ZOOM_1x1, SC_ZOOM_2x2, SC_ZOOM_4x4, system_menu, wc, wnd, and WndProc(). Referenced by CPintador::iniciar(). |
|
|
Definition at line 42 of file ddraw.c. References dx, dy, lpDDS, lpDDS_secondary, and wnd. Referenced by ptc_update(), and WndProc(). |
|
|
Definition at line 411 of file ddraw.c. References active, convert, dx, dy, lpDDS, lpDDS_back, lpDDS_secondary, ptc_paint_primary(), and wnd. Referenced by CPintador::render(). |
|
||||||||||||||||||||
|
Definition at line 85 of file ddraw.c. References active, original_window_height, original_window_width, ptc_close(), ptc_paint_primary(), and SC_ZOOM_MSK. Referenced by ptc_open(). |
|
|
Definition at line 21 of file ddraw.c. Referenced by ptc_update(), and WndProc(). |
|
|
Definition at line 14 of file ddraw.c. Referenced by ptc_open(), and ptc_update(). |
|
|
Definition at line 22 of file ddraw.c. Referenced by CPintador::lineaB(), CPintador::lineac(), ptc_open(), ptc_paint_primary(), and ptc_update(). |
|
|
Definition at line 23 of file ddraw.c. Referenced by CPintador::lineaB(), CPintador::lineac(), ptc_open(), ptc_paint_primary(), and ptc_update(). |
|
|
Definition at line 15 of file ddraw.c. Referenced by ptc_close(), and ptc_open(). |
|
|
Definition at line 16 of file ddraw.c. Referenced by ptc_close(), and ptc_open(). |
|
|
Definition at line 26 of file ddraw.c. Referenced by ptc_open(). |
|
|
Definition at line 17 of file ddraw.c. Referenced by ptc_close(), ptc_open(), ptc_paint_primary(), and ptc_update(). |
|
|
Definition at line 18 of file ddraw.c. Referenced by ptc_open(), and ptc_update(). |
|
|
Definition at line 27 of file ddraw.c. Referenced by ptc_close(), ptc_open(), ptc_paint_primary(), and ptc_update(). |
|
|
Definition at line 32 of file ddraw.c. Referenced by ptc_open(), and WndProc(). |
|
|
Definition at line 31 of file ddraw.c. Referenced by ptc_open(), and WndProc(). |
|
|
Definition at line 33 of file ddraw.c. Referenced by ptc_open(). |
|
|
Definition at line 19 of file ddraw.c. Referenced by ptc_open(). |
|
|
Definition at line 20 of file ddraw.c. Referenced by ptc_close(), ptc_open(), ptc_paint_primary(), and ptc_update(). |
1.4.2