Lines Matching refs:nPage
76 int nPage = mnCurrentPage+1; in NextPage() local
77 while(nPage <= mnPages && !mpPageStatus[nPage-1]) in NextPage()
78 nPage++; in NextPage()
80 if(nPage <= mnPages) in NextPage()
81 return GotoPage(nPage); in NextPage()
91 int nPage = mnCurrentPage-1; in PreviousPage() local
92 while(nPage >= 0 && !mpPageStatus[nPage-1]) in PreviousPage()
93 nPage--; in PreviousPage()
95 if(nPage >= 0) in PreviousPage()
96 return GotoPage(nPage); in PreviousPage()
147 int nPage = mnCurrentPage+1; in IsLastPage() local
148 while(nPage <= mnPages && !mpPageStatus[nPage-1]) in IsLastPage()
149 nPage++; in IsLastPage()
151 return nPage > mnPages; in IsLastPage()
164 int nPage = mnCurrentPage-1; in IsFirstPage() local
165 while(nPage > 0 && !mpPageStatus[nPage-1]) in IsFirstPage()
166 nPage--; in IsFirstPage()
168 return nPage == 0; in IsFirstPage()
189 bool Assistent::IsEnabled( int nPage ) in IsEnabled() argument
191 DBG_ASSERT( (nPage>0) && (nPage <= mnPages), "Seite nicht vorhanden!" ); in IsEnabled()
193 return (nPage>0) && (nPage <= mnPages && mpPageStatus[nPage-1]); in IsEnabled()
196 void Assistent::EnablePage( int nPage ) in EnablePage() argument
198 DBG_ASSERT( (nPage>0) && (nPage <= mnPages), "Seite nicht vorhanden!" ); in EnablePage()
200 if((nPage>0) && (nPage < mnPages && !mpPageStatus[nPage-1])) in EnablePage()
202 mpPageStatus[nPage-1] = true; in EnablePage()
206 void Assistent::DisablePage( int nPage ) in DisablePage() argument
208 DBG_ASSERT( (nPage>0) && (nPage <= mnPages), "Seite nicht vorhanden!" ); in DisablePage()
210 if((nPage>0) && (nPage <= mnPages && mpPageStatus[nPage-1])) in DisablePage()
212 mpPageStatus[nPage-1] = false; in DisablePage()
213 if(mnCurrentPage == nPage) in DisablePage()