[PATCH] fdo#48086 - add help for impress (insert -> animated image)
Joel Madero (via Code Review)
gerrit at gerrit.libreoffice.org
Thu Jan 24 11:09:17 PST 2013
Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/1849
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/49/1849/1
fdo#48086 - add help for impress (insert -> animated image)
Help file was already available, just added the button to the UI dialog for Presentation's
insert->animated image
modified: sd/source/ui/dlg/animobjs.cxx
modified: sd/source/ui/dlg/animobjs.src
modified: sd/source/ui/inc/animobjs.hrc
modified: sd/source/ui/inc/animobjs.hxx
Change-Id: I0dbc51f0630d8df001cb17c7465d0e599a5f7815
---
M sd/source/ui/dlg/animobjs.cxx
M sd/source/ui/dlg/animobjs.src
M sd/source/ui/inc/animobjs.hrc
M sd/source/ui/inc/animobjs.hxx
4 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/sd/source/ui/dlg/animobjs.cxx b/sd/source/ui/dlg/animobjs.cxx
index 0c26014..870a902 100644
--- a/sd/source/ui/dlg/animobjs.cxx
+++ b/sd/source/ui/dlg/animobjs.cxx
@@ -152,6 +152,8 @@
aFtAdjustment ( this, SdResId( FT_ADJUSTMENT ) ),
aLbAdjustment ( this, SdResId( LB_ADJUSTMENT ) ),
aBtnCreateGroup ( this, SdResId( BTN_CREATE_GROUP ) ),
+ aBtnHelp ( this, SdResId( BTN_HELP ) ),
+
pWin ( pParent ),
m_nCurrentFrame ( EMPTY_FRAMELIST ),
diff --git a/sd/source/ui/dlg/animobjs.src b/sd/source/ui/dlg/animobjs.src
index ebefb83..f955d3b 100644
--- a/sd/source/ui/dlg/animobjs.src
+++ b/sd/source/ui/dlg/animobjs.src
@@ -298,6 +298,12 @@
TabStop = TRUE ;
Text [ en-US ] = "Create" ;
};
+ HelpButton BTN_HELP
+ {
+ Pos = MAP_APPFONT ( 60 , 216 ) ;
+ Size = MAP_APPFONT ( 41 , 14 ) ;
+ TabStop = TRUE ;
+ };
FixedLine GRP_ANIMATION_GROUP
{
Pos = MAP_APPFONT ( 6 , 155 ) ;
diff --git a/sd/source/ui/inc/animobjs.hrc b/sd/source/ui/inc/animobjs.hrc
index 3975e28..b39dfbf 100644
--- a/sd/source/ui/inc/animobjs.hrc
+++ b/sd/source/ui/inc/animobjs.hrc
@@ -27,6 +27,7 @@
#define BTN_REMOVE_BITMAP 8
#define BTN_REMOVE_ALL 9
#define BTN_CREATE_GROUP 10
+#define BTN_HELP 1
#define NUM_FLD_BITMAP 1
#define TIME_FIELD 1
#define FT_COUNT 1
diff --git a/sd/source/ui/inc/animobjs.hxx b/sd/source/ui/inc/animobjs.hxx
index 1b7d36c..0d5271c 100644
--- a/sd/source/ui/inc/animobjs.hxx
+++ b/sd/source/ui/inc/animobjs.hxx
@@ -127,6 +127,9 @@
ListBox aLbAdjustment;
PushButton aBtnCreateGroup;
+ HelpButton aBtnHelp;
+
+
::Window* pWin;
::std::vector< ::std::pair<BitmapEx*, Time*> > m_FrameList;
static const size_t EMPTY_FRAMELIST = ULONG_MAX;
--
To view, visit https://gerrit.libreoffice.org/1849
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0dbc51f0630d8df001cb17c7465d0e599a5f7815
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Joel Madero <jmadero.dev at gmail.com>
More information about the LibreOffice
mailing list