fs/rap/fsConWin.cpp File Reference

#include <fs/rap/fsConWin.h>
#include <fs/sys/fsAssert.h>
#include <map>
#include <vector>
#include <string>
#include <windows.h>

Include dependency graph for fsConWin.cpp:

Go to the source code of this file.

Defines

#define FS_VERIFY_RETURN(exp)   if(!(exp)) { FS_ASSERT_MSG(0, #exp "<return>"); return; }
#define FS_VERIFY_RETURN_VAL(exp, ret)   if(!(exp)) { FS_ASSERT_MSG(0, #exp "<returns:>" #ret); return (ret); }

Typedefs

typedef std::pair< HWND, ConWinImpl_t * > THwnd2ConPair
typedef std::map< HWND, ConWinImpl_t * > THwnd2ConMap
typedef std::vector< ConWin_t::TxtRcvr_i * > TTxtRcvrs
typedef std::vector< std::string > THist

Functions

LRESULT CALLBACK WndProc (HWND hWnd, UINT msg, WPARAM wPrm, LPARAM lPrm)
LRESULT CALLBACK InWndProc (HWND hWnd, UINT msg, WPARAM wPrm, LPARAM lPrm)
LRESULT CALLBACK WndProc (HWND hWnd, UINT msg, WPARAM wPrm, LPARAM lPrm)
LRESULT CALLBACK InWndProc (HWND hWnd, UINT msg, WPARAM wPrm, LPARAM lPrm)

Variables

THwnd2ConMap g_Hwnd2ConMap
 Global register, mainly for WndProc.
bool m_bInited
HFONT m_hOutFnt
HWND m_hMainWnd
HWND m_hOutWnd
HWND m_hInWnd
WNDPROC m_pOrigInWndProc
TTxtRcvrs m_TxtRcvrs
THist m_Hist
int m_nHistPos


Define Documentation

#define FS_VERIFY_RETURN ( exp   )     if(!(exp)) { FS_ASSERT_MSG(0, #exp "<return>"); return; }

Definition at line 40 of file fsConWin.cpp.

#define FS_VERIFY_RETURN_VAL ( exp,
ret   )     if(!(exp)) { FS_ASSERT_MSG(0, #exp "<returns:>" #ret); return (ret); }

Definition at line 44 of file fsConWin.cpp.


Typedef Documentation

typedef std::vector<std::string> THist

Definition at line 122 of file fsConWin.cpp.

typedef std::map<HWND, ConWinImpl_t *> THwnd2ConMap [static]

Definition at line 72 of file fsConWin.cpp.

typedef std::pair<HWND, ConWinImpl_t *> THwnd2ConPair [static]

Definition at line 71 of file fsConWin.cpp.

typedef std::vector<ConWin_t::TxtRcvr_i *> TTxtRcvrs

Definition at line 119 of file fsConWin.cpp.


Function Documentation

LRESULT CALLBACK @1::InWndProc ( HWND  hWnd,
UINT  msg,
WPARAM  wPrm,
LPARAM  lPrm 
) [static]

Definition at line 493 of file fsConWin.cpp.

References FS_ASSERT.

LRESULT CALLBACK @1::InWndProc ( HWND  hWnd,
UINT  msg,
WPARAM  wPrm,
LPARAM  lPrm 
) [static]

LRESULT CALLBACK @1::WndProc ( HWND  hWnd,
UINT  msg,
WPARAM  wPrm,
LPARAM  lPrm 
) [static]

Definition at line 472 of file fsConWin.cpp.

References FS_ASSERT.

LRESULT CALLBACK @1::WndProc ( HWND  hWnd,
UINT  msg,
WPARAM  wPrm,
LPARAM  lPrm 
) [static]


Variable Documentation

THwnd2ConMap g_Hwnd2ConMap [static]

Global register, mainly for WndProc.

Definition at line 73 of file fsConWin.cpp.

bool m_bInited

Definition at line 112 of file fsConWin.cpp.

HWND m_hInWnd

Definition at line 116 of file fsConWin.cpp.

THist m_Hist

Definition at line 123 of file fsConWin.cpp.

HWND m_hMainWnd

Definition at line 114 of file fsConWin.cpp.

HFONT m_hOutFnt

Definition at line 113 of file fsConWin.cpp.

HWND m_hOutWnd

Definition at line 115 of file fsConWin.cpp.

int m_nHistPos

Definition at line 124 of file fsConWin.cpp.

WNDPROC m_pOrigInWndProc

Definition at line 117 of file fsConWin.cpp.

TTxtRcvrs m_TxtRcvrs

Definition at line 120 of file fsConWin.cpp.


FipS' Code (Thu Feb 15 22:43:41 2007) - (c) Filip STOKLAS (FipS) - [ www ] [ Guest Book ]