summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorJoel Madero <jmadero.dev@gmail.com>2013-01-24 11:01:37 -0800
committerCaolán McNamara <caolanm@redhat.com>2013-01-25 00:32:06 +0000
commit5d743ce2d1f548fafd34e31ada411df7f7e2fea1 (patch)
tree921ee624f60cad4de180e0fdea3bc6a9ae11a9aa /sd
parentfbfba66ac4990875e90f7af56113ca453d83f069 (diff)
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 Reviewed-on: https://gerrit.libreoffice.org/1849 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/dlg/animobjs.cxx2
-rw-r--r--sd/source/ui/dlg/animobjs.src6
-rw-r--r--sd/source/ui/inc/animobjs.hrc1
-rw-r--r--sd/source/ui/inc/animobjs.hxx3
4 files changed, 12 insertions, 0 deletions
diff --git a/sd/source/ui/dlg/animobjs.cxx b/sd/source/ui/dlg/animobjs.cxx
index 0c26014e25ee..870a90231de2 100644
--- a/sd/source/ui/dlg/animobjs.cxx
+++ b/sd/source/ui/dlg/animobjs.cxx
@@ -152,6 +152,8 @@ AnimationWindow::AnimationWindow( SfxBindings* pInBindings,
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 ebefb835ca76..f955d3bce253 100644
--- a/sd/source/ui/dlg/animobjs.src
+++ b/sd/source/ui/dlg/animobjs.src
@@ -298,6 +298,12 @@ DockingWindow FLT_WIN_ANIMATION
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 3975e28e646a..b39dfbf85754 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 1b7d36c06ad4..0d5271c0baf6 100644
--- a/sd/source/ui/inc/animobjs.hxx
+++ b/sd/source/ui/inc/animobjs.hxx
@@ -127,6 +127,9 @@ private:
ListBox aLbAdjustment;
PushButton aBtnCreateGroup;
+ HelpButton aBtnHelp;
+
+
::Window* pWin;
::std::vector< ::std::pair<BitmapEx*, Time*> > m_FrameList;
static const size_t EMPTY_FRAMELIST = ULONG_MAX;