Home
last modified time | relevance | path

Searched refs:lyt (Results 1 – 25 of 77) sorted by relevance

1234

/NW4C-2.0.3/demos/lyt/simple2/sources/
Dmain.cpp115 SetupCamera(nw::lyt::DrawInfo& drawInfo, const nw::lyt::Layout& layout) in SetupCamera()
158 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
170 nw::lyt::ArcResourceAccessor* pResAccessor = new nw::lyt::ArcResourceAccessor; in nnMain()
176 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain()
194 if (void* pMemPicture = nw::lyt::Layout::AllocMemory(sizeof(nw::lyt::Picture))) in nnMain()
197 nw::lyt::TextureInfo textureInfo = nw::lyt::LoadTexture(pImg, size); in nnMain()
200 nw::lyt::Picture* pPic = new (pMemPicture) nw::lyt::Picture(textureInfo); in nnMain()
212 if (void* pMemPicture = nw::lyt::Layout::AllocMemory(sizeof(nw::lyt::Picture))) in nnMain()
215 nw::lyt::TextureInfo textureInfo = nw::lyt::LoadTexture(pImg, size); in nnMain()
218 nw::lyt::Picture *pPic = new (pMemPicture) nw::lyt::Picture(textureInfo); in nnMain()
[all …]
/NW4C-2.0.3/demos/lyt/texVram/sources/
Dmain.cpp114 SetupCamera(nw::lyt::DrawInfo& drawInfo, const nw::lyt::Layout& layout) in SetupCamera()
154 nw::lyt::ARCHandle arcHandle; in SetTexAreaToVRAM()
155 nw::lyt::ARCInitHandle(fileLayout.begin(), &arcHandle); in SetTexAreaToVRAM()
157 nw::lyt::ARCDir arcDir; in SetTexAreaToVRAM()
158 if (!nw::lyt::ArcUtil::OpenTextureDir(&arcHandle, L"/", &arcDir)) in SetTexAreaToVRAM()
163 nw::lyt::ARCDirEntry arcDirEnt; in SetTexAreaToVRAM()
164 while (nw::lyt::ArcUtil::ReadTextureDir(&arcDir, &arcDirEnt)) in SetTexAreaToVRAM()
166 nw::lyt::ARCFileInfo arcFileInfo; in SetTexAreaToVRAM()
167 if (!nw::lyt::ARCOpen(&arcHandle, &arcDirEnt, &arcFileInfo)) in SetTexAreaToVRAM()
172 nw::lyt::TexResource texResource; in SetTexAreaToVRAM()
[all …]
/NW4C-2.0.3/demos/lyt/animShare/sources/
Dmain.cpp127 SetupCamera(nw::lyt::DrawInfo& drawInfo, const nw::lyt::Layout& layout) in SetupCamera()
166 GetCursorPosition(nw::lyt::Layout& layout) in GetCursorPosition()
194 ApplyCursorPosition(nw::lyt::Layout& layout, const nw::math::VEC2& curPos) in ApplyCursorPosition()
196 nw::lyt::Pane* pCrossBar = layout.GetRootPane()->FindPaneByName("CrossBar", true); in ApplyCursorPosition()
218 nw::lyt::AnimationLink*
220 nw::lyt::Pane* pPane, in FindLayoutAnimationLink()
221 const nw::lyt::AnimResource& animRes in FindLayoutAnimationLink()
225 if (nw::lyt::AnimationLink *const pAnimLink = pPane->FindAnimationLinkSelf(animRes)) in FindLayoutAnimationLink()
234 … if (nw::lyt::AnimationLink *const pAnimLink = pPane->GetMaterial(i)->FindAnimationLink(animRes)) in FindLayoutAnimationLink()
241 …for (nw::lyt::PaneList::Iterator it = pPane->GetChildList().GetBeginIter(); it != pPane->GetChildL… in FindLayoutAnimationLink()
[all …]
/NW4C-2.0.3/demos/lyt/tagGroupBind/sources/
Dmain.cpp134 nw::lyt::AnimTransform*
136 nw::lyt::Layout* pLayout, in SetupAnimTransform()
137 const nw::lyt::AnimResource& animRes, in SetupAnimTransform()
138 const nw::lyt::AnimationGroupRef& groupRef, in SetupAnimTransform()
139 nw::lyt::ResourceAccessor* pResAccessor in SetupAnimTransform()
143 … nw::lyt::Group *const pGroup = pLayout->GetGroupContainer()->FindGroupByName(groupRef.GetName()); in SetupAnimTransform()
150 nw::lyt::AnimTransform *const pAnimTrans = pLayout->CreateAnimTransform(); in SetupAnimTransform()
168 SetupCamera(nw::lyt::DrawInfo& drawInfo, const nw::lyt::Layout& layout) in SetupCamera()
207 GetCursorPosition(nw::lyt::Layout* pLayout) in GetCursorPosition()
234 ApplyCursorPosition(nw::lyt::Layout* pLayout, const nw::math::VEC2& curPos) in ApplyCursorPosition()
[all …]
/NW4C-2.0.3/demos/Nw4cDemo/include/
DSmLayout.h34 typedef nw::ut::FixedSizeArray<nw::lyt::AnimTransform*, ANIM_COUNT> AnimationArray;
51 bool InitLayout( const void* bclyt, nw::lyt::ArcResourceAccessor* pResAccessor ) in InitLayout()
57 m_Layout = new nw::lyt::Layout(); in InitLayout()
69 bool AddAnimation( const void* bclan, nw::lyt::ArcResourceAccessor* pResAccessor ) in AddAnimation()
75 nw::lyt::AnimTransform* pAnimTrans = m_Layout->CreateAnimTransform( bclan, pResAccessor ); in AddAnimation()
101 nw::lyt::Pane* rootPane = m_Layout->GetRootPane(); in GetOriginalRect()
103 nw::lyt::Pane* pane = rootPane->FindPaneByName( name ); in GetOriginalRect()
112 nw::lyt::Pane* GetPane( const char* name ) const in GetPane()
114 nw::lyt::Pane* rootPane = m_Layout->GetRootPane(); in GetPane()
116 nw::lyt::Pane* pane = rootPane->FindPaneByName( name ); in GetPane()
[all …]
DLytCtrl.h51 nw::lyt::ArcResourceAccessor* resAccessor;
77 nw::lyt::Drawer m_Drawer;
78 nw::lyt::GraphicsResource m_GraphicsResource;
79 nw::lyt::DrawInfo m_DrawInfo;
/NW4C-2.0.3/include/nw/lyt/
Dlyt_TexResource.h27 namespace lyt
190 lyt::TexFormat GetFormat() const in GetFormat()
194 return static_cast<lyt::TexFormat>(m_pImage->format); in GetFormat()
211 return m_pImage->format == lyt::TEXFORMAT_L4 in Is4bitFormat()
212 || m_pImage->format == lyt::TEXFORMAT_A4; in Is4bitFormat()
253 return static_cast<lyt::MemArea>( in GetImageArea()
256 lyt::IMAGEFLAG_AREA_POS, in GetImageArea()
257 lyt::IMAGEFLAG_AREA_LEN)); in GetImageArea()
275 void SetImageArea(lyt::MemArea area) in SetImageArea()
281 lyt::IMAGEFLAG_AREA_POS, in SetImageArea()
[all …]
Dlyt_Stopwatch.h31 namespace lyt {
41 nw::lyt::internal::Measure NW_LYT_JOIN(measure, __LINE__) ( \
42 nw::lyt::internal::Stopwatch::Instance<no>(label), no)
45 if(nw::lyt::internal::Stopwatch::IsTarget(no)) \
46 nw::lyt::internal::Stopwatch::Instance<no>().Start(label)
49 if(nw::lyt::internal::Stopwatch::IsTarget(no)) \
50 nw::lyt::internal::Stopwatch::Instance<no>().Stop()
/NW4C-2.0.3/demos/lyt/multiArc/sources/
Dmain.cpp122 SetupCamera(nw::lyt::DrawInfo& drawInfo, const nw::lyt::Layout& layout) in SetupCamera()
164 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
181 nw::lyt::ArcResourceLink* pArcResLink1 = new nw::lyt::ArcResourceLink; in nnMain()
183 nw::lyt::ArcResourceLink* pArcResLink2 = new nw::lyt::ArcResourceLink; in nnMain()
185 nw::lyt::ArcResourceLink* pArcResLink3 = new nw::lyt::ArcResourceLink; in nnMain()
188 nw::lyt::MultiArcResourceAccessor* pResAccessor = new nw::lyt::MultiArcResourceAccessor(); in nnMain()
193 nw::lyt::Layout* pLayout1 = new nw::lyt::Layout(); in nnMain()
194 nw::lyt::Layout* pLayout2 = new nw::lyt::Layout(); in nnMain()
208 nw::lyt::GraphicsResource graphicsResource; in nnMain()
230 nw::lyt::DrawInfo drawInfo; in nnMain()
[all …]
/NW4C-2.0.3/demos/lyt/extUserData/sources/
Dmain.cpp119 SetupCamera(nw::lyt::DrawInfo& drawInfo, const nw::lyt::Layout& layout) in SetupCamera()
156 PrintExtUserData(nw::lyt::Pane* pPane) in PrintExtUserData()
159 const nw::lyt::ExtUserData *const extUserDataAry = pPane->GetExtUserDataArray(); in PrintExtUserData()
172 case nw::lyt::EXTUSERDATATYPE_STRING: // 文字列データ in PrintExtUserData()
176 case nw::lyt::EXTUSERDATATYPE_INT: // 整数(s32)リスト in PrintExtUserData()
186 case nw::lyt::EXTUSERDATATYPE_FLOAT: // 浮動小数点(f32)リスト in PrintExtUserData()
203 const nw::lyt::ExtUserData *const pExtUserDataIntList = pPane->FindExtUserDataByName("int1"); in PrintExtUserData()
219 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
221 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain()
233 nw::lyt::ArcResourceAccessor* pResAccessor = new nw::lyt::ArcResourceAccessor; in nnMain()
[all …]
/NW4C-2.0.3/demos/lyt/group/sources/
Dmain.cpp117 SetupCamera(nw::lyt::DrawInfo& drawInfo, const nw::lyt::Layout& layout) in SetupCamera()
159 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
171 nw::lyt::ArcResourceAccessor* pResAccessor = new nw::lyt::ArcResourceAccessor; in nnMain()
177 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain()
186 nw::lyt::GraphicsResource graphicsResource; in nnMain()
208 nw::lyt::DrawInfo drawInfo; in nnMain()
214 nw::lyt::Drawer drawer; in nnMain()
222 nw::lyt::Group* pCurrentGroup = 0; in nnMain()
248 nw::lyt::PaneLinkList& paneList = pCurrentGroup->GetPaneList(); in nnMain()
250 …for (nw::lyt::PaneLinkList::Iterator it = paneList.GetBeginIter(); it != paneList.GetEndIter(); ++… in nnMain()
[all …]
/NW4C-2.0.3/demos/lyt/bounding/sources/
Dmain.cpp118 SetupCamera(nw::lyt::DrawInfo& drawInfo, const nw::lyt::Layout& layout) in SetupCamera()
157 GetCursorPosition(nw::lyt::Layout* pLayout) in GetCursorPosition()
184 ApplyCursorPosition(nw::lyt::Layout* pLayout, const nw::math::VEC2& curPos) in ApplyCursorPosition()
186 nw::lyt::Pane* pCrossBar = pLayout->GetRootPane()->FindPaneByName("CrossBar", true); in ApplyCursorPosition()
204 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
206 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain()
218 nw::lyt::ArcResourceAccessor* pResAccessor = new nw::lyt::ArcResourceAccessor; in nnMain()
243 nw::lyt::AnimTransform* pAnimTrans[ANIMTYPE_MAX]; in nnMain()
255 if (nw::lyt::Pane* pPane = pLayout->GetRootPane()->FindPaneByName(paneNames[i])) in nnMain()
268 nw::lyt::GraphicsResource graphicsResource; in nnMain()
[all …]
/NW4C-2.0.3/demos/Nw4cDemo/sources/
DSmLayout.cpp33 const nw::lyt::Pane* pane = GetPane( name ); in GetRect()
49 case nw::lyt::HORIZONTALPOSITION_LEFT: in GetRect()
53 case nw::lyt::HORIZONTALPOSITION_CENTER: in GetRect()
57 case nw::lyt::HORIZONTALPOSITION_RIGHT: in GetRect()
64 case nw::lyt::VERTICALPOSITION_TOP: in GetRect()
68 case nw::lyt::VERTICALPOSITION_CENTER: in GetRect()
72 case nw::lyt::VERTICALPOSITION_BOTTOM: in GetRect()
180 nw::lyt::Layout* layout = m_LayoutResource->GetLayout(); in SetupLayout()
184 nw::lyt::Pane* pane = layout->GetRootPane(); in SetupLayout()
DSmLytButton.cpp55 const nw::lyt::Pane* pane = layoutRes->GetPane("TextBox_00"); in SmLytButton()
56 if ( nw::lyt::TextBox* pTextBox = nw::ut::DynamicCast<nw::lyt::TextBox*>(pane) ) in SmLytButton()
/NW4C-2.0.3/demos/lyt/locationAdjust/sources/
Dmain.cpp132 SetupCamera(nw::lyt::DrawInfo& drawInfo, const nw::lyt::Layout& layout) in SetupCamera()
174 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
186 nw::lyt::ArcResourceAccessor* pResAccessor = new nw::lyt::ArcResourceAccessor; in nnMain()
192 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain()
201 nw::lyt::GraphicsResource graphicsResource; in nnMain()
223 nw::lyt::DrawInfo drawInfo; in nnMain()
229 nw::lyt::Drawer drawer; in nnMain()
237 … nw::lyt::Pane *const pTextBoxEnabled = pLayout->GetRootPane()->FindPaneByName("TextBoxEnabled"); in nnMain()
239 … nw::lyt::Pane *const pTextBoxDisabled = pLayout->GetRootPane()->FindPaneByName("TextBoxDisabled"); in nnMain()
/NW4C-2.0.3/demos/lyt/simple/sources/
Dmain.cpp197 SetupCamera(nw::lyt::DrawInfo& drawInfo, const nw::lyt::Layout& layout) in SetupCamera()
246 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
248 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain()
258 nw::lyt::ArcResourceAccessor* pResAccessor = new nw::lyt::ArcResourceAccessor; in nnMain()
271 nw::lyt::AnimTransform* pAnimTrans = 0; in nnMain()
282 nw::lyt::GraphicsResource graphicsResource; in nnMain()
302 nw::lyt::DrawInfo drawInfo; in nnMain()
305 nw::lyt::Drawer drawer; in nnMain()
/NW4C-2.0.3/demos/lyt/archiveFont/sources/
Dmain.cpp146 SetupCamera(nw::lyt::DrawInfo& drawInfo, const nw::lyt::Layout& layout) in SetupCamera()
188 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
200 nw::lyt::ArcResourceAccessor* pResAccessor = new nw::lyt::ArcResourceAccessor; in nnMain()
211 nw::lyt::FontKey fontKey = pResAccessor->RegistFont("sample.bcfna", pArchiveFont); in nnMain()
213 nw::lyt::Layout *const pLayout = new nw::lyt::Layout(); in nnMain()
222 nw::lyt::GraphicsResource graphicsResource; in nnMain()
244 nw::lyt::DrawInfo drawInfo; in nnMain()
247 nw::lyt::Drawer drawer; in nnMain()
/NW4C-2.0.3/demos/lyt/perspective/sources/
Dmain.cpp142 nw::lyt::DrawInfo& drawInfo, in SetupCamera()
143 const nw::lyt::Layout& layout, in SetupCamera()
225 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
237 nw::lyt::ArcResourceAccessor* pResAccessor = new nw::lyt::ArcResourceAccessor; in nnMain()
243 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain()
252 nw::lyt::AnimTransform* pAnimTrans = 0; in nnMain()
264 nw::lyt::GraphicsResource graphicsResource; in nnMain()
286 nw::lyt::DrawInfo drawInfo; in nnMain()
289 nw::lyt::Drawer drawer; in nnMain()
/NW4C-2.0.3/demos/lyt/orthoStereo/sources/
Dmain.cpp190 nw::lyt::DrawInfo& drawInfo, in SetupCamera()
191 const nw::lyt::Layout& layout in SetupCamera()
231 CalcParallaxDot(nw::lyt::DrawInfo& drawInfo) in CalcParallaxDot()
378 nw::lyt::Initialize(&s_DeviceAllocator, &s_DeviceAllocator); in nnMain()
390 nw::lyt::ArcResourceAccessor* pResAccessor = new nw::lyt::ArcResourceAccessor; in nnMain()
396 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain()
405 nw::lyt::GraphicsResource graphicsResource; in nnMain()
428 nw::lyt::DrawInfo drawInfo; in nnMain()
431 nw::lyt::Drawer drawer; in nnMain()
460 drawer.DrawBegin(nw::lyt::Drawer::DONT_USE_SETUP_COMMAND); in nnMain()
[all …]
/NW4C-2.0.3/sources/libraries/lyt/
Dlyt_ResourceAccessor.cpp27 namespace lyt namespace
49 TextureInfo texInfo = lyt::LoadTexture(pTexRes, size); in LoadTexture()
Dlyt_Common.cpp33 namespace lyt namespace
649 GL::SetTevBufferColor(nw::lyt::GraphicsResource &graphicsResource, ut::Color8 value) in SetTevBufferColor()
666 GL::SetTevBufferInput(nw::lyt::GraphicsResource &graphicsResource, int index, bool valueRgb, bool v… in SetTevBufferInput()
686 GL::SetEnableAlphaTest(nw::lyt::GraphicsResource &graphicsResource, bool value) in SetEnableAlphaTest()
693 GL::SetAlphaRefValue(nw::lyt::GraphicsResource &graphicsResource, f32 value) in SetAlphaRefValue()
700 GL::SetAlphaTestFunc(nw::lyt::GraphicsResource &graphicsResource, nw::lyt::AlphaTest value) in SetAlphaTestFunc()
727 GL::SetTexMinFilter(nw::lyt::GraphicsResource&, nw::lyt::TexFilter value) in SetTexMinFilter()
734 GL::SetTexMagFilter(nw::lyt::GraphicsResource&, nw::lyt::TexFilter value) in SetTexMagFilter()
Dlyt_TextureContainer.cpp26 namespace lyt namespace
36 lyt::DeleteTexture(m_TexInfo); in ~TextureRefLink()
Dlyt_Suppliment.cpp23 nw::math::MTX44* nw::lyt::internal::MTX44Transpose(nw::math::MTX44* pOut, const nw::math::MTX34* pS… in MTX44Transpose()
38 nw::math::MTX44* nw::lyt::internal::MTX44Mult( in MTX44Mult()
/NW4C-2.0.3/sources/shaders/
DOMakefile19 .SUBDIRS: demo font lyt gfx
/NW4C-2.0.3/sources/libraries/
DOMakefile22 .SUBDIRS: anim font gfx io lyt math os ut snd dev demo

1234