summaryrefslogtreecommitdiff
path: root/basctl/source
diff options
context:
space:
mode:
authorJoseph Powers <jpowers27@cox.net>2010-11-09 20:07:12 -0800
committerSebastian Spaeth <Sebastian@SSpaeth.de>2010-11-10 07:56:57 +0100
commit688a78dc021912046f8fe152c99b5bfb8d50adc2 (patch)
tree1ba3198421469d83b024286a670acad2b1cc8d5a /basctl/source
parentf581801f7c10cccea2e14c2ef82a68c6b357a62b (diff)
Bitmap Tree Cleanup - components
Removed all references to HIGHCONTRAST mode from svtools classes: SvImpLBox SvTreeListBox The reset is just fall out.
Diffstat (limited to 'basctl/source')
-rw-r--r--basctl/source/basicide/basidesh.src5
-rw-r--r--basctl/source/basicide/bastype2.cxx8
-rw-r--r--basctl/source/basicide/moduldl2.cxx9
3 files changed, 4 insertions, 18 deletions
diff --git a/basctl/source/basicide/basidesh.src b/basctl/source/basicide/basidesh.src
index 556211f690af..9b0c38d16081 100644
--- a/basctl/source/basicide/basidesh.src
+++ b/basctl/source/basicide/basidesh.src
@@ -529,11 +529,6 @@ Image RID_IMG_LOCKED
ImageBitmap = Bitmap { File = "locked.bmp" ; };
MASKCOLOR
};
-Image RID_IMG_LOCKED_HC
-{
- ImageBitmap = Bitmap { File = "locked_h.bmp" ; };
- MASKCOLOR
-};
Image RID_IMG_INSTALLATION
{
ImageBitmap = Bitmap { File = "harddisk_16.png"; };
diff --git a/basctl/source/basicide/bastype2.cxx b/basctl/source/basicide/bastype2.cxx
index 05c965f6e035..2299e1a720ad 100644
--- a/basctl/source/basicide/bastype2.cxx
+++ b/basctl/source/basicide/bastype2.cxx
@@ -718,17 +718,13 @@ SvLBoxEntry* BasicTreeListBox::AddEntry(
SvLBoxEntry* p = InsertEntry(
rText, rImage, rImage, pParent, bChildrenOnDemand, LIST_APPEND,
aUserData.release() ); // XXX possible leak
- SetExpandedEntryBmp( p, rImageHC, BMP_COLOR_HIGHCONTRAST );
- SetCollapsedEntryBmp( p, rImageHC, BMP_COLOR_HIGHCONTRAST );
return p;
}
void BasicTreeListBox::SetEntryBitmaps( SvLBoxEntry * pEntry, const Image& rImage, const Image& rImageHC )
{
- SetExpandedEntryBmp( pEntry, rImage, BMP_COLOR_NORMAL );
- SetCollapsedEntryBmp( pEntry, rImage, BMP_COLOR_NORMAL );
- SetExpandedEntryBmp( pEntry, rImageHC, BMP_COLOR_HIGHCONTRAST );
- SetCollapsedEntryBmp( pEntry, rImageHC, BMP_COLOR_HIGHCONTRAST );
+ SetExpandedEntryBmp( pEntry, rImage );
+ SetCollapsedEntryBmp( pEntry, rImage );
}
LibraryType BasicTreeListBox::GetLibraryType() const
diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx
index b66d6b3510d9..b9445dc1f675 100644
--- a/basctl/source/basicide/moduldl2.cxx
+++ b/basctl/source/basicide/moduldl2.cxx
@@ -1582,13 +1582,8 @@ SvLBoxEntry* LibPage::ImpInsertLibEntry( const String& rLibName, ULONG nPos )
if (bProtected)
{
Image aImage(IDEResId(RID_IMG_LOCKED));
- aLibBox.SetExpandedEntryBmp(pNewEntry, aImage, BMP_COLOR_NORMAL);
- aLibBox.SetCollapsedEntryBmp(pNewEntry, aImage, BMP_COLOR_NORMAL);
- aImage = Image(IDEResId(RID_IMG_LOCKED_HC));
- aLibBox.SetExpandedEntryBmp(pNewEntry, aImage,
- BMP_COLOR_HIGHCONTRAST);
- aLibBox.SetCollapsedEntryBmp(pNewEntry, aImage,
- BMP_COLOR_HIGHCONTRAST);
+ aLibBox.SetExpandedEntryBmp(pNewEntry, aImage);
+ aLibBox.SetCollapsedEntryBmp(pNewEntry, aImage);
}
// check, if library is link