sim: DBSrPaintArea() cb_database_srpaintarea_t SimSelectFunc()
This commit is contained in:
parent
dceb5cfad7
commit
56bdf9ce28
|
|
@ -262,7 +262,7 @@ SimSelectArea(
|
||||||
const Rect *rect)
|
const Rect *rect)
|
||||||
{
|
{
|
||||||
int plane;
|
int plane;
|
||||||
int SimSelectFunc();
|
int SimSelectFunc(Tile *tile, ClientData cdata); /* cb_database_srpaintarea_t (TileListElt **pHead) */
|
||||||
|
|
||||||
/* only need to extract node names if the selection has changed or
|
/* only need to extract node names if the selection has changed or
|
||||||
* if node aliases are to be printed.
|
* if node aliases are to be printed.
|
||||||
|
|
@ -278,7 +278,7 @@ SimSelectArea(
|
||||||
{
|
{
|
||||||
(void) DBSrPaintArea((Tile *) NULL, SelectDef->cd_planes[plane],
|
(void) DBSrPaintArea((Tile *) NULL, SelectDef->cd_planes[plane],
|
||||||
&TiPlaneRect, &DBAllButSpaceAndDRCBits,
|
&TiPlaneRect, &DBAllButSpaceAndDRCBits,
|
||||||
SimSelectFunc, (ClientData) &NodeList);
|
SimSelectFunc, PTR2CD(&NodeList));
|
||||||
}
|
}
|
||||||
|
|
||||||
HashKill(&SimAbortSeenTbl);
|
HashKill(&SimAbortSeenTbl);
|
||||||
|
|
@ -318,11 +318,13 @@ SimSelectArea(
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/** @typedef cb_database_srpaintarea_t */
|
||||||
int
|
int
|
||||||
SimSelectFunc(
|
SimSelectFunc(
|
||||||
Tile *tile, /* Tile in SelectDef. */
|
Tile *tile, /* Tile in SelectDef. */
|
||||||
TileListElt **pHead) /* list of node names found */
|
ClientData cdata) /* list of node names found (TileListElt **pHead) */
|
||||||
{
|
{
|
||||||
|
TileListElt **pHead = (TileListElt **)CD2PTR(cdata);
|
||||||
TileTypeBitMask mask;
|
TileTypeBitMask mask;
|
||||||
SearchContext scx;
|
SearchContext scx;
|
||||||
DBWclientRec *crec;
|
DBWclientRec *crec;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue