Home
last modified time | relevance | path

Searched refs:pLayout (Results 1 – 20 of 20) sorted by relevance

/NW4C-2.0.3/demos/lyt/bounding/sources/
Dmain.cpp157 GetCursorPosition(nw::lyt::Layout* pLayout) in GetCursorPosition() argument
159 const nw::ut::Rect& layoutRect = pLayout->GetLayoutRect(); in GetCursorPosition()
184 ApplyCursorPosition(nw::lyt::Layout* pLayout, const nw::math::VEC2& curPos) in ApplyCursorPosition() argument
186 nw::lyt::Pane* pCrossBar = pLayout->GetRootPane()->FindPaneByName("CrossBar", true); in ApplyCursorPosition()
206 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() local
228 pLayout->Build(lytRes, pResAccessor); in nnMain()
247 pAnimTrans[ANIMTYPE_UNSELECT] = pLayout->CreateAnimTransform(rlanRes, pResAccessor); in nnMain()
250 pAnimTrans[ANIMTYPE_SELECT] = pLayout->CreateAnimTransform(rlanRes, pResAccessor); in nnMain()
255 if (nw::lyt::Pane* pPane = pLayout->GetRootPane()->FindPaneByName(paneNames[i])) in nnMain()
316 SetupCamera(drawInfo, *pLayout); in nnMain()
[all …]
/NW4C-2.0.3/demos/lyt/locationAdjust/sources/
Dmain.cpp192 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() local
198 pLayout->Build(lytRes, pResAccessor); 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()
268 SetupCamera(drawInfo, *pLayout); in nnMain()
270 pLayout->CalculateMtx(drawInfo); in nnMain()
273 drawer.Draw(pLayout, drawInfo); in nnMain()
285 SetupCamera(drawInfo, *pLayout); in nnMain()
288 pLayout->CalculateMtx(drawInfo); in nnMain()
291 drawer.Draw(pLayout, drawInfo); in nnMain()
[all …]
/NW4C-2.0.3/demos/lyt/tagGroupBind/sources/
Dmain.cpp136 nw::lyt::Layout* pLayout, in SetupAnimTransform() argument
143 … nw::lyt::Group *const pGroup = pLayout->GetGroupContainer()->FindGroupByName(groupRef.GetName()); in SetupAnimTransform()
150 nw::lyt::AnimTransform *const pAnimTrans = pLayout->CreateAnimTransform(); in SetupAnimTransform()
207 GetCursorPosition(nw::lyt::Layout* pLayout) in GetCursorPosition() argument
209 const nw::ut::Rect& layoutRect = pLayout->GetLayoutRect(); in GetCursorPosition()
234 ApplyCursorPosition(nw::lyt::Layout* pLayout, const nw::math::VEC2& curPos) in ApplyCursorPosition() argument
236 nw::lyt::Pane* pCrossBar = pLayout->GetRootPane()->FindPaneByName("CrossBar", true); in ApplyCursorPosition()
339 nw::lyt::Layout *const pLayout = new nw::lyt::Layout(); in nnMain() local
361 pLayout->Build(lytRes, pResAccessor); in nnMain()
407 …animTranss[animTransIdx++] = SetupAnimTransform(pLayout, animRess[anmIdx], groupRefs[grpIdx], pRes… in nnMain()
[all …]
/NW4C-2.0.3/demos/lyt/simple/sources/
Dmain.cpp248 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() local
268 pLayout->Build(lytRes, pResAccessor); in nnMain()
276 pAnimTrans = pLayout->CreateAnimTransform(lpaRes, pResAccessor); in nnMain()
277 pLayout->BindAnimation(pAnimTrans); in nnMain()
318 SetupCamera(drawInfo, *pLayout); in nnMain()
321 pLayout->Animate(); in nnMain()
322 pLayout->CalculateMtx(drawInfo); in nnMain()
325 drawer.Draw(pLayout, drawInfo); in nnMain()
345 delete pLayout; in nnMain()
/NW4C-2.0.3/sources/libraries/lyt/
Dlyt_Drawer.cpp34 Drawer::Draw( const Layout* pLayout, DrawInfo& drawInfo ) in Draw() argument
36 if ( pLayout == NULL ) in Draw()
41 if ( pLayout->GetRootPane() == NULL || in Draw()
42 pLayout->GetRootPane()->IsVisible() == false ) return; in Draw()
44 pLayout->GetRootPane()->MakeUniformData( &drawInfo, this ); in Draw()
Dlyt_Util.cpp152 Layout* pLayout, in FindHitPane() argument
156 return FindHitPane(pLayout->GetRootPane(), pos); in FindHitPane()
Dlyt_Animation.cpp969 Layout* pLayout, in Bind() argument
974 NW_NULL_ASSERT(pLayout); in Bind()
977 …AnimTransformBasic *const pAnimTrans = static_cast<AnimTransformBasic*>(pLayout->CreateAnimTransfo… in Bind()
/NW4C-2.0.3/demos/lyt/perspective/sources/
Dmain.cpp243 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() local
249 pLayout->Build(lytRes, pResAccessor); in nnMain()
257 pAnimTrans = pLayout->CreateAnimTransform(lpaRes, pResAccessor); in nnMain()
258 pLayout->BindAnimation(pAnimTrans); in nnMain()
315 SetupCamera(drawInfo, *pLayout, bPerspective); in nnMain()
317 pLayout->Animate(); in nnMain()
318 pLayout->CalculateMtx(drawInfo); in nnMain()
321 drawer.Draw(pLayout, drawInfo); in nnMain()
341 delete pLayout; in nnMain()
/NW4C-2.0.3/demos/lyt/group/sources/
Dmain.cpp177 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() local
183 pLayout->Build(lytRes, pResAccessor); in nnMain()
225 pCurrentGroup = pLayout->GetGroupContainer()->FindGroupByName(groupName[currentGroup]); in nnMain()
242 pCurrentGroup = pLayout->GetGroupContainer()->FindGroupByName(groupName[currentGroup]); in nnMain()
258 nw::lyt::PaneList& paneList = pLayout->GetRootPane()->GetChildList(); in nnMain()
277 SetupCamera(drawInfo, *pLayout); in nnMain()
279 pLayout->CalculateMtx(drawInfo); in nnMain()
282 drawer.Draw(pLayout, drawInfo); in nnMain()
305 delete pLayout; in nnMain()
/NW4C-2.0.3/demos/lyt/simple2/sources/
Dmain.cpp176 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() local
182 pLayout->Build(lytRes, pResAccessor); in nnMain()
202 pLayout->GetRootPane()->AppendChild(pPic); in nnMain()
220 pLayout->GetRootPane()->AppendChild(pPic); in nnMain()
240 pLayout->GetRootPane()->AppendChild(pPic); in nnMain()
290 SetupCamera(drawInfo, *pLayout); in nnMain()
292 pLayout->CalculateMtx(drawInfo); in nnMain()
295 drawer.Draw(pLayout, drawInfo); in nnMain()
307 delete pLayout; in nnMain()
/NW4C-2.0.3/demos/lyt/animShare/sources/
Dmain.cpp393 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() local
415 pLayout->Build(lytRes, pResAccessor); in nnMain()
429 pLayout->BindAnimationAuto(animRes, pResAccessor); in nnMain()
434 pLayout->GetRootPane()->SetAnimationEnable(animRes, true/*bEnable*/, true/*bRecursive*/); in nnMain()
437 nw::lyt::Group *const pGroup_00 = pLayout->GetGroupContainer()->FindGroupByName("Group_00"); in nnMain()
484 SetupCamera(drawInfo, *pLayout); in nnMain()
486 pLayout->CalculateMtx(drawInfo); in nnMain()
489 drawer.Draw(pLayout, drawInfo); in nnMain()
492 curPos = GetCursorPosition(*pLayout); in nnMain()
495 ApplyCursorPosition(*pLayout, curPos); in nnMain()
[all …]
/NW4C-2.0.3/demos/lyt/extUserData/sources/
Dmain.cpp221 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() local
243 pLayout->Build(lytRes, pResAccessor); in nnMain()
246 nw::lyt::Pane *const pExtUserDataPane = pLayout->GetRootPane()->FindPaneByName("TextBox"); in nnMain()
294 SetupCamera(drawInfo, *pLayout); in nnMain()
296 pLayout->CalculateMtx(drawInfo); in nnMain()
299 drawer.Draw(pLayout, drawInfo); in nnMain()
311 delete pLayout; in nnMain()
/NW4C-2.0.3/demos/lyt/texVram/sources/
Dmain.cpp214 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() local
239 pLayout->Build(lytRes, pResAccessor); in nnMain()
282 SetupCamera(drawInfo, *pLayout); in nnMain()
284 pLayout->CalculateMtx(drawInfo); in nnMain()
287 drawer.Draw(pLayout, drawInfo); in nnMain()
299 delete pLayout; in nnMain()
/NW4C-2.0.3/demos/lyt/archiveFont/sources/
Dmain.cpp213 nw::lyt::Layout *const pLayout = new nw::lyt::Layout(); in nnMain() local
219 pLayout->Build(lytRes, pResAccessor); in nnMain()
262 SetupCamera(drawInfo, *pLayout); in nnMain()
264 pLayout->CalculateMtx(drawInfo); in nnMain()
267 drawer.Draw(pLayout, drawInfo); in nnMain()
279 delete pLayout; in nnMain()
/NW4C-2.0.3/demos/Nw4cDemo/sources/
DLytCtrl.cpp235 SmLayout* pLayout = m_SmLytInstanceArray[i]; in Render() local
237 if ( pLayout->GetVisible() ) in Render()
242 if ( pLayout->SetupLayout() ) in Render()
244 SmLayoutResource* smLayoutRes = pLayout->GetLayoutResource(); in Render()
251 pLayout->ResetLayout(); in Render()
/NW4C-2.0.3/demos/lyt/orthoStereo/sources/
Dmain.cpp396 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() local
402 pLayout->Build(lytRes, pResAccessor); in nnMain()
450 SetupCamera(drawInfo, *pLayout); in nnMain()
453 pLayout->Animate(); in nnMain()
454 pLayout->CalculateMtx(drawInfo); in nnMain()
461 drawer.Draw(pLayout, drawInfo); in nnMain()
523 delete pLayout; in nnMain()
/NW4C-2.0.3/include/nw/lyt/
Dlyt_DrawInfo.h330 void SetLayout(Layout* pLayout) const in SetLayout() argument
332 m_pLayout = pLayout; in SetLayout()
Dlyt_Util.h191 Layout* pLayout,
Dlyt_Drawer.h272 void Draw( const Layout* pLayout, DrawInfo& drawInfo );
Dlyt_Animation.h690 Layout* pLayout,