mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
Update EditorItems.cpp
Removed unused clippingRect
This commit is contained in:
@@ -220,7 +220,6 @@ void EntryInitEditorItemsInfo()
|
|||||||
void InitEditorItemsInfo(UINT32 uiItemType)
|
void InitEditorItemsInfo(UINT32 uiItemType)
|
||||||
{
|
{
|
||||||
INVTYPE *item;
|
INVTYPE *item;
|
||||||
SGPRect SaveRect;
|
|
||||||
INT32 i;
|
INT32 i;
|
||||||
UINT16 usCounter;
|
UINT16 usCounter;
|
||||||
BOOLEAN fTypeMatch;
|
BOOLEAN fTypeMatch;
|
||||||
@@ -318,7 +317,6 @@ void InitEditorItemsInfo(UINT32 uiItemType)
|
|||||||
DetermineItemsScrolling();
|
DetermineItemsScrolling();
|
||||||
|
|
||||||
usCounter = 0;
|
usCounter = 0;
|
||||||
GetClippingRect(&SaveRect);
|
|
||||||
// Go through the items, and depending on the current eInfo.uiItemType, store the item indexes for blitting graphics and names later in RenderEditorItemsInfo()
|
// Go through the items, and depending on the current eInfo.uiItemType, store the item indexes for blitting graphics and names later in RenderEditorItemsInfo()
|
||||||
if( eInfo.uiItemType == TBAR_MODE_ITEM_KEYS )
|
if( eInfo.uiItemType == TBAR_MODE_ITEM_KEYS )
|
||||||
{ //Keys use a totally different method for determining
|
{ //Keys use a totally different method for determining
|
||||||
@@ -413,8 +411,6 @@ void InitEditorItemsInfo(UINT32 uiItemType)
|
|||||||
usCounter++;
|
usCounter++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
SetClippingRect(&SaveRect);
|
|
||||||
gfRenderTaskbar = TRUE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void DetermineItemsScrolling()
|
void DetermineItemsScrolling()
|
||||||
|
|||||||
Reference in New Issue
Block a user