91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 1.86MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-10-31
  • 語言: 其他
  • 標簽: opengl??

資源簡介

實驗源代碼,opengl畫花的源程序,可隨機生成許多花,一屏,顏色也是隨機的

資源截圖

代碼片段和文件信息

//?MainFrm.cpp?:?implementation?of?the?CMainframe?class
//

#include?“stdafx.h“
#include?“OpenGL.h“

#include?“MainFrm.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
//?CMainframe

IMPLEMENT_DYNCREATE(CMainframe?CframeWnd)

BEGIN_MESSAGE_MAP(CMainframe?CframeWnd)
//{{AFX_MSG_MAP(CMainframe)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code?!
ON_WM_CREATE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

static?UINT?indicators[]?=
{
ID_SEPARATOR???????????//?status?line?indicator
ID_INDICATOR_CAPS
ID_INDICATOR_NUM
ID_INDICATOR_SCRL
};

/////////////////////////////////////////////////////////////////////////////
//?CMainframe?construction/destruction

CMainframe::CMainframe()
{
//?TODO:?add?member?initialization?code?here

}

CMainframe::~CMainframe()
{
}

int?CMainframe::OnCreate(LPCREATESTRUCT?lpCreateStruct)
{
if?(CframeWnd::OnCreate(lpCreateStruct)?==?-1)
return?-1;

if?(!m_wndToolBar.CreateEx(this?TBstyle_FLAT?WS_CHILD?|?WS_VISIBLE?|?CBRS_TOP
|?CBRS_GRIPPER?|?CBRS_TOOLTIPS?|?CBRS_FLYBY?|?CBRS_SIZE_DYNAMIC)?||
!m_wndToolBar.LoadToolBar(IDR_MAINframe))
{
TRACE0(“Failed?to?create?toolbar\n“);
return?-1;??????//?fail?to?create
}

if?(!m_wndStatusBar.Create(this)?||
!m_wndStatusBar.SetIndicators(indicators
??sizeof(indicators)/sizeof(UINT)))
{
TRACE0(“Failed?to?create?status?bar\n“);
return?-1;??????//?fail?to?create
}

//?TODO:?Delete?these?three?lines?if?you?don‘t?want?the?toolbar?to
//??be?dockable
m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
EnableDocking(CBRS_ALIGN_ANY);
DockControlBar(&m_wndToolBar);

return?0;
}

BOOL?CMainframe::PreCreateWindow(CREATESTRUCT&?cs)
{
if(?!CframeWnd::PreCreateWindow(cs)?)
return?FALSE;
//?TODO:?Modify?the?Window?class?or?styles?here?by?modifying
//??the?CREATESTRUCT?cs

return?TRUE;
}

/////////////////////////////////////////////////////////////////////////////
//?CMainframe?diagnostics

#ifdef?_DEBUG
void?CMainframe::AssertValid()?const
{
CframeWnd::AssertValid();
}

void?CMainframe::Dump(CDumpContext&?dc)?const
{
CframeWnd::Dump(dc);
}

#endif?//_DEBUG

/////////////////////////////////////////////////////////////////////////////
//?CMainframe?message?handlers


?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????19657??2013-03-04?19:40??OpenGL?3\Debug\MainFrm.obj

?????文件?????122942??2013-03-11?22:34??OpenGL?3\Debug\OpenGL.exe

?????文件?????402516??2013-03-11?22:34??OpenGL?3\Debug\OpenGL.ilk

?????文件??????23145??2013-03-04?20:15??OpenGL?3\Debug\OpenGL.obj

?????文件????5503692??2013-03-04?19:40??OpenGL?3\Debug\OpenGL.pch

?????文件?????484352??2013-03-11?22:34??OpenGL?3\Debug\OpenGL.pdb

?????文件???????7276??2013-03-04?19:39??OpenGL?3\Debug\OpenGL.res

?????文件??????14458??2013-03-04?19:40??OpenGL?3\Debug\OpenGLDoc.obj

?????文件??????35197??2013-03-11?22:34??OpenGL?3\Debug\OpenGLView.obj

?????文件?????105396??2013-03-04?19:40??OpenGL?3\Debug\StdAfx.obj

?????文件?????238592??2013-03-16?21:17??OpenGL?3\Debug\vc60.idb

?????文件?????380928??2013-03-11?22:34??OpenGL?3\Debug\vc60.pdb

?????文件???????2507??2013-03-04?19:39??OpenGL?3\MainFrm.cpp

?????文件???????1581??2013-03-04?19:39??OpenGL?3\MainFrm.h

?????文件??????28576??2013-03-11?22:18??OpenGL?3\OpenGL.aps

?????文件???????2252??2013-03-11?22:19??OpenGL?3\OpenGL.clw

?????文件???????4209??2013-03-04?19:39??OpenGL?3\OpenGL.cpp

?????文件???????4675??2013-03-11?22:34??OpenGL?3\OpenGL.dsp

?????文件????????535??2013-03-04?19:39??OpenGL?3\OpenGL.dsw

?????文件???????1356??2013-03-04?19:39??OpenGL?3\OpenGL.h

?????文件?????132096??2013-03-16?21:20??OpenGL?3\OpenGL.ncb

?????文件??????49664??2013-03-16?21:20??OpenGL?3\OpenGL.opt

?????文件????????246??2013-03-16?21:17??OpenGL?3\OpenGL.plg

?????文件??????10553??2013-03-04?19:39??OpenGL?3\OpenGL.rc

?????文件???????1742??2013-03-04?19:39??OpenGL?3\OpenGLDoc.cpp

?????文件???????1475??2013-03-04?19:39??OpenGL?3\OpenGLDoc.h

?????文件???????9521??2013-03-11?22:34??OpenGL?3\OpenGLView.cpp

?????文件???????2375??2013-03-11?22:30??OpenGL?3\OpenGLView.h

?????文件?????????43??2013-03-04?20:38??OpenGL?3\Point2.h

?????文件?????????66??2013-03-11?21:50??OpenGL?3\Point2D.h

............此處省略14個文件信息

評論

共有 條評論