Skip to content

Commit 862b033

Browse files
committed
LF
1 parent 296274f commit 862b033

7 files changed

Lines changed: 5 additions & 38 deletions

File tree

MFCBaseLib/DxBaseClass.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ CDxBaseView::~CDxBaseView()
4343
}
4444

4545

46-
4746
/**
4847
機能: DirectX9のデバイスを作る.
4948
引数: int cxs, cys ウィンドウの初期サイズ,省略した場合は画像データ(cmnHead)に合わせられる.
@@ -177,7 +176,6 @@ void CDxBaseView::OnActivateView(BOOL bActivate, CView* pActivateView, CView* p
177176

178177

179178

180-
181179
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
182180
// CDxVTXBaseView クラス
183181
//
@@ -234,7 +232,6 @@ void CDxVTXBaseView::SwitchRotation()
234232
}
235233

236234

237-
238235
/**
239236
回転処理
240237
この関数の外で,matTrans(平行移動)が定義されていること.
@@ -371,4 +368,3 @@ HRESULT jbxwl::ResetDx9Device(LPDIRECT3DDEVICE9 lpD3DDevice, D3DPRESENT_PARAMET
371368
}
372369
return hr;
373370
}
374-

MFCBaseLib/ExClass.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ int jbxwl::ExecDocFrmView(CExFrame* pfrm, LPCTSTR fname)
104104
delete pfrm; // Debug構成でコンパイルすると,CDxSRenderViewで頂点数0の場合,ここでセグメンテーションエラーを起こす?
105105
return ret;
106106
}
107-
108107
pfrm->ShowWindow(SW_SHOW);
109108
pfrm->SetFocus();
110109
pfrm->pView->SetFocus();

MFCLib/Dx2DView.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ CDx2DView::~CDx2DView()
3535
}
3636

3737

38-
3938
BEGIN_MESSAGE_MAP(CDx2DView, CDxBaseView)
4039
//{{AFX_MSG_MAP(CDx2DView)
4140
// メモ - ClassWizard はこの位置にマッピング用のマクロを追加または削除します.
@@ -44,7 +43,6 @@ END_MESSAGE_MAP()
4443

4544

4645

47-
4846
/////////////////////////////////////////////////////////////////////////////
4947
// CDx2DView 描画
5048
/*
@@ -76,7 +74,6 @@ void CDx2DView::Dump(CDumpContext& dc) const
7674

7775

7876

79-
8077
/////////////////////////////////////////////////////////////////////////////
8178
// CDx2DView メッセージ ハンドラ
8279

@@ -126,7 +123,6 @@ void CDx2DView::OnInitialUpdate()
126123
}
127124

128125

129-
130126
void CDx2DView::ExecRender()
131127
{
132128
//
@@ -187,5 +183,3 @@ void CDx2DView::InitObject()
187183
return;
188184
}
189185
}
190-
191-

MFCLib/DxMGRView.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,6 @@ void CDxMGRView::OnInitialUpdate()
302302
return;
303303
}
304304

305-
306305
//
307306
SetWindowSize(viewData.xsize, viewData.ysize);
308307
return;
@@ -578,7 +577,6 @@ BOOL CDxMGRView::SetNewSurface(int dummy)
578577
}
579578

580579

581-
582580
void CDxMGRView::ExecRender()
583581
{
584582
HRESULT hr;
@@ -616,7 +614,6 @@ void CDxMGRView::ExecRender()
616614
}
617615

618616

619-
620617
void CDxMGRView::InitObject()
621618
{
622619
bufferSize = Dx9GetBackBuffer(lpD3DDevice, &lpBackBuffer);
@@ -668,7 +665,6 @@ void CDxMGRView::InitObject()
668665
}
669666

670667

671-
672668
void CDxMGRView::MakeSetTitle()
673669
{
674670
Title = pDoc->preTitle + pDoc->Title + pDoc->pstTitle;
@@ -688,4 +684,3 @@ void CDxMGRView::MakeSetTitle()
688684
}
689685
this->SetTitle(Title);
690686
}
691-

MFCLib/RwGRDoc.cpp

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,11 @@ CRwGRDoc::CRwGRDoc()
3232
}
3333

3434

35-
3635
CRwGRDoc::~CRwGRDoc()
3736
{
3837
}
3938

4039

41-
4240
BEGIN_MESSAGE_MAP(CRwGRDoc, CExDocument)
4341
//{{AFX_MSG_MAP(CRwGRDoc)
4442
// メモ - ClassWizard はこの位置にマッピング用のマクロを追加または削除します.
@@ -47,7 +45,6 @@ END_MESSAGE_MAP()
4745

4846

4947

50-
5148
/////////////////////////////////////////////////////////////////////////////
5249
// CRwGRDoc 診断
5350

@@ -67,7 +64,6 @@ void CRwGRDoc::Dump(CDumpContext& dc) const
6764

6865

6966

70-
7167
/////////////////////////////////////////////////////////////////////////////
7268
// CRwGRDoc シリアライズ
7369
//
@@ -85,15 +81,14 @@ void CRwGRDoc::Serialize(CArchive& ar)
8581

8682

8783

88-
8984
/////////////////////////////////////////////////////////////////////////////
9085
// CRwGRDoc コマンド
9186
//
9287
BOOL CRwGRDoc::ReadDataFile(LPCTSTR fname)
9388
{
9489
CString message = _T("");
95-
CString fnm = get_file_name_t(fname); // ファイル名のみ
96-
CString err_fname = _T(""); // エラーを起こしたファイル名
90+
CString fnm = get_file_name_t(fname); // ファイル名のみ
91+
CString err_fname = _T(""); // エラーを起こしたファイル名
9792
CmnHead hd;
9893

9994
// グローバルカウンタの設定
@@ -225,7 +220,6 @@ BOOL CRwGRDoc::ReadDataFile(LPCTSTR fname)
225220
}
226221

227222

228-
229223
//
230224
// hasViewData==TRUE なら MakeViewData()は実行されない.
231225
//
@@ -320,5 +314,3 @@ CmnHead CRwGRDoc::TranslateData()
320314

321315
return chd;
322316
}
323-
324-

MFCLib/vThumbNailDoc.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,12 @@ using namespace jbxwl;
2323

2424
IMPLEMENT_DYNCREATE(CvThumbNailDoc, CExDocument)
2525

26-
2726
CvThumbNailDoc::CvThumbNailDoc()
2827
{
2928
SetSize(THUMBNAIL_SIZE, THUMBNAIL_SIZE, 4, 2, 4, 12);
3029
}
3130

3231

33-
3432
CvThumbNailDoc::~CvThumbNailDoc()
3533
{
3634
}
@@ -64,7 +62,6 @@ void CvThumbNailDoc::Dump(CDumpContext& dc) const
6462

6563

6664

67-
6865
/////////////////////////////////////////////////////////////////////////////
6966
// CvThumbNailDoc シリアライズ
7067

@@ -82,7 +79,6 @@ void CvThumbNailDoc::Serialize(CArchive& ar)
8279

8380

8481

85-
8682
/////////////////////////////////////////////////////////////////////////////
8783
// CvThumbNailDoc コマンド
8884

@@ -195,7 +191,6 @@ CmnHead CvThumbNailDoc::TranslateData()
195191
}
196192

197193

198-
199194
/**
200195
txs サムネイルの Xサイズ(ピクセル)
201196
tys サムネイルの Yサイズ(ピクセル)
@@ -220,7 +215,6 @@ void CvThumbNailDoc::SetSize(int txs, int tys, int bds, int hrs, int vrs, int y
220215
}
221216

222217

223-
224218
int CvThumbNailDoc::GetTNailNum(POINT pt)
225219
{
226220
int xx = pt.x/(xTNailSize+ tNailBorder) + 1;
@@ -230,5 +224,3 @@ int CvThumbNailDoc::GetTNailNum(POINT pt)
230224
if (ret<0 || ret>msGraph.zs) ret = -1;
231225
return ret;
232226
}
233-
234-

MFCLib/vThumbNailFrame.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,14 @@ void CvThumbNailFrame::onLButtonDBLClick()
6060
colorMode = pDoc->colorMode & GRAPH_COLOR_MASK;
6161

6262
// Plane毎に色が分かれている場合は Plane(8bit)毎に表示
63-
if (pDoc->colorMode & GRAPH_COLOR_USE_PLANE) colorMode = GRAPH_COLOR_MONO;
64-
65-
/*
63+
//if (pDoc->colorMode & GRAPH_COLOR_USE_PLANE) colorMode = GRAPH_COLOR_MONO;
64+
/**/
6665
colorMode = pDoc->colorMode;
6766
if (colorMode==GRAPH_COLOR_RGB || colorMode==GRAPH_COLOR_BGR ||
6867
colorMode==GRAPH_COLOR_XRGB || colorMode==GRAPH_COLOR_ARGB || colorMode==GRAPH_COLOR_RGBA ||
6968
colorMode==GRAPH_COLOR_XBGR || colorMode==GRAPH_COLOR_ABGR || colorMode==GRAPH_COLOR_BGRA) {
7069
colorMode = GRAPH_COLOR_MONO; // Plane毎に色が分かれている場合は Plane(8bit)毎に表示
71-
}*/
70+
}
7271

7372
CMultiDocTemplate* ptemp = pApp->GetMultiDocTemplate(APP_TEMPL_VTHUMBNAILFRAME);
7473
ExecTemplate(ptemp, &pDoc->msGraph, NULL, this, n);

0 commit comments

Comments
 (0)