DAS
3.1.6 - 18/09/2017
|
Danbo Zoom tool. More...
#include <windows.h>
#include <stdio.h>
#include <math.h>
#include "mgui.h"
#include "bil.h"
#include "DAS_Spatram.h"
Go to the source code of this file.
Functions | |
void | D_DoLens (MIMAGE lensmim, MOBJECT lensdraw, int lenswx, int lenswy, int lenspix, int sx, int sy) |
void | D_Lens (void) |
void | D_LensCloseCB (MOBJECT p, void *od, void *ad) |
void | D_LensResizeCB (MOBJECT obj, DRAWAREA_PREF *pref, void *ad) |
void | D_LensZoom (MOBJECT o, MVALUE o_data, void *a_data) |
void | D_To_DoLens (void) |
Variables | |
MOBJECT | LensShell |
unsigned int | Maxx |
Danbo Zoom tool.
Definition in file D_Zoom.c.
void D_DoLens | ( | MIMAGE | lensmim, |
MOBJECT | lensdraw, | ||
int | lenswx, | ||
int | lenswy, | ||
int | lenspix, | ||
int | sx, | ||
int | sy | ||
) |
Definition at line 29 of file D_Zoom.c.
References BIL, bil::BLENS, mtcl::blue, bil::DPLOT, d_view::Imax, blens::Imim, d_view::Imin, maxploth, MDrawBox(), MDrawImage(), MDrawLine(), MImageGetPixelRGB(), MImageSetPixelRGB(), MInstallImage(), MTCL, MUninstallImage(), and p.
Referenced by D_LensResizeCB(), D_LensZoom(), D_To_DoLens(), and DB_AreaInput().
void D_Lens | ( | void | ) |
Definition at line 138 of file D_Zoom.c.
References BIL, bil::BLENS, D_LensCloseCB(), D_LensResizeCB(), D_LensZoom(), D_To_DoLens(), False, HELV_SMALL, lbl, blens::LensDraw, blens::LensLbl, blens::LensLblX, blens::LensLblY, blens::LensMim, blens::LensON, blens::LensPix, LensShell, blens::LensWx, blens::LensWy, MAllocImage(), Maxx, MAXZOOM, MCreateColForm(), MCreateDrawArea(), MCreateLabel(), MCreateRowForm(), MCreateScrollBar(), MCreateShell(), MDrawAreaSetExposeCallback(), MDrawAreaSetResizeCallback(), MGetScreenWidth(), MObjectSetBackgroundRGB(), MObjectSetResize(), MObjectSetShadow(), MScrollBarSetPos(), MScrollBarSetPosCallback(), MShellRaise(), MShellRealize(), MShellSetWMCloseCallback(), newfont, SBT_HOR, SF_NO_MAXIMIZE, SF_NO_MINIMIZE, True, and WS_NONE.
Referenced by D_PButt_CB(), and MenuToolsOLP_CB().
void D_LensCloseCB | ( | MOBJECT | p, |
void * | od, | ||
void * | ad | ||
) |
Definition at line 129 of file D_Zoom.c.
References BIL, bil::BLENS, blens::LensMim, blens::LensON, MFreeImage(), MShellDestroy(), and MShellUnrealize().
Referenced by D_Lens().
void D_LensResizeCB | ( | MOBJECT | obj, |
DRAWAREA_PREF * | pref, | ||
void * | ad | ||
) |
Definition at line 115 of file D_Zoom.c.
References BIL, bil::BLENS, D_DoLens(), blens::LensDraw, blens::LensMim, blens::LensPix, blens::LensWx, blens::LensWy, blens::LocX, blens::LocY, blens::LWx, blens::LWy, MAllocImage(), MFreeImage(), DRAWAREA_PREF::new_h, and DRAWAREA_PREF::new_w.
Referenced by D_Lens().
Definition at line 94 of file D_Zoom.c.
References BIL, bil::BLENS, D_DoLens(), blens::LensDraw, blens::LensMim, blens::LensPix, blens::LensWx, blens::LensWy, blens::LocX, blens::LocY, blens::LWx, and blens::LWy.
Referenced by D_Lens().
void D_To_DoLens | ( | void | ) |
Definition at line 111 of file D_Zoom.c.
References BIL, bil::BLENS, D_DoLens(), blens::LensDraw, blens::LensMim, blens::LensPix, blens::LocX, blens::LocY, blens::LWx, and blens::LWy.
Referenced by D_Lens().