[ooo-build-commit] .: 2 commits - patches/dev300
Jan Holesovsky
kendy at kemper.freedesktop.org
Fri Jun 11 03:33:30 PDT 2010
patches/dev300/novell-palette.diff | 20 +++------------
patches/dev300/toolbar-decorations-rsc.diff | 5 +--
patches/dev300/toolbar-decorations-vcl.diff | 37 ++++++++++++++++++++++------
3 files changed, 36 insertions(+), 26 deletions(-)
New commits:
commit e818cefd3095513f9d737d90e5698063b3ed0e54
Author: Jan Holesovsky <kendy at suse.cz>
Date: Fri Jun 11 12:20:58 2010 +0200
Remove one color from the OOo palette when installing the Novell colors.
With the Novell colors, we have 111 in total, which introduces a scrollbar for
just one color (the matrix is 10x11).
* patches/dev300/novell-palette.diff:
diff --git a/patches/dev300/novell-palette.diff b/patches/dev300/novell-palette.diff
index 376f543..a78b6e8 100644
--- a/patches/dev300/novell-palette.diff
+++ b/patches/dev300/novell-palette.diff
@@ -1,19 +1,10 @@
-From 807f0ec8fd3f8f34724160b94b425de4f4806016 Mon Sep 17 00:00:00 2001
-From: Jan Holesovsky <kendy at suse.cz>
-Date: Fri, 14 May 2010 16:57:26 +0200
-Subject: [PATCH 233/768] novell-palette.diff
-
----
- extras/source/palettes/standard.soc | 12 ++++++++++++
- 1 files changed, 12 insertions(+), 0 deletions(-)
-
-diff --git extras/source/palettes/standard.soc extras/source/palettes/standard.soc
-index b275e95..6209fd9 100644
--- extras/source/palettes/standard.soc
+++ extras/source/palettes/standard.soc
-@@ -88,6 +88,18 @@
+@@ -88,8 +88,19 @@
+ <draw:color draw:name="Pale yellow" draw:color="#ffffcc"/>
+ <draw:color draw:name="Pale green" draw:color="#ccffff"/>
<draw:color draw:name="Dark violet" draw:color="#660066"/>
- <draw:color draw:name="Salmon" draw:color="#ff8080"/>
+- <draw:color draw:name="Salmon" draw:color="#ff8080"/>
<draw:color draw:name="Sea blue" draw:color="#0066cc"/>
+ <draw:color draw:name="openSUSE light green" draw:color="#bddd8d"/>
+ <draw:color draw:name="openSUSE medium green" draw:color="#198533"/>
@@ -30,6 +21,3 @@ index b275e95..6209fd9 100644
<draw:color draw:name="Chart 1" draw:color="#004586"/>
<draw:color draw:name="Chart 2" draw:color="#ff420e"/>
<draw:color draw:name="Chart 3" draw:color="#ffd320"/>
---
-1.7.0.1
-
commit c592fcf6276062a019529e6bb18d7454cf6ac5fe
Author: Jan Holesovsky <kendy at suse.cz>
Date: Fri Jun 11 12:18:41 2010 +0200
Fix the New table toolbar tool, n#612013.
In one case, it was hidden by other toolbars. This also makes the patch even
less intrusive :-)
* patches/dev300/toolbar-decorations-rsc.diff: Update.
* patches/dev300/toolbar-decorations-vcl.diff:
diff --git a/patches/dev300/toolbar-decorations-rsc.diff b/patches/dev300/toolbar-decorations-rsc.diff
index 6486b4b..8410ac6 100644
--- a/patches/dev300/toolbar-decorations-rsc.diff
+++ b/patches/dev300/toolbar-decorations-rsc.diff
@@ -26,13 +26,12 @@ diff --git rsc/inc/vclrsc.hxx rsc/inc/vclrsc.hxx
index d565984..efaaba9 100644
--- rsc/inc/vclrsc.hxx
+++ rsc/inc/vclrsc.hxx
-@@ -84,6 +84,11 @@ typedef sal_Int64 WinBits;
+@@ -84,6 +84,10 @@ typedef sal_Int64 WinBits;
#define WB_AUTOVSCROLL ((WinBits)0x40000000)
#define WB_HIDE ((WinBits)0x80000000)
+
+// system floating window
-+#define WB_OWNERDRAWDECORATION ((WinBits)0x10000000)
+#define WB_POPUP ((WinBits)0x20000000)
+
#define WB_HSCROLL WB_HORZ
@@ -42,7 +41,7 @@ index d565984..efaaba9 100644
#define WB_STDMODAL (WB_STDDIALOG)
#define WB_STDTABDIALOG (WB_STDDIALOG)
#define WB_STDTABCONTROL 0
-+#define WB_STDPOPUP (WB_BORDER | WB_POPUP | WB_SYSTEMWINDOW | WB_OWNERDRAWDECORATION | WB_3DLOOK | WB_DIALOGCONTROL)
++#define WB_STDPOPUP (WB_BORDER | WB_POPUP | WB_SYSTEMWINDOW | WB_3DLOOK | WB_DIALOGCONTROL)
// For TreeListBox
#define WB_HASBUTTONS ((WinBits)0x00800000)
diff --git a/patches/dev300/toolbar-decorations-vcl.diff b/patches/dev300/toolbar-decorations-vcl.diff
index 6192b05..a4fa941 100644
--- a/patches/dev300/toolbar-decorations-vcl.diff
+++ b/patches/dev300/toolbar-decorations-vcl.diff
@@ -19,12 +19,8 @@ diff --git tools/inc/tools/wintypes.hxx tools/inc/tools/wintypes.hxx
index 391e34a..80d9bb1 100644
--- tools/inc/tools/wintypes.hxx
+++ tools/inc/tools/wintypes.hxx
-@@ -190,9 +190,10 @@ typedef sal_Int64 WinBits;
- #define WB_INTROWIN ((WinBits)SAL_CONST_INT64(0x200000000))
- #define WB_NOSHADOW ((WinBits)SAL_CONST_INT64(0x400000000))
- #define WB_TOOLTIPWIN ((WinBits)SAL_CONST_INT64(0x800000000))
--#define WB_OWNERDRAWDECORATION ((WinBits)SAL_CONST_INT64(0x2000000000))
-+#define WB_OWNERDRAWDECORATION ((WinBits)SAL_CONST_INT64(0x10000000))
+@@ -190,6 +190,7 @@ typedef sal_Int64 WinBits;
+ #define WB_OWNERDRAWDECORATION ((WinBits)SAL_CONST_INT64(0x2000000000))
#define WB_DEFAULTWIN ((WinBits)SAL_CONST_INT64(0x4000000000))
#define WB_NEEDSFOCUS ((WinBits)SAL_CONST_INT64(0x1000000000))
+#define WB_POPUP ((WinBits)SAL_CONST_INT64(0x20000000))
@@ -35,7 +31,7 @@ index 391e34a..80d9bb1 100644
#define WB_STDMODAL (WB_STDDIALOG)
#define WB_STDTABDIALOG (WB_STDDIALOG)
#define WB_STDTABCONTROL 0
-+#define WB_STDPOPUP (WB_BORDER | WB_POPUP | WB_SYSTEMWINDOW | WB_OWNERDRAWDECORATION | WB_3DLOOK | WB_DIALOGCONTROL)
++#define WB_STDPOPUP (WB_BORDER | WB_POPUP | WB_SYSTEMWINDOW | WB_3DLOOK | WB_DIALOGCONTROL)
// For TreeListBox
#define WB_HASBUTTONS ((WinBits)0x00800000)
@@ -94,6 +90,15 @@ index dacf4ea..eed5cea 100644
(pData->mnTitleType == BORDERWINDOW_TITLE_NONE) )
{
pData->mnTitleType = BORDERWINDOW_TITLE_NONE;
+@@ -276,7 +276,7 @@ USHORT ImplBorderWindowView::ImplHitTest
+
+ // no corner resize for floating toolbars, which would lead to jumps while formatting
+ // setting nSizeWidth = 0 will only return pure left,top,right,bottom
+- if( pBorderWindow->GetStyle() & WB_OWNERDRAWDECORATION )
++ if( pBorderWindow->GetStyle() & (WB_OWNERDRAWDECORATION | WB_POPUP) )
+ nSizeWidth = 0;
+
+ if ( rPos.X() < pData->mnLeftBorder )
@@ -1495,7 +1495,7 @@ void ImplStdBorderWindowView::Init( OutputDevice* pDev, long nWidth, long nHeigh
pData->mnTitleType = pBorderWindow->mnTitleType;
pData->mbFloatWindow = pBorderWindow->mbFloatWindow;
@@ -179,6 +184,24 @@ index dacf4ea..eed5cea 100644
if ( nTypeStyle & BORDERWINDOW_STYLE_APP )
nTestStyle |= WB_APP;
nStyle &= nTestStyle;
+@@ -1880,7 +1880,7 @@ void ImplBorderWindow::ImplInit( Window*
+ mpWindowImpl->mbFrame = TRUE;
+ mbFrameBorder = FALSE;
+ }
+- else if( (nStyle & WB_OWNERDRAWDECORATION) )
++ else if( (nStyle & (WB_OWNERDRAWDECORATION | WB_POPUP)) )
+ {
+ mpWindowImpl->mbOverlapWin = TRUE;
+ mpWindowImpl->mbFrame = TRUE;
+@@ -2132,7 +2132,7 @@ void ImplBorderWindow::DataChanged( cons
+ ((rDCEvt.GetType() == DATACHANGED_SETTINGS) &&
+ (rDCEvt.GetFlags() & SETTINGS_STYLE)) )
+ {
+- if ( !mpWindowImpl->mbFrame || (GetStyle() & WB_OWNERDRAWDECORATION) )
++ if ( !mpWindowImpl->mbFrame || (GetStyle() & (WB_OWNERDRAWDECORATION | WB_POPUP)) )
+ UpdateView( TRUE, ImplGetWindow()->GetOutputSizePixel() );
+ }
+
diff --git vcl/source/window/floatwin.cxx vcl/source/window/floatwin.cxx
index 00785a6..394deb5 100644
--- vcl/source/window/floatwin.cxx
More information about the ooo-build-commit
mailing list