зеркало из https://github.com/mozilla/pjs.git
Making some more stuff const.
This commit is contained in:
Родитель
0d1d78a102
Коммит
c0210beacd
|
@ -451,7 +451,7 @@ CHyperTreeFlexTable :: DrawSelf ( )
|
|||
// Redraw the row corresponding to the given HT node
|
||||
//
|
||||
void
|
||||
CHyperTreeFlexTable :: RedrawRow ( HT_Resource inNode )
|
||||
CHyperTreeFlexTable :: RedrawRow ( HT_Resource inNode ) const
|
||||
{
|
||||
TableIndexT row = URDFUtilities::HTRowToPPRow(HT_GetNodeIndex(HT_GetView(inNode), inNode));
|
||||
RefreshRowRange( row, row );
|
||||
|
@ -1667,7 +1667,7 @@ CPopdownFlexTable :: DragSelection(
|
|||
|
||||
#pragma mark -
|
||||
|
||||
CTreeIcon :: CTreeIcon ( const string & inURL, CHyperTreeFlexTable* inParent, HT_Resource inNode )
|
||||
CTreeIcon :: CTreeIcon ( const string & inURL, const CHyperTreeFlexTable* inParent, HT_Resource inNode )
|
||||
: CImageIconMixin(inURL), mTree(inParent), mNode(inNode)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -72,7 +72,7 @@ public:
|
|||
virtual void SetTargetFrame ( const char* inFrame ) ;
|
||||
virtual const char* GetTargetFrame ( ) const ;
|
||||
|
||||
virtual void RedrawRow ( HT_Resource ) ;
|
||||
virtual void RedrawRow ( HT_Resource ) const ;
|
||||
|
||||
virtual void SetupColumns ( ) ;
|
||||
|
||||
|
@ -253,7 +253,7 @@ private:
|
|||
class CTreeIcon : public CImageIconMixin
|
||||
{
|
||||
public:
|
||||
CTreeIcon ( const string & inURL, CHyperTreeFlexTable* inTree, HT_Resource inNode ) ;
|
||||
CTreeIcon ( const string & inURL, const CHyperTreeFlexTable* inTree, HT_Resource inNode ) ;
|
||||
~CTreeIcon ( ) ;
|
||||
|
||||
private:
|
||||
|
@ -261,7 +261,7 @@ private:
|
|||
void DrawStandby ( const Point & inTopLeft,
|
||||
const IconTransformType inTransform ) const;
|
||||
|
||||
CHyperTreeFlexTable* mTree;
|
||||
HT_Resource mNode;
|
||||
const CHyperTreeFlexTable* mTree;
|
||||
HT_Resource mNode;
|
||||
|
||||
}; // class CTreeIcon
|
Загрузка…
Ссылка в новой задаче