CvThumbNailFrame Class Reference

#include <vThumbNailFrame.h>

Inheritance diagram for CvThumbNailFrame:
Inheritance graph
[legend]
Collaboration diagram for CvThumbNailFrame:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void onLButtonDBLClick ()

Protected Member Functions

 CvThumbNailFrame ()
virtual ~CvThumbNailFrame ()

Detailed Description

Definition at line 22 of file vThumbNailFrame.h.


Constructor & Destructor Documentation

CvThumbNailFrame (  )  [protected]

Definition at line 25 of file vThumbNailFrame.cpp.

00026 {
00027 }

~CvThumbNailFrame (  )  [protected, virtual]

Definition at line 31 of file vThumbNailFrame.cpp.

00032 {
00033 }


Member Function Documentation

void onLButtonDBLClick (  )  [virtual]

Reimplemented from CExFrame.

Definition at line 51 of file vThumbNailFrame.cpp.

References APP_TEMPL_VTHUMBNAILFRAME, and jbxwl::ExecTemplate().

00052 {
00053     POINT  pt = pView->GetMousePos();
00054     if (pt.x<0 || pt.y<0) return;
00055     pt.y = pt.y + pView->vSBpos;
00056 
00057     int n = ((CvThumbNailDoc*)pDoc)->GetTNailNum(pt) - 1;
00058 
00059     if (n>=0) {
00060         colorMode = pDoc->colorMode & GRAPH_COLOR_MASK;
00061 
00062         // Plane毎に色が分かれている場合は Plane(8bit)毎に表示
00063         if (pDoc->colorMode & GRAPH_COLOR_USE_PLANE) colorMode = GRAPH_COLOR_MONO;
00064 
00065         /*
00066         colorMode = pDoc->colorMode;
00067         if (colorMode==GRAPH_COLOR_RGB  || colorMode==GRAPH_COLOR_BGR  || 
00068             colorMode==GRAPH_COLOR_XRGB || colorMode==GRAPH_COLOR_ARGB || colorMode==GRAPH_COLOR_RGBA || 
00069             colorMode==GRAPH_COLOR_XBGR || colorMode==GRAPH_COLOR_ABGR || colorMode==GRAPH_COLOR_BGRA) {
00070             colorMode = GRAPH_COLOR_MONO;   // Plane毎に色が分かれている場合は Plane(8bit)毎に表示
00071         }*/
00072 
00073         CMultiDocTemplate* ptemp = pApp->GetMultiDocTemplate(APP_TEMPL_VTHUMBNAILFRAME);
00074         ExecTemplate(ptemp, &pDoc->msGraph, NULL, this, n);
00075         
00076         /*
00077         pApp->callMSGraph.setup(pDoc->msGraph.xs, pDoc->msGraph.ys, 1);
00078         if (pApp->callMSGraph.isNull()) return;
00079         for (int i=0; i<pDoc->msGraph.xs*pDoc->msGraph.ys; i++) {
00080             pApp->callMSGraph.gp[i] = pDoc->msGraph.gp[(n-1)*pDoc->msGraph.xs*pDoc->msGraph.ys + i];
00081         }
00082         pApp->TemplateCallBack(this, APP_CALLBACK_2D);
00083         pApp->callMSGraph.init();
00084         */
00085     }
00086 }

Here is the call graph for this function:


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

Generated on 15 Nov 2023 for JunkBox_Win_Lib by  doxygen 1.6.1