Kaydet (Commit) 00b523da authored tarafından Joseph Powers's avatar Joseph Powers

Purged BmpColorMode from libs-gui - impress

üst daebf443
...@@ -264,91 +264,82 @@ Bitmap BMP_FOILN_01 ...@@ -264,91 +264,82 @@ Bitmap BMP_FOILN_01
{ {
File = "foiln01.bmp" ; File = "foiln01.bmp" ;
}; };
Bitmap BMP_FOILN_01_H Bitmap BMP_FOILN_01_H
{ {
File = "foiln01_h.bmp" ; File = "foiln01_h.bmp" ;
}; };
Bitmap BMP_PAGE Bitmap BMP_PAGE
{ {
File = "page.bmp" ; File = "page.bmp" ;
}; };
Bitmap BMP_PAGE_H Bitmap BMP_PAGE_H
{ {
File = "page_h.bmp" ; File = "page_h.bmp" ;
}; };
Bitmap BMP_PAGE_EXCLUDED Bitmap BMP_PAGE_EXCLUDED
{ {
File = "pageexcl.bmp" ; File = "pageexcl.bmp" ;
}; };
Bitmap BMP_PAGEOBJS_EXCLUDED Bitmap BMP_PAGEOBJS_EXCLUDED
{ {
File = "pagobjex.bmp" ; File = "pagobjex.bmp" ;
}; };
Bitmap BMP_PAGEOBJS Bitmap BMP_PAGEOBJS
{ {
File = "pageobjs.bmp" ; File = "pageobjs.bmp" ;
}; };
Bitmap BMP_OBJECTS Bitmap BMP_OBJECTS
{ {
File = "objects.bmp" ; File = "objects.bmp" ;
}; };
Bitmap BMP_OLE Bitmap BMP_OLE
{ {
File = "ole.bmp" ; File = "ole.bmp" ;
}; };
Bitmap BMP_GROUP Bitmap BMP_GROUP
{ {
File = "group.bmp" ; File = "group.bmp" ;
}; };
Bitmap BMP_DOC_OPEN Bitmap BMP_DOC_OPEN
{ {
File = "docopen.bmp" ; File = "docopen.bmp" ;
}; };
Bitmap BMP_DOC_CLOSED Bitmap BMP_DOC_CLOSED
{ {
File = "docclose.bmp" ; File = "docclose.bmp" ;
}; };
Bitmap BMP_DOC_TEXT Bitmap BMP_DOC_TEXT
{ {
File = "doctext.bmp" ; File = "doctext.bmp" ;
}; };
Bitmap BMP_EXPAND Bitmap BMP_EXPAND
{ {
File = "plus.bmp" ; File = "plus.bmp" ;
}; };
Bitmap BMP_COLLAPSE Bitmap BMP_COLLAPSE
{ {
File = "minus.bmp" ; File = "minus.bmp" ;
}; };
Bitmap BMP_GRAPHIC Bitmap BMP_GRAPHIC
{ {
File = "graphic.bmp" ; File = "graphic.bmp" ;
}; };
Image IMG_PIPETTE_H
{
ImageBitmap = Bitmap { File = "pipette_h.bmp" ; };
MaskColor = IMAGE_MASK_STDCOLOR_HC ;
};
Image IMG_GET1OBJECT_H
{
ImageBitmap = Bitmap { File = "get1obj_h.bmp" ; };
MaskColor = IMAGE_MASK_STDCOLOR_HC ;
};
Image IMG_GETALLOBJECT_H
{
ImageBitmap = Bitmap { File = "getallob_h.bmp" ; };
MaskColor = IMAGE_MASK_STDCOLOR_HC ;
};
Image IMG_REMOVEBMP_H
{
ImageBitmap = Bitmap { File = "del1bmp_h.bmp" ; };
MaskColor = IMAGE_MASK_STDCOLOR_HC ;
};
Image IMG_REMOVEALLBMP_H
{
ImageBitmap = Bitmap { File = "delall_h.bmp" ; };
MaskColor = IMAGE_MASK_STDCOLOR_HC ;
};
#define SfxStyleFamiliesRes1\ #define SfxStyleFamiliesRes1\
Text [ en-US ] = "Graphics Styles" ;\ Text [ en-US ] = "Graphics Styles" ;\
...@@ -406,22 +397,27 @@ Bitmap BMP_PRESOBJ_GRAPHIC ...@@ -406,22 +397,27 @@ Bitmap BMP_PRESOBJ_GRAPHIC
{ {
File = "image.bmp" ; File = "image.bmp" ;
}; };
Bitmap BMP_PRESOBJ_OBJECT Bitmap BMP_PRESOBJ_OBJECT
{ {
File = "object.bmp" ; File = "object.bmp" ;
}; };
Bitmap BMP_PRESOBJ_CHART Bitmap BMP_PRESOBJ_CHART
{ {
File = "chart.bmp" ; File = "chart.bmp" ;
}; };
Bitmap BMP_PRESOBJ_ORGCHART Bitmap BMP_PRESOBJ_ORGCHART
{ {
File = "orgchart.bmp" ; File = "orgchart.bmp" ;
}; };
Bitmap BMP_PRESOBJ_TABLE Bitmap BMP_PRESOBJ_TABLE
{ {
File = "table.bmp" ; File = "table.bmp" ;
}; };
Bitmap BMP_WAIT_ICON Bitmap BMP_WAIT_ICON
{ {
File = "waiticon.bmp"; File = "waiticon.bmp";
...@@ -433,15 +429,18 @@ Bitmap BMP_FADE_EFFECT_INDICATOR ...@@ -433,15 +429,18 @@ Bitmap BMP_FADE_EFFECT_INDICATOR
{ {
File = "fade_effect_indicator.bmp"; File = "fade_effect_indicator.bmp";
}; };
Bitmap BMP_FADE_EFFECT_INDICATOR_H Bitmap BMP_FADE_EFFECT_INDICATOR_H
{ {
File = "fade_effect_indicator_hc.bmp"; File = "fade_effect_indicator_hc.bmp";
}; };
Bitmap BMP_COMMENTS_INDICATOR Bitmap BMP_COMMENTS_INDICATOR
{ {
File = "comments_indicator.bmp"; File = "comments_indicator.bmp";
}; };
Bitmap BMP_COMMENTS_INDICATOR_H Bitmap BMP_COMMENTS_INDICATOR_H
{ {
File = "comments_indicator_hc.bmp"; File = "comments_indicator_hc.bmp";
}; };
\ No newline at end of file
...@@ -182,11 +182,6 @@ AnimationWindow::AnimationWindow( SfxBindings* pInBindings, ...@@ -182,11 +182,6 @@ AnimationWindow::AnimationWindow( SfxBindings* pInBindings,
{ {
FreeResource(); FreeResource();
aBtnGetOneObject.SetModeImage( Image( SdResId( IMG_GET1OBJECT_H ) ), BMP_COLOR_HIGHCONTRAST );
aBtnGetAllObjects.SetModeImage( Image( SdResId( IMG_GETALLOBJECT_H ) ), BMP_COLOR_HIGHCONTRAST );
aBtnRemoveBitmap.SetModeImage( Image( SdResId( IMG_REMOVEBMP_H ) ), BMP_COLOR_HIGHCONTRAST );
aBtnRemoveAll.SetModeImage( Image( SdResId( IMG_REMOVEALLBMP_H ) ), BMP_COLOR_HIGHCONTRAST );
// neues Dokument mit Seite erzeugen // neues Dokument mit Seite erzeugen
pMyDoc = new SdDrawDocument(DOCUMENT_TYPE_IMPRESS, NULL); pMyDoc = new SdDrawDocument(DOCUMENT_TYPE_IMPRESS, NULL);
SdPage* pPage = (SdPage*) pMyDoc->AllocPage(FALSE); SdPage* pPage = (SdPage*) pMyDoc->AllocPage(FALSE);
......
...@@ -102,7 +102,6 @@ CopyDlg::CopyDlg( ...@@ -102,7 +102,6 @@ CopyDlg::CopyDlg(
FreeResource(); FreeResource();
// Set up the view data button (image and accessible name). // Set up the view data button (image and accessible name).
maBtnSetViewData.SetModeImage( Image( SdResId( IMG_PIPETTE_H ) ), BMP_COLOR_HIGHCONTRAST );
maBtnSetViewData.SetAccessibleName (maBtnSetViewData.GetQuickHelpText()); maBtnSetViewData.SetAccessibleName (maBtnSetViewData.GetQuickHelpText());
// Farbtabellen // Farbtabellen
......
...@@ -443,8 +443,8 @@ AssistentDlgImpl::AssistentDlgImpl( ::Window* pWindow, const Link& rFinishLink, ...@@ -443,8 +443,8 @@ AssistentDlgImpl::AssistentDlgImpl( ::Window* pWindow, const Link& rFinishLink,
mpPage1OpenPB->SetText(sText); mpPage1OpenPB->SetText(sText);
// Place icon left of text and both centered in the button. // Place icon left of text and both centered in the button.
mpPage1OpenPB->SetModeImage( mpPage1OpenPB->SetModeImage(
GetUiIconForCommand(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(".uno:Open"))), GetUiIconForCommand(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(".uno:Open")))
BMP_COLOR_NORMAL); );
mpPage1OpenPB->EnableImageDisplay(TRUE); mpPage1OpenPB->EnableImageDisplay(TRUE);
mpPage1OpenPB->EnableTextDisplay(TRUE); mpPage1OpenPB->EnableTextDisplay(TRUE);
mpPage1OpenPB->SetImageAlign(IMAGEALIGN_LEFT); mpPage1OpenPB->SetImageAlign(IMAGEALIGN_LEFT);
...@@ -463,7 +463,6 @@ AssistentDlgImpl::AssistentDlgImpl( ::Window* pWindow, const Link& rFinishLink, ...@@ -463,7 +463,6 @@ AssistentDlgImpl::AssistentDlgImpl( ::Window* pWindow, const Link& rFinishLink,
mpPage1OpenLB->SetSelectHdl(LINK(this,AssistentDlgImpl,SelectFileHdl)); mpPage1OpenLB->SetSelectHdl(LINK(this,AssistentDlgImpl,SelectFileHdl));
mpPage1OpenLB->SetDoubleClickHdl(rFinishLink); mpPage1OpenLB->SetDoubleClickHdl(rFinishLink);
mpPage1OpenPB->SetClickHdl(LINK(this,AssistentDlgImpl,OpenButtonHdl)); mpPage1OpenPB->SetClickHdl(LINK(this,AssistentDlgImpl,OpenButtonHdl));
// mpPage1OpenLB->InsertEntry(String(SdResId(STR_WIZARD_POSITION)));
// Seite 2 // Seite 2
maAssistentFunc.InsertControl(2, &maPreview ); maAssistentFunc.InsertControl(2, &maPreview );
...@@ -529,7 +528,6 @@ AssistentDlgImpl::AssistentDlgImpl( ::Window* pWindow, const Link& rFinishLink, ...@@ -529,7 +528,6 @@ AssistentDlgImpl::AssistentDlgImpl( ::Window* pWindow, const Link& rFinishLink,
mpPage3LogoCB = new CheckBox( pWindow, SdResId( CB_PAGE3_LOGO) )); mpPage3LogoCB = new CheckBox( pWindow, SdResId( CB_PAGE3_LOGO) ));
mpPage3EffectLB->Fill(); mpPage3EffectLB->Fill();
// mpPage3EffectLB->SelectEffect( presentation::FadeEffect_NONE );
mpPage3EffectLB->SetSelectHdl( LINK(this,AssistentDlgImpl,SelectEffectHdl )); mpPage3EffectLB->SetSelectHdl( LINK(this,AssistentDlgImpl,SelectEffectHdl ));
mpPage3EffectLB->SetDropDownLineCount( 12 ); mpPage3EffectLB->SetDropDownLineCount( 12 );
......
...@@ -74,10 +74,6 @@ SdSnapLineDlg::SdSnapLineDlg( ...@@ -74,10 +74,6 @@ SdSnapLineDlg::SdSnapLineDlg(
eUIUnit(pView->GetDoc()->GetUIUnit()), eUIUnit(pView->GetDoc()->GetUIUnit()),
aUIScale(pView->GetDoc()->GetUIScale()) aUIScale(pView->GetDoc()->GetUIScale())
{ {
aRbPoint.SetModeRadioImage( Image( SdResId( BMP_POINT_H ) ), BMP_COLOR_HIGHCONTRAST );
aRbVert.SetModeRadioImage( Image( SdResId( BMP_VERTICAL_H ) ), BMP_COLOR_HIGHCONTRAST );
aRbHorz.SetModeRadioImage( Image( SdResId( BMP_HORIZONTAL_H ) ), BMP_COLOR_HIGHCONTRAST );
FreeResource(); FreeResource();
aRbHorz.SetClickHdl(LINK(this, SdSnapLineDlg, ClickHdl)); aRbHorz.SetClickHdl(LINK(this, SdSnapLineDlg, ClickHdl));
......
...@@ -157,50 +157,4 @@ ModalDialog DLG_SNAPLINE ...@@ -157,50 +157,4 @@ ModalDialog DLG_SNAPLINE
ImageBitmap = Bitmap { File = "hlplhorz.bmp" ; }; ImageBitmap = Bitmap { File = "hlplhorz.bmp" ; };
}; };
}; };
Image BMP_POINT_H
{
MaskColor = IMAGE_MASK_STDCOLOR_HC;
ImageBitmap = Bitmap { File = "hlppoint_h.bmp" ; };
};
Image BMP_VERTICAL_H
{
MaskColor = IMAGE_MASK_STDCOLOR_HC;
ImageBitmap = Bitmap { File = "hlplvert_h.bmp" ; };
};
Image BMP_HORIZONTAL_H
{
MaskColor = IMAGE_MASK_STDCOLOR_HC;
ImageBitmap = Bitmap { File = "hlplhorz_h.bmp" ; };
};
}; };
...@@ -38,7 +38,3 @@ ...@@ -38,7 +38,3 @@
#define RB_HORIZONTAL 11 #define RB_HORIZONTAL 11
#define RB_VERTICAL 12 #define RB_VERTICAL 12
#define RB_POINT 13 #define RB_POINT 13
#define BMP_POINT_H 1
#define BMP_VERTICAL_H 2
#define BMP_HORIZONTAL_H 3
...@@ -217,12 +217,6 @@ ...@@ -217,12 +217,6 @@
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
#define IMG_PIPETTE_H RID_APP_START+21
#define IMG_GET1OBJECT_H RID_APP_START+22
#define IMG_GETALLOBJECT_H RID_APP_START+23
#define IMG_REMOVEBMP_H RID_APP_START+24
#define IMG_REMOVEALLBMP_H RID_APP_START+25
/* /*
* ResourceIDs fuer Popup-Menues brauchen keinen Dummy-String !!! * ResourceIDs fuer Popup-Menues brauchen keinen Dummy-String !!!
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment