From a01552431ca44aa61e53217e239cfba5a572ad6d Mon Sep 17 00:00:00 2001 From: jmcmullan Date: Thu, 14 Jul 2011 12:12:14 +0000 Subject: [PATCH] icon.library: Clean up and comment on unused variables Signed-off-by: Jason S. McMullan git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@40110 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- workbench/libs/icon/bumprevision.c | 2 -- workbench/libs/icon/geticontaglist.c | 20 ++++++++++++++++++++ workbench/libs/icon/puticontaglist.c | 30 +++++++++++++++++++++++++++++- 3 files changed, 49 insertions(+), 3 deletions(-) diff --git a/workbench/libs/icon/bumprevision.c b/workbench/libs/icon/bumprevision.c index 281ff63e20..bbed2bf28a 100644 --- a/workbench/libs/icon/bumprevision.c +++ b/workbench/libs/icon/bumprevision.c @@ -49,10 +49,8 @@ LONG copy_number = 0; BOOL founddigit = FALSE; UBYTE c; - UBYTE * tempstrptr; UBYTE * oldnameptr; - tempstrptr = tempstr; oldnameptr = oldname; if (!strncmp (oldname, "copy_", 5)) diff --git a/workbench/libs/icon/geticontaglist.c b/workbench/libs/icon/geticontaglist.c index 35d3fab47d..b7330b5570 100644 --- a/workbench/libs/icon/geticontaglist.c +++ b/workbench/libs/icon/geticontaglist.c @@ -251,6 +251,26 @@ icon = DupDiskObjectA(&temp, NULL); } + if (label != NULL) { + /* TODO: Add the label specified in 'label' to the icon */ + } + + if (screen != NULL) { + /* TODO: Render the icon for the specified screen */ + } + + if (generateImageMasks) { + /* TODO: Generate the image masks */ + } + + if (remapIcon) { + /* TODO: Remap the icon */ + } + + if (getPaletteMappedIcon) { + /* TODO: Palette map the icon */ + } + /* Set error code */ if (errorCode != NULL) *errorCode = error; diff --git a/workbench/libs/icon/puticontaglist.c b/workbench/libs/icon/puticontaglist.c index b21944ac4e..85e7f15ba2 100644 --- a/workbench/libs/icon/puticontaglist.c +++ b/workbench/libs/icon/puticontaglist.c @@ -114,7 +114,35 @@ } } - + + if (onlyUpdatePosition) { + /* TODO: Only update the position */ + } + + if (notifyWorkbench) { + /* TODO: Notify the workbench */ + } + + if (dropPlanarIconImage) { + /* TODO: Drop the planar icon image */ + } + + if (dropChunkyIconImage) { + /* TODO: Drop the chunky icon image */ + } + + if (dropNewIconToolTypes) { + /* TODO: Use the NewIcon style */ + } + + if (optimizeImageSpace) { + /* TODO: Optimize image space */ + } + + if (preserveOldIconImages) { + /* TODO: Preserve the old icon images */ + } + if (defaultType != -1) { CONST_STRPTR defaultIconName = GetDefaultIconName(defaultType); -- 2.11.4.GIT