| /NW4C-1.2.23/demos/lyt/simple2/sources/ |
| D | main.cpp | 113 SetupCamera(nw::lyt::DrawInfo& drawInfo, const nw::lyt::Layout& layout) in SetupCamera() 156 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain() 168 nw::lyt::ArcResourceAccessor* pResAccessor = new nw::lyt::ArcResourceAccessor; in nnMain() 174 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() 192 if (void* pMemPicture = nw::lyt::Layout::AllocMemory(sizeof(nw::lyt::Picture))) in nnMain() 195 nw::lyt::TextureInfo textureInfo = nw::lyt::LoadTexture(pImg, size); in nnMain() 198 nw::lyt::Picture* pPic = new (pMemPicture) nw::lyt::Picture(textureInfo); in nnMain() 210 if (void* pMemPicture = nw::lyt::Layout::AllocMemory(sizeof(nw::lyt::Picture))) in nnMain() 213 nw::lyt::TextureInfo textureInfo = nw::lyt::LoadTexture(pImg, size); in nnMain() 216 nw::lyt::Picture *pPic = new (pMemPicture) nw::lyt::Picture(textureInfo); in nnMain() [all …]
|
| /NW4C-1.2.23/demos/lyt/animShare/sources/ |
| D | main.cpp | 125 SetupCamera(nw::lyt::DrawInfo& drawInfo, const nw::lyt::Layout& layout) in SetupCamera() 164 GetCursorPosition(nw::lyt::Layout& layout) in GetCursorPosition() 192 ApplyCursorPosition(nw::lyt::Layout& layout, const nw::math::VEC2& curPos) in ApplyCursorPosition() 194 nw::lyt::Pane* pCrossBar = layout.GetRootPane()->FindPaneByName("CrossBar", true); in ApplyCursorPosition() 216 nw::lyt::AnimationLink* 218 nw::lyt::Pane* pPane, in FindLayoutAnimationLink() 219 const nw::lyt::AnimResource& animRes in FindLayoutAnimationLink() 223 if (nw::lyt::AnimationLink *const pAnimLink = pPane->FindAnimationLinkSelf(animRes)) in FindLayoutAnimationLink() 232 … if (nw::lyt::AnimationLink *const pAnimLink = pPane->GetMaterial(i)->FindAnimationLink(animRes)) in FindLayoutAnimationLink() 239 …for (nw::lyt::PaneList::Iterator it = pPane->GetChildList().GetBeginIter(); it != pPane->GetChildL… in FindLayoutAnimationLink() [all …]
|
| /NW4C-1.2.23/demos/lyt/tagGroupBind/sources/ |
| D | main.cpp | 132 nw::lyt::AnimTransform* 134 nw::lyt::Layout* pLayout, in SetupAnimTransform() 135 const nw::lyt::AnimResource& animRes, in SetupAnimTransform() 136 const nw::lyt::AnimationGroupRef& groupRef, in SetupAnimTransform() 137 nw::lyt::ResourceAccessor* pResAccessor in SetupAnimTransform() 141 … nw::lyt::Group *const pGroup = pLayout->GetGroupContainer()->FindGroupByName(groupRef.GetName()); in SetupAnimTransform() 148 nw::lyt::AnimTransform *const pAnimTrans = pLayout->CreateAnimTransform(); in SetupAnimTransform() 166 SetupCamera(nw::lyt::DrawInfo& drawInfo, const nw::lyt::Layout& layout) in SetupCamera() 205 GetCursorPosition(nw::lyt::Layout* pLayout) in GetCursorPosition() 232 ApplyCursorPosition(nw::lyt::Layout* pLayout, const nw::math::VEC2& curPos) in ApplyCursorPosition() [all …]
|
| /NW4C-1.2.23/demos/Nw4cDemo/include/ |
| D | SmLayout.h | 32 typedef nw::ut::FixedSizeArray<nw::lyt::AnimTransform*, ANIM_COUNT> AnimationArray; 49 bool InitLayout( const void* bclyt, nw::lyt::ArcResourceAccessor* pResAccessor ) in InitLayout() 55 m_Layout = new nw::lyt::Layout(); in InitLayout() 67 bool AddAnimation( const void* bclan, nw::lyt::ArcResourceAccessor* pResAccessor ) in AddAnimation() 73 nw::lyt::AnimTransform* pAnimTrans = m_Layout->CreateAnimTransform( bclan, pResAccessor ); in AddAnimation() 99 nw::lyt::Pane* rootPane = m_Layout->GetRootPane(); in GetOriginalRect() 101 nw::lyt::Pane* pane = rootPane->FindPaneByName( name ); in GetOriginalRect() 110 nw::lyt::Pane* GetPane( const char* name ) const in GetPane() 112 nw::lyt::Pane* rootPane = m_Layout->GetRootPane(); in GetPane() 114 nw::lyt::Pane* pane = rootPane->FindPaneByName( name ); in GetPane() [all …]
|
| D | LytCtrl.h | 49 nw::lyt::ArcResourceAccessor* resAccessor; 75 nw::lyt::Drawer m_Drawer; 76 nw::lyt::GraphicsResource m_GraphicsResource; 77 nw::lyt::DrawInfo m_DrawInfo;
|
| /NW4C-1.2.23/demos/lyt/multiArc/sources/ |
| D | main.cpp | 120 SetupCamera(nw::lyt::DrawInfo& drawInfo, const nw::lyt::Layout& layout) in SetupCamera() 162 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain() 179 nw::lyt::ArcResourceLink* pArcResLink1 = new nw::lyt::ArcResourceLink; in nnMain() 181 nw::lyt::ArcResourceLink* pArcResLink2 = new nw::lyt::ArcResourceLink; in nnMain() 183 nw::lyt::ArcResourceLink* pArcResLink3 = new nw::lyt::ArcResourceLink; in nnMain() 186 nw::lyt::MultiArcResourceAccessor* pResAccessor = new nw::lyt::MultiArcResourceAccessor(); in nnMain() 191 nw::lyt::Layout* pLayout1 = new nw::lyt::Layout(); in nnMain() 192 nw::lyt::Layout* pLayout2 = new nw::lyt::Layout(); in nnMain() 206 nw::lyt::GraphicsResource graphicsResource; in nnMain() 228 nw::lyt::DrawInfo drawInfo; in nnMain() [all …]
|
| /NW4C-1.2.23/demos/lyt/extUserData/sources/ |
| D | main.cpp | 117 SetupCamera(nw::lyt::DrawInfo& drawInfo, const nw::lyt::Layout& layout) in SetupCamera() 154 PrintExtUserData(nw::lyt::Pane* pPane) in PrintExtUserData() 157 const nw::lyt::ExtUserData *const extUserDataAry = pPane->GetExtUserDataArray(); in PrintExtUserData() 170 case nw::lyt::EXTUSERDATATYPE_STRING: // 文字列データ in PrintExtUserData() 174 case nw::lyt::EXTUSERDATATYPE_INT: // 整数(s32)リスト in PrintExtUserData() 184 case nw::lyt::EXTUSERDATATYPE_FLOAT: // 浮動小数点(f32)リスト in PrintExtUserData() 201 const nw::lyt::ExtUserData *const pExtUserDataIntList = pPane->FindExtUserDataByName("int1"); in PrintExtUserData() 217 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain() 219 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() 231 nw::lyt::ArcResourceAccessor* pResAccessor = new nw::lyt::ArcResourceAccessor; in nnMain() [all …]
|
| /NW4C-1.2.23/demos/lyt/group/sources/ |
| D | main.cpp | 115 SetupCamera(nw::lyt::DrawInfo& drawInfo, const nw::lyt::Layout& layout) in SetupCamera() 157 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain() 169 nw::lyt::ArcResourceAccessor* pResAccessor = new nw::lyt::ArcResourceAccessor; in nnMain() 175 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() 184 nw::lyt::GraphicsResource graphicsResource; in nnMain() 206 nw::lyt::DrawInfo drawInfo; in nnMain() 212 nw::lyt::Drawer drawer; in nnMain() 220 nw::lyt::Group* pCurrentGroup = 0; in nnMain() 246 nw::lyt::PaneLinkList& paneList = pCurrentGroup->GetPaneList(); in nnMain() 248 …for (nw::lyt::PaneLinkList::Iterator it = paneList.GetBeginIter(); it != paneList.GetEndIter(); ++… in nnMain() [all …]
|
| /NW4C-1.2.23/demos/lyt/bounding/sources/ |
| D | main.cpp | 116 SetupCamera(nw::lyt::DrawInfo& drawInfo, const nw::lyt::Layout& layout) in SetupCamera() 155 GetCursorPosition(nw::lyt::Layout* pLayout) in GetCursorPosition() 182 ApplyCursorPosition(nw::lyt::Layout* pLayout, const nw::math::VEC2& curPos) in ApplyCursorPosition() 184 nw::lyt::Pane* pCrossBar = pLayout->GetRootPane()->FindPaneByName("CrossBar", true); in ApplyCursorPosition() 202 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain() 204 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() 216 nw::lyt::ArcResourceAccessor* pResAccessor = new nw::lyt::ArcResourceAccessor; in nnMain() 241 nw::lyt::AnimTransform* pAnimTrans[ANIMTYPE_MAX]; in nnMain() 253 if (nw::lyt::Pane* pPane = pLayout->GetRootPane()->FindPaneByName(paneNames[i])) in nnMain() 266 nw::lyt::GraphicsResource graphicsResource; in nnMain() [all …]
|
| /NW4C-1.2.23/demos/Nw4cDemo/sources/ |
| D | SmLayout.cpp | 31 const nw::lyt::Pane* pane = GetPane( name ); in GetRect() 47 case nw::lyt::HORIZONTALPOSITION_LEFT: in GetRect() 51 case nw::lyt::HORIZONTALPOSITION_CENTER: in GetRect() 55 case nw::lyt::HORIZONTALPOSITION_RIGHT: in GetRect() 62 case nw::lyt::VERTICALPOSITION_TOP: in GetRect() 66 case nw::lyt::VERTICALPOSITION_CENTER: in GetRect() 70 case nw::lyt::VERTICALPOSITION_BOTTOM: in GetRect() 178 nw::lyt::Layout* layout = m_LayoutResource->GetLayout(); in SetupLayout() 182 nw::lyt::Pane* pane = layout->GetRootPane(); in SetupLayout()
|
| D | SmLytButton.cpp | 53 const nw::lyt::Pane* pane = layoutRes->GetPane("TextBox_00"); in SmLytButton() 54 if ( nw::lyt::TextBox* pTextBox = nw::ut::DynamicCast<nw::lyt::TextBox*>(pane) ) in SmLytButton()
|
| /NW4C-1.2.23/demos/lyt/locationAdjust/sources/ |
| D | main.cpp | 130 SetupCamera(nw::lyt::DrawInfo& drawInfo, const nw::lyt::Layout& layout) in SetupCamera() 172 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain() 184 nw::lyt::ArcResourceAccessor* pResAccessor = new nw::lyt::ArcResourceAccessor; in nnMain() 190 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() 199 nw::lyt::GraphicsResource graphicsResource; in nnMain() 221 nw::lyt::DrawInfo drawInfo; in nnMain() 227 nw::lyt::Drawer drawer; in nnMain() 235 … nw::lyt::Pane *const pTextBoxEnabled = pLayout->GetRootPane()->FindPaneByName("TextBoxEnabled"); in nnMain() 237 … nw::lyt::Pane *const pTextBoxDisabled = pLayout->GetRootPane()->FindPaneByName("TextBoxDisabled"); in nnMain()
|
| /NW4C-1.2.23/demos/lyt/archiveFont/sources/ |
| D | main.cpp | 144 SetupCamera(nw::lyt::DrawInfo& drawInfo, const nw::lyt::Layout& layout) in SetupCamera() 186 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain() 198 nw::lyt::ArcResourceAccessor* pResAccessor = new nw::lyt::ArcResourceAccessor; in nnMain() 209 nw::lyt::FontKey fontKey = pResAccessor->RegistFont("sample.bcfna", pArchiveFont); in nnMain() 211 nw::lyt::Layout *const pLayout = new nw::lyt::Layout(); in nnMain() 220 nw::lyt::GraphicsResource graphicsResource; in nnMain() 242 nw::lyt::DrawInfo drawInfo; in nnMain() 245 nw::lyt::Drawer drawer; in nnMain()
|
| /NW4C-1.2.23/demos/lyt/simple/sources/ |
| D | main.cpp | 195 SetupCamera(nw::lyt::DrawInfo& drawInfo, const nw::lyt::Layout& layout) in SetupCamera() 244 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain() 246 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() 256 nw::lyt::ArcResourceAccessor* pResAccessor = new nw::lyt::ArcResourceAccessor; in nnMain() 269 nw::lyt::AnimTransform* pAnimTrans = 0; in nnMain() 280 nw::lyt::GraphicsResource graphicsResource; in nnMain() 300 nw::lyt::DrawInfo drawInfo; in nnMain() 303 nw::lyt::Drawer drawer; in nnMain()
|
| /NW4C-1.2.23/demos/lyt/perspective/sources/ |
| D | main.cpp | 140 nw::lyt::DrawInfo& drawInfo, in SetupCamera() 141 const nw::lyt::Layout& layout, in SetupCamera() 223 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain() 235 nw::lyt::ArcResourceAccessor* pResAccessor = new nw::lyt::ArcResourceAccessor; in nnMain() 241 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() 250 nw::lyt::AnimTransform* pAnimTrans = 0; in nnMain() 262 nw::lyt::GraphicsResource graphicsResource; in nnMain() 284 nw::lyt::DrawInfo drawInfo; in nnMain() 287 nw::lyt::Drawer drawer; in nnMain()
|
| /NW4C-1.2.23/demos/lyt/orthoStereo/sources/ |
| D | main.cpp | 188 nw::lyt::DrawInfo& drawInfo, in SetupCamera() 189 const nw::lyt::Layout& layout in SetupCamera() 229 CalcParallaxDot(nw::lyt::DrawInfo& drawInfo) in CalcParallaxDot() 376 nw::lyt::Initialize(&s_DeviceAllocator, &s_DeviceAllocator); in nnMain() 388 nw::lyt::ArcResourceAccessor* pResAccessor = new nw::lyt::ArcResourceAccessor; in nnMain() 394 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() 403 nw::lyt::GraphicsResource graphicsResource; in nnMain() 426 nw::lyt::DrawInfo drawInfo; in nnMain() 429 nw::lyt::Drawer drawer; in nnMain() 458 drawer.DrawBegin(nw::lyt::Drawer::DONT_USE_SETUP_COMMAND); in nnMain() [all …]
|
| /NW4C-1.2.23/include/nw/lyt/ |
| D | lyt_Stopwatch.h | 29 namespace lyt { 39 nw::lyt::internal::Measure NW_LYT_JOIN(measure, __LINE__) ( \ 40 nw::lyt::internal::Stopwatch::Instance<no>(label), no) 43 if(nw::lyt::internal::Stopwatch::IsTarget(no)) \ 44 nw::lyt::internal::Stopwatch::Instance<no>().Start(label) 47 if(nw::lyt::internal::Stopwatch::IsTarget(no)) \ 48 nw::lyt::internal::Stopwatch::Instance<no>().Stop()
|
| D | lyt_Init.h | 28 namespace lyt
|
| /NW4C-1.2.23/sources/libraries/lyt/ |
| D | lyt_ResourceAccessor.cpp | 25 namespace lyt namespace 47 TextureInfo texInfo = lyt::LoadTexture(pTexRes, size); in LoadTexture()
|
| D | lyt_Common.cpp | 31 namespace lyt namespace 647 GL::SetTevBufferColor(nw::lyt::GraphicsResource &graphicsResource, ut::Color8 value) in SetTevBufferColor() 664 GL::SetTevBufferInput(nw::lyt::GraphicsResource &graphicsResource, int index, bool valueRgb, bool v… in SetTevBufferInput() 684 GL::SetEnableAlphaTest(nw::lyt::GraphicsResource &graphicsResource, bool value) in SetEnableAlphaTest() 691 GL::SetAlphaRefValue(nw::lyt::GraphicsResource &graphicsResource, f32 value) in SetAlphaRefValue() 698 GL::SetAlphaTestFunc(nw::lyt::GraphicsResource &graphicsResource, nw::lyt::AlphaTest value) in SetAlphaTestFunc() 725 GL::SetTexMinFilter(nw::lyt::GraphicsResource&, nw::lyt::TexFilter value) in SetTexMinFilter() 732 GL::SetTexMagFilter(nw::lyt::GraphicsResource&, nw::lyt::TexFilter value) in SetTexMagFilter()
|
| D | lyt_Suppliment.cpp | 21 nw::math::MTX44* nw::lyt::internal::MTX44Transpose(nw::math::MTX44* pOut, const nw::math::MTX34* pS… in MTX44Transpose() 36 nw::math::MTX44* nw::lyt::internal::MTX44Mult( in MTX44Mult()
|
| D | lyt_Init.cpp | 23 namespace lyt namespace
|
| /NW4C-1.2.23/sources/shaders/ |
| D | OMakefile | 17 .SUBDIRS: demo font lyt gfx
|
| /NW4C-1.2.23/sources/libraries/ |
| D | OMakefile | 20 .SUBDIRS: anim font gfx io lyt math os ut snd dev demo
|
| /NW4C-1.2.23/demos/ |
| D | OMakefile | 27 .SUBDIRS: font ut gfx lyt snd Nw4cDemo
|