Home
last modified time | relevance | path

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

/NW4C-1.2.23/demos/lyt/bounding/sources/
Dmain.cpp155 GetCursorPosition(nw::lyt::Layout* pLayout) in GetCursorPosition() argument
157 const nw::ut::Rect& layoutRect = pLayout->GetLayoutRect(); in GetCursorPosition()
182 ApplyCursorPosition(nw::lyt::Layout* pLayout, const nw::math::VEC2& curPos) in ApplyCursorPosition() argument
184 nw::lyt::Pane* pCrossBar = pLayout->GetRootPane()->FindPaneByName("CrossBar", true); in ApplyCursorPosition()
204 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() local
226 pLayout->Build(lytRes, pResAccessor); in nnMain()
245 pAnimTrans[ANIMTYPE_UNSELECT] = pLayout->CreateAnimTransform(rlanRes, pResAccessor); in nnMain()
248 pAnimTrans[ANIMTYPE_SELECT] = pLayout->CreateAnimTransform(rlanRes, pResAccessor); in nnMain()
253 if (nw::lyt::Pane* pPane = pLayout->GetRootPane()->FindPaneByName(paneNames[i])) in nnMain()
314 SetupCamera(drawInfo, *pLayout); in nnMain()
[all …]
/NW4C-1.2.23/demos/lyt/locationAdjust/sources/
Dmain.cpp190 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() local
196 pLayout->Build(lytRes, pResAccessor); 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()
266 SetupCamera(drawInfo, *pLayout); in nnMain()
268 pLayout->CalculateMtx(drawInfo); in nnMain()
271 drawer.Draw(pLayout, drawInfo); in nnMain()
283 SetupCamera(drawInfo, *pLayout); in nnMain()
286 pLayout->CalculateMtx(drawInfo); in nnMain()
289 drawer.Draw(pLayout, drawInfo); in nnMain()
[all …]
/NW4C-1.2.23/demos/lyt/tagGroupBind/sources/
Dmain.cpp134 nw::lyt::Layout* pLayout, in SetupAnimTransform() argument
141 … nw::lyt::Group *const pGroup = pLayout->GetGroupContainer()->FindGroupByName(groupRef.GetName()); in SetupAnimTransform()
148 nw::lyt::AnimTransform *const pAnimTrans = pLayout->CreateAnimTransform(); in SetupAnimTransform()
205 GetCursorPosition(nw::lyt::Layout* pLayout) in GetCursorPosition() argument
207 const nw::ut::Rect& layoutRect = pLayout->GetLayoutRect(); in GetCursorPosition()
232 ApplyCursorPosition(nw::lyt::Layout* pLayout, const nw::math::VEC2& curPos) in ApplyCursorPosition() argument
234 nw::lyt::Pane* pCrossBar = pLayout->GetRootPane()->FindPaneByName("CrossBar", true); in ApplyCursorPosition()
337 nw::lyt::Layout *const pLayout = new nw::lyt::Layout(); in nnMain() local
359 pLayout->Build(lytRes, pResAccessor); in nnMain()
405 …animTranss[animTransIdx++] = SetupAnimTransform(pLayout, animRess[anmIdx], groupRefs[grpIdx], pRes… in nnMain()
[all …]
/NW4C-1.2.23/demos/lyt/simple/sources/
Dmain.cpp246 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() local
266 pLayout->Build(lytRes, pResAccessor); in nnMain()
274 pAnimTrans = pLayout->CreateAnimTransform(lpaRes, pResAccessor); in nnMain()
275 pLayout->BindAnimation(pAnimTrans); in nnMain()
316 SetupCamera(drawInfo, *pLayout); in nnMain()
319 pLayout->Animate(); in nnMain()
320 pLayout->CalculateMtx(drawInfo); in nnMain()
323 drawer.Draw(pLayout, drawInfo); in nnMain()
343 delete pLayout; in nnMain()
/NW4C-1.2.23/sources/libraries/lyt/
Dlyt_Drawer.cpp32 Drawer::Draw( const Layout* pLayout, DrawInfo& drawInfo ) in Draw() argument
34 if ( pLayout == NULL ) in Draw()
39 if ( pLayout->GetRootPane() == NULL || in Draw()
40 pLayout->GetRootPane()->IsVisible() == false ) return; in Draw()
42 pLayout->GetRootPane()->MakeUniformData( &drawInfo, this ); in Draw()
Dlyt_Util.cpp149 Layout* pLayout, in FindHitPane() argument
153 return FindHitPane(pLayout->GetRootPane(), pos); in FindHitPane()
Dlyt_Animation.cpp991 Layout* pLayout, in Bind() argument
996 NW_NULL_ASSERT(pLayout); in Bind()
999 …AnimTransformBasic *const pAnimTrans = static_cast<AnimTransformBasic*>(pLayout->CreateAnimTransfo… in Bind()
/NW4C-1.2.23/demos/lyt/simple2/sources/
Dmain.cpp174 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() local
180 pLayout->Build(lytRes, pResAccessor); in nnMain()
200 pLayout->GetRootPane()->AppendChild(pPic); in nnMain()
218 pLayout->GetRootPane()->AppendChild(pPic); in nnMain()
238 pLayout->GetRootPane()->AppendChild(pPic); in nnMain()
288 SetupCamera(drawInfo, *pLayout); in nnMain()
290 pLayout->CalculateMtx(drawInfo); in nnMain()
293 drawer.Draw(pLayout, drawInfo); in nnMain()
305 delete pLayout; in nnMain()
/NW4C-1.2.23/demos/lyt/group/sources/
Dmain.cpp175 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() local
181 pLayout->Build(lytRes, pResAccessor); in nnMain()
223 pCurrentGroup = pLayout->GetGroupContainer()->FindGroupByName(groupName[currentGroup]); in nnMain()
240 pCurrentGroup = pLayout->GetGroupContainer()->FindGroupByName(groupName[currentGroup]); in nnMain()
256 nw::lyt::PaneList& paneList = pLayout->GetRootPane()->GetChildList(); in nnMain()
275 SetupCamera(drawInfo, *pLayout); in nnMain()
277 pLayout->CalculateMtx(drawInfo); in nnMain()
280 drawer.Draw(pLayout, drawInfo); in nnMain()
303 delete pLayout; in nnMain()
/NW4C-1.2.23/demos/lyt/perspective/sources/
Dmain.cpp241 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() local
247 pLayout->Build(lytRes, pResAccessor); in nnMain()
255 pAnimTrans = pLayout->CreateAnimTransform(lpaRes, pResAccessor); in nnMain()
256 pLayout->BindAnimation(pAnimTrans); in nnMain()
313 SetupCamera(drawInfo, *pLayout, bPerspective); in nnMain()
315 pLayout->Animate(); in nnMain()
316 pLayout->CalculateMtx(drawInfo); in nnMain()
319 drawer.Draw(pLayout, drawInfo); in nnMain()
339 delete pLayout; in nnMain()
/NW4C-1.2.23/demos/lyt/animShare/sources/
Dmain.cpp391 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() local
413 pLayout->Build(lytRes, pResAccessor); in nnMain()
427 pLayout->BindAnimationAuto(animRes, pResAccessor); in nnMain()
432 pLayout->GetRootPane()->SetAnimationEnable(animRes, true/*bEnable*/, true/*bRecursive*/); in nnMain()
435 nw::lyt::Group *const pGroup_00 = pLayout->GetGroupContainer()->FindGroupByName("Group_00"); in nnMain()
482 SetupCamera(drawInfo, *pLayout); in nnMain()
484 pLayout->CalculateMtx(drawInfo); in nnMain()
487 drawer.Draw(pLayout, drawInfo); in nnMain()
490 curPos = GetCursorPosition(*pLayout); in nnMain()
493 ApplyCursorPosition(*pLayout, curPos); in nnMain()
[all …]
/NW4C-1.2.23/demos/lyt/extUserData/sources/
Dmain.cpp219 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() local
241 pLayout->Build(lytRes, pResAccessor); in nnMain()
244 nw::lyt::Pane *const pExtUserDataPane = pLayout->GetRootPane()->FindPaneByName("TextBox"); in nnMain()
292 SetupCamera(drawInfo, *pLayout); in nnMain()
294 pLayout->CalculateMtx(drawInfo); in nnMain()
297 drawer.Draw(pLayout, drawInfo); in nnMain()
309 delete pLayout; in nnMain()
/NW4C-1.2.23/demos/lyt/archiveFont/sources/
Dmain.cpp211 nw::lyt::Layout *const pLayout = new nw::lyt::Layout(); in nnMain() local
217 pLayout->Build(lytRes, pResAccessor); in nnMain()
260 SetupCamera(drawInfo, *pLayout); in nnMain()
262 pLayout->CalculateMtx(drawInfo); in nnMain()
265 drawer.Draw(pLayout, drawInfo); in nnMain()
277 delete pLayout; in nnMain()
/NW4C-1.2.23/demos/Nw4cDemo/sources/
DLytCtrl.cpp233 SmLayout* pLayout = m_SmLytInstanceArray[i]; in Render() local
235 if ( pLayout->GetVisible() ) in Render()
240 if ( pLayout->SetupLayout() ) in Render()
242 SmLayoutResource* smLayoutRes = pLayout->GetLayoutResource(); in Render()
249 pLayout->ResetLayout(); in Render()
/NW4C-1.2.23/demos/lyt/orthoStereo/sources/
Dmain.cpp394 nw::lyt::Layout* pLayout = new nw::lyt::Layout(); in nnMain() local
400 pLayout->Build(lytRes, pResAccessor); in nnMain()
448 SetupCamera(drawInfo, *pLayout); in nnMain()
451 pLayout->Animate(); in nnMain()
452 pLayout->CalculateMtx(drawInfo); in nnMain()
459 drawer.Draw(pLayout, drawInfo); in nnMain()
521 delete pLayout; in nnMain()
/NW4C-1.2.23/include/nw/lyt/
Dlyt_DrawInfo.h328 void SetLayout(Layout* pLayout) const in SetLayout() argument
330 m_pLayout = pLayout; in SetLayout()
Dlyt_Util.h189 Layout* pLayout,
Dlyt_Drawer.h270 void Draw( const Layout* pLayout, DrawInfo& drawInfo );
Dlyt_Animation.h657 Layout* pLayout,