# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

CTView Class Reference

#include <View.h>

Inheritance diagram for CTView

Inheritance graph
[legend]
Collaboration diagram for CTView:

Collaboration graph
[legend]
List of all members.

Public Methods

 CTView ()
 TileCtrl ()
void Init (int _land, int n)
void Delete ()
void DrawTile (tilelist::iterator i,CDC *pDC,int clear,int n)
int LoadInListCtrl (tilelist::iterator iFirst,tilelist::iterator iLast)
void DeleteTile (tilelist::iterator p)
int IsSelected (int i)
void RemoveSelection (int n)
void ShadeRect ( CDC *pDC, CRect& rect )
void InsertItemInCtrlList (tilelist::iterator iFirst,tilelist::iterator iLast)
void GetVisibility (int &First,int &Last, int n)
int GetNbTileLine (void)
int GetNbTileColumn (void)
int GetIndex (LPPOINT pt, int n)
tilelist::iterator GetTileSelection (tilelist::iterator i)
POINT GetPos (int i)
void UpdateSelection (LPRECT rect_,int mode, int n)
void DrawDragRect (CDC *pDC,LPCRECT lpRect, SIZE size,LPCRECT lpRectLast, SIZE sizeLast, CBrush* pBrush = NULL, CBrush* pBrushLast = NULL)
void UpdateSize (int n)
void UpdateBar (int iFirst,int iLast, int n)
virtual ~CTView ()

Public Attributes

std::string LastPath
int smEdgeList
int lockInsertion
TileList InfoList
int sizetile_x
int sizetile_y
int sizetext_y
int sizeicon_x
int sizeicon_y
int spacing_x
int spacing_y
int spacing_tile_text
int scrollpos
int lastVBarPos
int Sort
int Zoom
int Texture
int InfoTexte
CImageList* pImList
void* pipo_buffer
CBitmap* bmp
int count_
int ViewTileMode
TileInfo TileCroix
CPoint MousePos
int iFirst
int iLast
int iFV
int iLV
int bPopup

Protected Methods

virtual LRESULT WindowProc (UINT message, WPARAM wParam, LPARAM lParam)
afx_msg void OnDropFiles (HDROP hDropInfo)
afx_msg void OnPaint ()
afx_msg void OnLButtonDblClk (UINT nFlags, CPoint point)
afx_msg void OnLButtonDown (UINT nFlags, CPoint point)
afx_msg void OnRButtonDown (UINT nFlags, CPoint point)

Constructor & Destructor Documentation

CTView::CTView ( )
 

Definition at line 672 of file View.cpp.

CTView::~CTView ( ) [virtual]
 

Definition at line 684 of file View.cpp.


Member Function Documentation

void CTView::Delete ( )
 

Definition at line 702 of file View.cpp.

Referenced by WindowProc().

void CTView::DeleteTile ( tilelist::iterator p )
 

Definition at line 966 of file View.cpp.

void CTView::DrawDragRect ( CDC * pDC,
LPCRECT lpRect,
SIZE size,
LPCRECT lpRectLast,
SIZE sizeLast,
CBrush * pBrush = NULL,
CBrush * pBrushLast = NULL )
 

Definition at line 1307 of file View.cpp.

Referenced by Browse::WindowProc().

void CTView::DrawTile ( tilelist::iterator i,
CDC * pDC,
int clear,
int n )
 

Definition at line 1120 of file View.cpp.

Referenced by OnPaint(), and Browse::WindowProc().

int CTView::GetIndex ( LPPOINT pt,
int n )
 

Definition at line 738 of file View.cpp.

Referenced by Browse::WindowProc().

int CTView::GetNbTileColumn ( void )
 

Definition at line 713 of file View.cpp.

Referenced by UpdateBar(), and Browse::WindowProc().

int CTView::GetNbTileLine ( void )
 

Definition at line 707 of file View.cpp.

Referenced by UpdateBar(), and Browse::WindowProc().

POINT CTView::GetPos ( int i )
 

Definition at line 760 of file View.cpp.

Referenced by DrawTile().

tilelist::iterator CTView::GetTileSelection ( tilelist::iterator i )
 

void CTView::GetVisibility ( int & First,
int & Last,
int n )
 

Definition at line 724 of file View.cpp.

Referenced by OnDropFiles(), OnPaint(), and Browse::WindowProc().

