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
540b7d3a
Kaydet (Commit)
540b7d3a
authored
Eki 12, 2016
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
drop RSC_DOCKINGWINDOW*
Change-Id: Ibcddc2def40e15f4a2f92fec13c1c3fd2f824d68
üst
7091666c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
64 deletions
+0
-64
rc.h
include/tools/rc.h
+0
-6
rcid.h
include/tools/rcid.h
+0
-2
rscdb.hxx
rsc/inc/rscdb.hxx
+0
-2
rscicpx.cxx
rsc/source/parser/rscicpx.cxx
+0
-37
rscinit.cxx
rsc/source/parser/rscinit.cxx
+0
-3
resmgr.cxx
tools/source/rc/resmgr.cxx
+0
-14
No files found.
include/tools/rc.h
Dosyayı görüntüle @
540b7d3a
...
...
@@ -77,12 +77,6 @@ namespace o3tl {
template
<>
struct
typed_flags
<
RscMenuItem
>
:
is_typed_flags
<
RscMenuItem
,
0xd6f
>
{};
}
// For "DockingWindow" resources:
#define RSC_DOCKINGWINDOW_XYMAPMODE 0x01
#define RSC_DOCKINGWINDOW_X 0x02
#define RSC_DOCKINGWINDOW_Y 0x04
#define RSC_DOCKINGWINDOW_FLOATING 0x08
// For "ImageButtons":
enum
class
RscImageButtonFlags
{
Image
=
0x01
,
...
...
include/tools/rcid.h
Dosyayı görüntüle @
540b7d3a
...
...
@@ -59,8 +59,6 @@
#define RSC_FIXEDIMAGE (RSC_NOTYPE + 0x5a)
#define RSC_DOCKINGWINDOW (RSC_NOTYPE + 0x72)
#define RSC_STRINGARRAY (RSC_NOTYPE + 0x79)
// (RSC_NOTYPE + 0x200) - (RSC_NOTYPE + 0x300) reserved for Sfx
...
...
rsc/inc/rscdb.hxx
Dosyayı görüntüle @
540b7d3a
...
...
@@ -191,8 +191,6 @@ class RscTypCont
RscTop
*
InitClassMenuItem
(
RscTop
*
pSuper
);
RscTop
*
InitClassMenu
(
RscTop
*
pSuper
,
RscTop
*
pMenuItem
);
RscTop
*
InitClassDockingWindow
(
RscTop
*
pSuper
,
RscEnum
*
pMapUnit
);
RscTop
*
InitClassSfxStyleFamilyItem
(
RscTop
*
pSuper
,
RscTop
*
pClassBitmap
,
RscTop
*
pClassImage
,
...
...
rsc/source/parser/rscicpx.cxx
Dosyayı görüntüle @
540b7d3a
...
...
@@ -664,43 +664,6 @@ RscTop * RscTypCont::InitClassMenu( RscTop * pSuper,
return
pClassMenu
;
}
RscTop
*
RscTypCont
::
InitClassDockingWindow
(
RscTop
*
pSuper
,
RscEnum
*
pMapUnit
)
{
Atom
nId
;
RscTop
*
pClassDockWindow
;
// initialize class
nId
=
pHS
->
getID
(
"DockingWindow"
);
pClassDockWindow
=
new
RscClass
(
nId
,
RSC_DOCKINGWINDOW
,
pSuper
);
pClassDockWindow
->
SetCallPar
(
*
pWinPar1
,
*
pWinPar2
,
*
pWinParType
);
aNmTb
.
Put
(
nId
,
CLASSNAME
,
pClassDockWindow
);
// initialize variables
nId
=
aNmTb
.
Put
(
"_FloatingPosMapMode"
,
VARNAME
);
pClassDockWindow
->
SetVariable
(
nId
,
pMapUnit
,
nullptr
,
0
,
RSC_DOCKINGWINDOW_XYMAPMODE
);
nId
=
aNmTb
.
Put
(
"_FloatingPosX"
,
VARNAME
);
pClassDockWindow
->
SetVariable
(
nId
,
&
aShort
,
nullptr
,
0
,
RSC_DOCKINGWINDOW_X
);
nId
=
aNmTb
.
Put
(
"_FloatingPosY"
,
VARNAME
);
pClassDockWindow
->
SetVariable
(
nId
,
&
aShort
,
nullptr
,
0
,
RSC_DOCKINGWINDOW_Y
);
nId
=
aNmTb
.
Put
(
"FloatingMode"
,
VARNAME
);
pClassDockWindow
->
SetVariable
(
nId
,
&
aBool
,
nullptr
,
0
,
RSC_DOCKINGWINDOW_FLOATING
);
INS_WINBIT
(
pClassDockWindow
,
Moveable
)
INS_WINBIT
(
pClassDockWindow
,
Sizeable
)
INS_WINBIT
(
pClassDockWindow
,
EnableResizing
)
INS_WINBIT
(
pClassDockWindow
,
Closeable
)
INS_WINBIT
(
pClassDockWindow
,
HideWhenDeactivate
);
INS_WINBIT
(
pClassDockWindow
,
Zoomable
);
INS_WINBIT
(
pClassDockWindow
,
Dockable
);
return
pClassDockWindow
;
}
RscTop
*
RscTypCont
::
InitClassSfxStyleFamilyItem
(
RscTop
*
pSuper
,
RscTop
*
pClassBitmap
,
RscTop
*
pClassImage
,
...
...
rsc/source/parser/rscinit.cxx
Dosyayı görüntüle @
540b7d3a
...
...
@@ -345,9 +345,6 @@ void RscTypCont::Init()
(
sal_uInt32
)
RscMenuItem
::
Menu
);
}
{
RscTop
*
pClassDockingWindow
=
InitClassDockingWindow
(
pClassWindow
,
pMapUnit
);
pRoot
->
Insert
(
pClassDockingWindow
);
RscTop
*
pClassSfxStyleFamilyItem
=
InitClassSfxStyleFamilyItem
(
pClassMgr
,
pClassBitmap
,
pClassImage
,
...
...
tools/source/rc/resmgr.cxx
Dosyayı görüntüle @
540b7d3a
...
...
@@ -1410,7 +1410,6 @@ OString ResMgr::GetAutoHelpId()
{
// auto help ids for top level windows
switch
(
pRC
->
pResource
->
GetRT
()
)
{
case
RSC_DOCKINGWINDOW
:
aHID
.
append
(
"DockingWindow"
);
break
;
default
:
return
OString
();
}
}
...
...
@@ -1419,19 +1418,6 @@ OString ResMgr::GetAutoHelpId()
// only controls with the following parents get auto help ids
const
ImpRCStack
*
pRC1
=
StackTop
(
1
);
switch
(
pRC1
->
pResource
->
GetRT
()
)
{
case
RSC_DOCKINGWINDOW
:
// intentionally no breaks!
// auto help ids for controls
switch
(
pRC
->
pResource
->
GetRT
()
)
{
case
RSC_EDIT
:
aHID
.
append
(
"Edit"
);
break
;
case
RSC_LISTBOX
:
aHID
.
append
(
"ListBox"
);
break
;
case
RSC_PUSHBUTTON
:
aHID
.
append
(
"PushButton"
);
break
;
case
RSC_IMAGEBUTTON
:
aHID
.
append
(
"ImageButton"
);
break
;
default
:
// no type, no auto HID
return
OString
();
}
break
;
default
:
return
OString
();
}
...
...
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