Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
b46ec155
Kaydet (Commit)
b46ec155
authored
Kas 17, 2010
tarafından
Joseph Powers
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
HC Cleanup - base
üst
6ddd931b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
25 deletions
+14
-25
ToolBoxHelper.hxx
dbaccess/inc/ToolBoxHelper.hxx
+1
-3
AppIconControl.cxx
dbaccess/source/ui/app/AppIconControl.cxx
+5
-5
toolboxcontroller.cxx
dbaccess/source/ui/control/toolboxcontroller.cxx
+0
-4
dbu_resource.hrc
dbaccess/source/ui/inc/dbu_resource.hrc
+0
-4
ToolBoxHelper.cxx
dbaccess/source/ui/misc/ToolBoxHelper.cxx
+3
-8
ReportSection.cxx
reportdesign/source/ui/report/ReportSection.cxx
+5
-1
No files found.
dbaccess/inc/ToolBoxHelper.hxx
Dosyayı görüntüle @
b46ec155
...
...
@@ -43,7 +43,6 @@ namespace dbaui
{
class
DBACCESS_DLLPUBLIC
OToolBoxHelper
{
sal_Bool
m_bIsHiContrast
;
// true when the toolbox is in hi contrast mode
sal_Int16
m_nSymbolsSize
;
// shows the toolbox large or small bitmaps
ToolBox
*
m_pToolBox
;
// our toolbox (may be NULL)
public
:
...
...
@@ -72,13 +71,12 @@ namespace dbaui
*/
virtual
void
setToolBox
(
ToolBox
*
_pTB
);
inline
ToolBox
*
getToolBox
()
const
{
return
m_pToolBox
;
}
inline
ToolBox
*
getToolBox
()
const
{
return
m_pToolBox
;
}
/** checks if the toolbox needs a new imagelist.
*/
void
checkImageList
();
inline
sal_Bool
isToolBoxHiContrast
()
const
{
return
m_bIsHiContrast
;
}
protected
:
DECL_LINK
(
ConfigOptionsChanged
,
SvtMiscOptions
*
);
DECL_LINK
(
SettingsChanged
,
VclWindowEvent
*
);
...
...
dbaccess/source/ui/app/AppIconControl.cxx
Dosyayı görüntüle @
b46ec155
...
...
@@ -57,16 +57,16 @@ OApplicationIconControl::OApplicationIconControl(Window* _pParent)
ElementType
eType
;
USHORT
nImageResId
;
}
aCategories
[]
=
{
{
RID_STR_TABLES_CONTAINER
,
E_TABLE
,
IMG_TABLEFOLDER_TREE_L
},
{
RID_STR_QUERIES_CONTAINER
,
E_QUERY
,
IMG_QUERYFOLDER_TREE_L
},
{
RID_STR_FORMS_CONTAINER
,
E_FORM
,
IMG_FORMFOLDER_TREE_L
},
{
RID_STR_TABLES_CONTAINER
,
E_TABLE
,
IMG_TABLEFOLDER_TREE_L
},
{
RID_STR_QUERIES_CONTAINER
,
E_QUERY
,
IMG_QUERYFOLDER_TREE_L
},
{
RID_STR_FORMS_CONTAINER
,
E_FORM
,
IMG_FORMFOLDER_TREE_L
},
{
RID_STR_REPORTS_CONTAINER
,
E_REPORT
,
IMG_REPORTFOLDER_TREE_L
}
};
for
(
size_t
i
=
0
;
i
<
SAL_N_ELEMENTS
(
aCategories
);
++
i
)
{
SvxIconChoiceCtrlEntry
*
pEntry
=
InsertEntry
(
String
(
ModuleRes
(
aCategories
[
i
].
nLabelResId
)
),
Image
(
ModuleRes
(
aCategories
[
i
].
nImageResId
)
)
);
String
(
ModuleRes
(
aCategories
[
i
].
nLabelResId
)
)
,
Image
(
ModuleRes
(
aCategories
[
i
].
nImageResId
)
)
);
if
(
pEntry
)
pEntry
->
SetUserData
(
new
ElementType
(
aCategories
[
i
].
eType
)
);
}
...
...
dbaccess/source/ui/control/toolboxcontroller.cxx
Dosyayı görüntüle @
b46ec155
...
...
@@ -192,8 +192,6 @@ namespace dbaui
{
pMenu
.
reset
(
new
PopupMenu
(
ModuleRes
(
RID_MENU_APP_NEW
)
)
);
sal_Bool
bHighContrast
=
isHighContrast
();
try
{
Reference
<
XModuleUIConfigurationManagerSupplier
>
xModuleCfgMgrSupplier
(
getServiceManager
()
->
createInstance
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.ui.ModuleUIConfigurationManagerSupplier"
))),
UNO_QUERY
);
...
...
@@ -202,8 +200,6 @@ namespace dbaui
short
nImageType
=
hasBigImages
()
?
ImageType
::
SIZE_LARGE
:
ImageType
::
SIZE_DEFAULT
;
if
(
bHighContrast
)
nImageType
|=
ImageType
::
COLOR_HIGHCONTRAST
;
Sequence
<
::
rtl
::
OUString
>
aSeq
(
1
);
USHORT
nCount
=
pMenu
->
GetItemCount
();
...
...
dbaccess/source/ui/inc/dbu_resource.hrc
Dosyayı görüntüle @
b46ec155
...
...
@@ -260,10 +260,6 @@
#define IMG_REPORTFOLDER_TREE_L RID_IMAGE_START + 40
#define IMG_QUERYFOLDER_TREE_L RID_IMAGE_START + 41
#define IMG_TABLEFOLDER_TREE_L RID_IMAGE_START + 42
// free
// free
// free
// free
#define IMG_NAVIGATION_BTN_UP_SC RID_IMAGE_START + 47
#define IMG_NAVIGATION_CREATEFOLDER_SC RID_IMAGE_START + 49
#define FORM_TREE_ICON RID_IMAGE_START + 51
...
...
dbaccess/source/ui/misc/ToolBoxHelper.cxx
Dosyayı görüntüle @
b46ec155
...
...
@@ -40,9 +40,8 @@ namespace dbaui
{
DBG_NAME
(
OToolBoxHelper
)
OToolBoxHelper
::
OToolBoxHelper
()
:
m_bIsHiContrast
(
sal_False
)
,
m_nSymbolsSize
(
-
1
)
,
m_pToolBox
(
NULL
)
:
m_nSymbolsSize
(
-
1
)
,
m_pToolBox
(
NULL
)
{
DBG_CTOR
(
OToolBoxHelper
,
NULL
);
...
...
@@ -64,12 +63,9 @@ namespace dbaui
if
(
m_pToolBox
)
{
sal_Int16
nCurSymbolsSize
=
SvtMiscOptions
().
GetCurrentSymbolsSize
();
if
(
nCurSymbolsSize
!=
m_nSymbolsSize
||
m_bIsHiContrast
!=
m_pToolBox
->
GetSettings
().
GetStyleSettings
().
GetHighContrastMode
()
)
if
(
nCurSymbolsSize
!=
m_nSymbolsSize
)
{
m_nSymbolsSize
=
nCurSymbolsSize
;
m_bIsHiContrast
=
m_pToolBox
->
GetSettings
().
GetStyleSettings
().
GetHighContrastMode
();
m_pToolBox
->
SetImageList
(
getImageList
(
m_nSymbolsSize
)
);
Size
aTbOldSize
=
m_pToolBox
->
GetSizePixel
();
...
...
@@ -117,7 +113,6 @@ namespace dbaui
m_pToolBox
=
_pTB
;
if
(
m_pToolBox
)
{
// m_bIsHiContrast = m_pToolBox->GetSettings().GetStyleSettings().GetHighContrastMode();
ConfigOptionsChanged
(
NULL
);
if
(
bFirstTime
)
adjustToolBoxSize
(
m_pToolBox
);
...
...
reportdesign/source/ui/report/ReportSection.cxx
Dosyayı görüntüle @
b46ec155
...
...
@@ -461,7 +461,11 @@ void OReportSection::SelectAll(const sal_uInt16 _nObjectType)
}
}
}
void
lcl_insertMenuItemImages
(
PopupMenu
&
rContextMenu
,
OReportController
&
rController
,
const
uno
::
Reference
<
report
::
XReportDefinition
>&
_xReportDefinition
,
uno
::
Reference
<
frame
::
XFrame
>&
_rFrame
)
void
lcl_insertMenuItemImages
(
PopupMenu
&
rContextMenu
,
OReportController
&
rController
,
const
uno
::
Reference
<
report
::
XReportDefinition
>&
_xReportDefinition
,
uno
::
Reference
<
frame
::
XFrame
>&
_rFrame
)
{
const
USHORT
nCount
=
rContextMenu
.
GetItemCount
();
for
(
USHORT
i
=
0
;
i
<
nCount
;
++
i
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment