summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-12-17 11:18:13 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-12-17 11:44:14 +0000
commit151cc93f7363d2dd939be790fad7a5a32748eb30 (patch)
treead21953d39ee6af04b70797f51d3225afd9be13f /svtools
parentffe1f48310f9a1dd4b64315bb16c312482b3f287 (diff)
split out document info page and convert to .ui
move svt::SelectableFixedText to vcl and implement "selectable" GtkLabels by mapping to that vs FixedText for standard GtkLabels Change-Id: Ic114991cd2c2eb6673bcef634fa286dd7c67056f
Diffstat (limited to 'svtools')
-rw-r--r--svtools/inc/svtools/stdctrl.hxx20
-rw-r--r--svtools/source/control/stdctrl.cxx41
2 files changed, 0 insertions, 61 deletions
diff --git a/svtools/inc/svtools/stdctrl.hxx b/svtools/inc/svtools/stdctrl.hxx
index 6aa869db7576..77ca119ab363 100644
--- a/svtools/inc/svtools/stdctrl.hxx
+++ b/svtools/inc/svtools/stdctrl.hxx
@@ -36,26 +36,6 @@ public:
FixedInfo( Window* pParent, const ResId& rResId );
};
-namespace svt
-{
- // ----------------------------
- // - svt::SelectableFixedText -
- // ----------------------------
-
- class SVT_DLLPUBLIC SelectableFixedText : public Edit
- {
- private:
- void Init();
-
- public:
- SelectableFixedText( Window* pParent, const ResId& rResId );
- virtual ~SelectableFixedText();
-
- virtual void LoseFocus();
- };
-
-} // namespace svt
-
#endif // _STDCTRL_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/control/stdctrl.cxx b/svtools/source/control/stdctrl.cxx
index f6c205ba7e4b..c966bebdba04 100644
--- a/svtools/source/control/stdctrl.cxx
+++ b/svtools/source/control/stdctrl.cxx
@@ -35,45 +35,4 @@ FixedInfo::FixedInfo( Window* pParent, const ResId& rResId ) :
SetStyle( GetStyle() | WB_INFO );
}
-namespace svt
-{
- // class svt::SelectableFixedText ----------------------------------------
-
- SelectableFixedText::SelectableFixedText( Window* pParent, const ResId& rResId ) :
- Edit( pParent, rResId )
- {
- Init();
- }
-
- // -----------------------------------------------------------------------
-
- SelectableFixedText::~SelectableFixedText()
- {
- }
-
- // -----------------------------------------------------------------------
-
- void SelectableFixedText::Init()
- {
- // no border
- SetBorderStyle( WINDOW_BORDER_NOBORDER );
- // read-only
- SetReadOnly();
- // make it transparent
- SetControlBackground();
- SetBackground();
- SetPaintTransparent( sal_True );
- }
-
- // -----------------------------------------------------------------------
-
- void SelectableFixedText::LoseFocus()
- {
- Edit::LoseFocus();
- // clear cursor
- Invalidate();
- }
-
-} // namespace svt
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */