基本信息
源码名称:clayui展示界面动态效果
源码大小:2.89M
文件格式:.7z
开发语言:C/C++
更新时间:2021-12-27
   友情提示:(无需注册或充值,赞助后即可获取资源下载链接)

     嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300

本次赞助数额为: 2 元 
   源码介绍

clayui展示界面动态效果


RECT rect;
GetClientRect(g_hwnd, &rect);
float fe = (rect.bottom - rect.top) * 1.0f / (rect.right - rect.left);
float y = (rect.bottom - rect.top) / 2;
float x = (rect.right - rect.left) / 2;
CLAYUI_Set3DLookat(x, y, -800);

D3DXVECTOR3 vEyePt( x, y, 0);
D3DXVECTOR3 vLookatPt( x, y, -800.0f );
D3DXVECTOR3 vUpVec( 0.0f, -1.0f, 0.0f );
D3DXMATRIXA16 matView;
D3DXMatrixLookAtLH( &matView, &vEyePt, &vLookatPt, &vUpVec );
g_pd3dDevice->SetTransform( D3DTS_VIEW, &matView );

D3DXMATRIXA16 matProj;
D3DXMatrixPerspectiveFovLH( &matProj, atan(y / 800) * 2, 1 / fe, 1, 5000.0f );
g_pd3dDevice->SetTransform( D3DTS_PROJECTION, &matProj );

g_rootframe_wrapper.m_rootframe->SetIsTransform(1);

//clayui更新
//if(::timeGetTime() - g_timecount > 20)
{
g_timecount = ::timeGetTime();
g_graphics.Draw();
}

.
├── clayui_CoverFlow
│   ├── 1.JPG
│   ├── 2.JPG
│   ├── 3.JPG
│   ├── 4.JPG
│   ├── 5.JPG
│   ├── 6.PNG
│   ├── CLAYUI
│   │   ├── UI_ANIMATION
│   │   │   ├── CLAYUI_ALPHA_ANIM.h
│   │   │   ├── CLAYUI_ANIMATION.h
│   │   │   ├── CLAYUI_MOVETYPE.h
│   │   │   ├── CLAYUI_MOVE_ANIM.h
│   │   │   ├── CLAYUI_RESIZE_ANIM.h
│   │   │   ├── CLAYUI_ROTATE_ANIM.h
│   │   │   └── CLAYUI_SCALE_ANIM.h
│   │   ├── UI_BASIC
│   │   │   ├── CLAYUI_BFRAME.h
│   │   │   ├── CLAYUI_Config.h
│   │   │   ├── CLAYUI_D3D_Config.h
│   │   │   ├── CLAYUI_FRAME.h
│   │   │   └── CLAYUI_FRAME_ITEM.h
│   │   ├── datatype
│   │   │   ├── Sprite.h
│   │   │   └── SpriteManager.h
│   │   └── ui_control
│   │       ├── CLAYUI_CheckBox.h
│   │       ├── CLAYUI_ComboBox.h
│   │       ├── CLAYUI_EditBox.h
│   │       ├── CLAYUI_ListBox.h
│   │       ├── CLAYUI_RadioBox.h
│   │       ├── CLAYUI_Slider.h
│   │       ├── CLAYUI_TTEXT.h
│   │       ├── LAYUI_FlowItem.h
│   │       └── LAYUI_FrameFlow.h
│   ├── CLAYUI.dll
│   ├── CLAYUI.lib
│   ├── CLAYUI_D.dll
│   ├── CLAYUI_D.lib
│   ├── Textures.exe
│   └── Tut05_Textures
│       ├── Clayui_D3D_Graphics.cpp
│       ├── Clayui_D3D_Graphics.h
│       ├── Debug
│       ├── LAYUI_RootFrame_Wrapper.cpp
│       ├── LAYUI_RootFrame_Wrapper.h
│       ├── MCFlow.cpp
│       ├── MCFlow.h
│       ├── MCFlowItem.cpp
│       ├── MCFlowItem.h
│       ├── Release
│       │   ├── LAYUI_RootFrame_Wrapper.obj
│       │   ├── LAYUI_RootFrame_Wrapper.sbr
│       │   ├── MCFlowItem.obj
│       │   ├── MCFlowItem.sbr
│       │   ├── Textures.pch
│       │   ├── XFile.obj
│       │   ├── XFile.sbr
│       │   └── vc60.idb
│       ├── Textures.cpp
│       ├── Textures.dsp
│       ├── Textures.dsw
│       ├── Textures.ncb
│       ├── Textures.opt
│       ├── Textures.plg
│       ├── XFile.cpp
│       ├── XFile.h
│       ├── XString.h
│       ├── config_clayui.h
│       └── readme.txt
└── 好例子网_clayui_CoverFlow.7z

9 directories, 62 files