void CTView::Init ( int _land,
int n )
 

Definition at line 688 of file View.cpp.

Referenced by Browse::Init().

void CTView::InsertItemInCtrlList ( tilelist::iterator iFirst,
tilelist::iterator iLast )
 

Definition at line 1381 of file View.cpp.

int CTView::IsSelected ( int i )
 

Definition at line 993 of file View.cpp.

int CTView::LoadInListCtrl ( tilelist::iterator iFirst,
tilelist::iterator iLast )
 

void CTView::OnDropFiles ( HDROP hDropInfo ) [protected]
 

Definition at line 1060 of file View.cpp.

void CTView::OnLButtonDblClk ( UINT nFlags,
CPoint point ) [protected]
 

Definition at line 1634 of file View.cpp.

void CTView::OnLButtonDown ( UINT nFlags,
CPoint point ) [protected]
 

Definition at line 1626 of file View.cpp.

void CTView::OnPaint ( ) [protected]
 

Definition at line 1014 of file View.cpp.

void CTView::OnRButtonDown ( UINT nFlags,
CPoint point ) [protected]
 

Definition at line 1594 of file View.cpp.

void CTView::RemoveSelection ( int n )
 

Definition at line 1373 of file View.cpp.

void CTView::ShadeRect ( CDC * pDC,
CRect & rect )
 

Definition at line 1265 of file View.cpp.

Referenced by DrawTile().

CTView::TileCtrl ( )
 

void CTView::UpdateBar ( int iFirst,
int iLast,
int n )
 

Definition at line 973 of file View.cpp.

Referenced by OnDropFiles(), OnPaint(), and Browse::WindowProc().

void CTView::UpdateSelection ( LPRECT rect_,
int mode,
int n )
 

Definition at line 769 of file View.cpp.

Referenced by Browse::WindowProc().

void CTView::UpdateSize ( int n )
 

Definition at line 998 of file View.cpp.

Referenced by Init(), Browse::OnChangeVariety(), and Browse::WindowProc().

LRESULT CTView::WindowProc ( UINT message,
WPARAM wParam,
LPARAM lParam ) [protected, virtual]
 

Definition at line 1395 of file View.cpp.


Member Data Documentation

TileList CTView::InfoList
 

Definition at line 153 of file View.h.

int CTView::InfoTexte
 

Definition at line 161 of file View.h.

std::string CTView::LastPath
 

Definition at line 150 of file View.h.

CPoint CTView::MousePos
 

Definition at line 168 of file View.h.

int CTView::Sort
 

Definition at line 158 of file View.h.

int CTView::Texture
 

Definition at line 160 of file View.h.

TileInfo CTView::TileCroix
 

Definition at line 167 of file View.h.

int CTView::ViewTileMode
 

Definition at line 166 of file View.h.

int CTView::Zoom
 

Definition at line 159 of file View.h.

int CTView::bPopup
 

Definition at line 171 of file View.h.

CBitmap * CTView::bmp
 

Definition at line 164 of file View.h.

int CTView::count_
 

Definition at line 165 of file View.h.

int CTView::iFV
 

Definition at line 170 of file View.h.

int CTView::iFirst
 

Definition at line 169 of file View.h.

int CTView::iLV
 

Definition at line 170 of file View.h.

int CTView::iLast
 

Definition at line 169 of file View.h.

int CTView::lastVBarPos
 

Definition at line 157 of file View.h.

int CTView::lockInsertion
 

Definition at line 152 of file View.h.

CImageList * CTView::pImList
 

Definition at line 162 of file View.h.

void * CTView::pipo_buffer
 

Definition at line 163 of file View.h.

int CTView::scrollpos
 

Definition at line 157 of file View.h.

int CTView::sizeicon_x
 

Definition at line 156 of file View.h.

int CTView::sizeicon_y
 

Definition at line 156 of file View.h.

int CTView::sizetext_y
 

Definition at line 155 of file View.h.

int CTView::sizetile_x
 

Definition at line 155 of file View.h.

int CTView::sizetile_y
 

Definition at line 155 of file View.h.

int CTView::smEdgeList
 

Definition at line 151 of file View.h.

int CTView::spacing_tile_text
 

Definition at line 156 of file View.h.

int CTView::spacing_x
 

Definition at line 156 of file View.h.

int CTView::spacing_y
 

Definition at line 156 of file View.h.


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