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
03c95abe
Kaydet (Commit)
03c95abe
authored
Ara 26, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
de-resource RID_SVXDLG_GALLERYBROWSER
Change-Id: I33df0c65d230ed13a5121555c8cf26a7bd27969a
üst
18cccd62
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
13 additions
and
71 deletions
+13
-71
galbrws2.hxx
svx/inc/galbrws2.hxx
+2
-2
gallery.hrc
svx/inc/gallery.hrc
+0
-8
GalleryControl.cxx
svx/source/gallery2/GalleryControl.cxx
+3
-6
GallerySplitter.cxx
svx/source/gallery2/GallerySplitter.cxx
+3
-9
GallerySplitter.hxx
svx/source/gallery2/GallerySplitter.hxx
+2
-3
galbrws1.cxx
svx/source/gallery2/galbrws1.cxx
+1
-2
galbrws1.hxx
svx/source/gallery2/galbrws1.hxx
+0
-1
galbrws2.cxx
svx/source/gallery2/galbrws2.cxx
+2
-2
gallery.src
svx/source/gallery2/gallery.src
+0
-38
No files found.
svx/inc/galbrws2.hxx
Dosyayı görüntüle @
03c95abe
...
...
@@ -152,8 +152,8 @@ public:
public
:
GalleryBrowser2
(
vcl
::
Window
*
pParent
,
const
ResId
&
rResId
,
Gallery
*
pGallery
);
virtual
~
GalleryBrowser2
();
GalleryBrowser2
(
vcl
::
Window
*
pParent
,
Gallery
*
pGallery
);
virtual
~
GalleryBrowser2
();
void
SelectTheme
(
const
OUString
&
rThemeName
);
...
...
svx/inc/gallery.hrc
Dosyayı görüntüle @
03c95abe
...
...
@@ -23,9 +23,6 @@
#include <svx/dialogs.hrc>
#include "galtheme.hrc"
// Dialoge
#define RID_SVXDLG_GALLERYBROWSER (RID_SVX_GALLERY_START + 5)
// Gallery-Strings
#define RID_SVXSTR_EXTFORMAT1_SYS (RID_SVX_GALLERY_START + 15)
#define RID_SVXSTR_EXTFORMAT1_UI (RID_SVX_GALLERY_START + 16)
...
...
@@ -88,11 +85,6 @@
#define MN_PROPERTIES 23
#define MN_ASSIGN_ID 24
// Gallery Browser
#define GALLERY_BROWSER1 1
#define GALLERY_BROWSER2 2
#define GALLERY_SPLITTER 1
#endif // _SVX_GALLERY_HRC
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
svx/source/gallery2/GalleryControl.cxx
Dosyayı görüntüle @
03c95abe
...
...
@@ -38,24 +38,21 @@ static const sal_Int32 gnInitialVerticalSplitPosition (150);
GalleryControl
::
GalleryControl
(
SfxBindings
*
/*pBindings*/
,
vcl
::
Window
*
pParentWindow
)
:
Window
(
pParentWindow
,
GAL_RES
(
RID_SVXDLG_GALLERYBROWSER
)
),
:
Window
(
pParentWindow
,
WB_SIZEABLE
|
WB_MOVEABLE
|
WB_CLOSEABLE
|
WB_HIDE
),
mpGallery
(
Gallery
::
GetGalleryInstance
()),
mpSplitter
(
new
GallerySplitter
(
this
,
GAL_RES
(
GALLERY_SPLITTER
)
,
WB_HSCROLL
,
::
boost
::
bind
(
&
GalleryControl
::
InitSettings
,
this
))),
mpBrowser1
(
new
GalleryBrowser1
(
this
,
GAL_RES
(
GALLERY_BROWSER1
),
mpGallery
,
::
boost
::
bind
(
&
GalleryControl
::
GalleryKeyInput
,
this
,
_1
,
_2
),
::
boost
::
bind
(
&
GalleryControl
::
ThemeSelectionHasChanged
,
this
))),
mpBrowser2
(
new
GalleryBrowser2
(
this
,
GAL_RES
(
GALLERY_BROWSER2
),
mpGallery
)),
mpBrowser2
(
new
GalleryBrowser2
(
this
,
mpGallery
)),
maLastSize
(
GetOutputSizePixel
()),
mbIsInitialResize
(
true
)
{
FreeResource
();
mpBrowser1
->
SelectTheme
(
0
);
mpBrowser1
->
Show
(
true
);
...
...
svx/source/gallery2/GallerySplitter.cxx
Dosyayı görüntüle @
03c95abe
...
...
@@ -19,18 +19,12 @@
#include "GallerySplitter.hxx"
GallerySplitter
::
GallerySplitter
(
vcl
::
Window
*
pParent
,
const
ResId
&
rResId
,
WinBits
nStyle
,
const
::
boost
::
function
<
void
(
void
)
>&
rDataChangeFunctor
)
:
Splitter
(
pParent
,
rResId
),
maDataChangeFunctor
(
rDataChangeFunctor
)
{
}
GallerySplitter
::~
GallerySplitter
()
:
Splitter
(
pParent
,
nStyle
)
,
maDataChangeFunctor
(
rDataChangeFunctor
)
{
}
...
...
svx/source/gallery2/GallerySplitter.hxx
Dosyayı görüntüle @
03c95abe
...
...
@@ -25,11 +25,10 @@
class
GallerySplitter
:
public
Splitter
{
public
:
GallerySplitter
(
GallerySplitter
(
vcl
::
Window
*
pParent
,
const
ResId
&
rResId
,
WinBits
nStyle
,
const
::
boost
::
function
<
void
(
void
)
>&
rDataChangeFunctor
);
virtual
~
GallerySplitter
(
void
);
protected
:
virtual
void
DataChanged
(
const
DataChangedEvent
&
rDCEvt
)
SAL_OVERRIDE
;
...
...
svx/source/gallery2/galbrws1.cxx
Dosyayı görüntüle @
03c95abe
...
...
@@ -114,12 +114,11 @@ bool GalleryThemeListBox::PreNotify( NotifyEvent& rNEvt )
GalleryBrowser1
::
GalleryBrowser1
(
vcl
::
Window
*
pParent
,
const
ResId
&
rResId
,
Gallery
*
pGallery
,
const
::
boost
::
function
<
sal_Bool
(
const
KeyEvent
&
,
Window
*
)
>&
rKeyInputHandler
,
const
::
boost
::
function
<
void
(
void
)
>&
rThemeSlectionHandler
)
:
Control
(
pParent
,
rResId
),
Control
(
pParent
,
WB_TABSTOP
),
maNewTheme
(
this
,
WB_3DLOOK
),
mpThemes
(
new
GalleryThemeListBox
(
this
,
WB_TABSTOP
|
WB_3DLOOK
|
WB_BORDER
|
WB_HSCROLL
|
WB_VSCROLL
|
WB_AUTOHSCROLL
|
WB_SORT
)
),
mpGallery
(
pGallery
),
...
...
svx/source/gallery2/galbrws1.hxx
Dosyayı görüntüle @
03c95abe
...
...
@@ -123,7 +123,6 @@ public:
GalleryBrowser1
(
vcl
::
Window
*
pParent
,
const
ResId
&
rResId
,
Gallery
*
pGallery
,
const
::
boost
::
function
<
sal_Bool
(
const
KeyEvent
&
,
Window
*
)
>&
rKeyInputHandler
,
const
::
boost
::
function
<
void
(
void
)
>&
rThemeSlectionHandler
);
...
...
svx/source/gallery2/galbrws2.cxx
Dosyayı görüntüle @
03c95abe
...
...
@@ -414,8 +414,8 @@ void GalleryToolBox::KeyInput( const KeyEvent& rKEvt )
}
GalleryBrowser2
::
GalleryBrowser2
(
vcl
::
Window
*
pParent
,
const
ResId
&
rResId
,
Gallery
*
pGallery
)
:
Control
(
pParent
,
rResId
),
GalleryBrowser2
::
GalleryBrowser2
(
vcl
::
Window
*
pParent
,
Gallery
*
pGallery
)
:
Control
(
pParent
,
WB_TABSTOP
),
mpGallery
(
pGallery
),
mpCurTheme
(
NULL
),
mpIconView
(
new
GalleryIconView
(
this
,
NULL
)
),
...
...
svx/source/gallery2/gallery.src
Dosyayı görüntüle @
03c95abe
...
...
@@ -23,44 +23,6 @@
#define MASKCOLOR MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
DockingWindow RID_SVXDLG_GALLERYBROWSER
{
HelpId = "SVX_HID_GALLERY_BROWSER" ;
OutputSize = TRUE ;
Hide = TRUE ;
SVLook = TRUE ;
Pos = MAP_APPFONT ( 0 , 0 ) ;
Size = MAP_APPFONT ( 211, 100 ) ;
Text [ en-US ] = "Gallery";
Sizeable = TRUE;
Moveable = TRUE ;
Closeable = TRUE ;
Zoomable = TRUE ;
Dockable = TRUE ;
EnableResizing = TRUE ;
Control GALLERY_BROWSER1
{
Pos = MAP_APPFONT ( 0 , 0 ) ;
Size = MAP_APPFONT ( 69, 150 ) ;
Border = FALSE;
};
Splitter GALLERY_SPLITTER
{
Pos = MAP_APPFONT ( 70 , 0 ) ;
Size = MAP_APPFONT ( 3, 150 ) ;
HScroll = TRUE;
};
Control GALLERY_BROWSER2
{
Pos = MAP_APPFONT ( 73, 0 ) ;
Size = MAP_APPFONT ( 138, 150 ) ;
Border = FALSE;
};
};
String RID_SVXSTR_GALLERY_ACTUALIZE_PROGRESS
{
Text [ en-US ] = "Update";
...
...
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