Subversion Repositories tpanel

Rev

Rev 369 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 369 Rev 421
Line 113... Line 113...
113
        p = next;
113
        p = next;
114
    }
114
    }
115
 
115
 
116
    setButtons(nullptr);
116
    setButtons(nullptr);
117
    mSubPages.clear();
117
    mSubPages.clear();
118
/*
-
 
119
    PAGECHAIN_T *pc = mSubPages;
-
 
120
    PAGECHAIN_T *pc_next = nullptr;
-
 
121
 
-
 
122
    // We're not allowd to delete the subpages here, because they're managed
-
 
123
    // by the TPageManager.
-
 
124
    while (pc)
-
 
125
    {
-
 
126
        pc_next = pc->next;
-
 
127
        delete pc;
-
 
128
        pc = pc_next;
-
 
129
    }
-
 
130
 
-
 
131
    mSubPages = nullptr;
-
 
132
*/
-
 
133
}
118
}
134
 
119
 
135
void TPage::initialize(const string& nm)
120
void TPage::initialize(const string& nm)
136
{
121
{
137
    DECL_TRACER("TPage::initialize(const string& name)");
122
    DECL_TRACER("TPage::initialize(const string& name)");
Line 266... Line 251...
266
                index = oldIndex + 1;
251
                index = oldIndex + 1;
267
        }
252
        }
268
    }
253
    }
269
 
254
 
270
    setSR(sr);
255
    setSR(sr);
271
/*
-
 
272
    if (TStreamError::checkFilter(HLOG_DEBUG))
-
 
273
    {
-
 
274
        MSG_DEBUG("PageID: " << mPage.pageID);
-
 
275
        MSG_DEBUG("Name  : " << mPage.name);
-
 
276
        MSG_DEBUG("Width : " << mPage.width);
-
 
277
        MSG_DEBUG("Height: " << mPage.height);
-
 
278
 
256
 
279
        vector<SR_T>::iterator iter;
-
 
280
        size_t pos = 1;
-
 
281
 
-
 
282
        for (iter = sr.begin(); iter != sr.end(); ++iter)
-
 
283
        {
-
 
284
            MSG_DEBUG("   " << pos << ": bs: " << iter->bs);
-
 
285
            MSG_DEBUG("   " << pos << ": cb: " << iter->cb);
-
 
286
            MSG_DEBUG("   " << pos << ": cf: " << iter->cf);
-
 
287
            MSG_DEBUG("   " << pos << ": ct: " << iter->ct);
-
 
288
            MSG_DEBUG("   " << pos << ": ec: " << iter->ec);
-
 
289
            MSG_DEBUG("   " << pos << ": bm: " << iter->bm);
-
 
290
            MSG_DEBUG("   " << pos << ": mi: " << iter->mi);
-
 
291
            MSG_DEBUG("   " << pos << ": fi: " << iter->fi);
-
 
292
            pos++;
-
 
293
        }
-
 
294
    }
-
 
295
*/
-
 
296
    if (TPageInterface::getButtons())
257
    if (TPageInterface::getButtons())
297
        sortButtons();
258
        sortButtons();
298
}
259
}
299
 
260
 
300
void TPage::addProgress()
261
void TPage::addProgress()