Arnaud Versini
9a3d8ed28d
Replace usage of rtl/memory.h in vcl with equivalent from string.h
...
Change-Id: If8d460189c57f9c02923019e95bf47db1d96c716
2012-08-14 16:18:05 +02:00
Jan Holesovsky
03dbe1a97c
Windows toolbars: Use our own theming even for vertical or bottom toolbars.
...
Change-Id: I4836d7f2055c4811f0e6ccdc87dc58895528b3f8
2012-08-10 16:44:26 +02:00
Caolán McNamara
d4b172b819
strip down UniString some more
...
Change-Id: Ibd749a70a7bbe8c1023edf7bd144aa6547147a12
2012-08-02 08:55:53 +01:00
Mathieu Vonlanthen
85cb908453
fdo#48549 System::Beep() removal
...
Change-Id: I402202e199dfc8c2462859d00529f2782f6228b0
2012-07-31 10:28:57 +01:00
Muthu Subramanian
065596f576
Adding helpers.hxx for FRound()
2012-07-11 14:17:48 +05:30
Ivan Timofeev
914c8163e3
vcl: CTRL_FIXEDBORDER is dead since ef877aab7e
...
Change-Id: I568b55c3b0b799bdc91ba081e7375debce9618aa
2012-07-01 15:21:41 +04:00
Thomas Arnhold
b63027f099
Remove some unused defines and controls
...
Change-Id: I96f76ed6b33f5c786d1e3ab3981a535037a9c1b5
2012-06-29 15:59:53 +02:00
Jan Holesovsky
6ce4e0a263
aero toolbar: Use f0f0f0 for the gradient again, it was reverted by accident.
...
Change-Id: I05435615185f05ec3fd9609f039394f4ecb03def
2012-06-26 16:52:21 +02:00
Jan Holesovsky
696dd4d25f
Better initialization of members.
...
Change-Id: I5e11865222dbb966185585fe3fd413834c6c6b9a
2012-06-25 18:09:17 +02:00
Jan Holesovsky
5068cf6a50
Re-introduce a useful MSDN link about DWM and drawing into non-client area.
...
Change-Id: If56d66f7ee8a509566da0cf5c21ce91bced67310
2012-06-25 18:09:16 +02:00
Jan Holesovsky
9c5a22d197
aero toolbar: Extend the drawing of the toolbar to the menubar area.
...
Fix the maTopDockingAreaHeight computation too, it did not work.
Change-Id: I788c96960a5607482b750d536e522644e236f052
2012-06-25 18:09:14 +02:00
Jan Holesovsky
ece8073452
Revert "aero: Implement a glass menubar on Windows."
...
This reverts commit 64c696fc92
.
2012-06-25 18:09:12 +02:00
Jan Holesovsky
f2eef8314c
Revert "menubar: Improved Windows Vista or later look (based on Mirek M.'s design)."
...
This reverts commit eac708b0b1
.
2012-06-25 18:09:11 +02:00
Jan Holesovsky
ae8bb2e2ab
Revert "aero menubar: Improve look according to Mirek M. + Astron's notes."
...
This reverts commit 663bfb42c8
.
2012-06-25 18:09:10 +02:00
Jan Holesovsky
76197b8872
Revert "aero menubar: Make the text in menu black."
...
This reverts commit 9164d135db
.
2012-06-25 18:09:09 +02:00
Jan Holesovsky
0675317dd4
Revert "aero menubar: Make the glow around the entries smaller."
...
This reverts commit ff367eb669
.
2012-06-25 18:09:08 +02:00
Michael Meeks
ec5fa0164b
replace all but one .hdl include with equivalent .hpp includes.
...
Change-Id: I15e94f112144549692d0c2babeb48c77adcb93a9
2012-06-21 19:28:47 +01:00
Michael Meeks
b9042fad7c
re-base on ALv2 code.
...
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Stephan Bergmann
b11de026cb
Remove duplicate ImplGetAppSVData and GetAppSalData
...
Change-Id: I8cb241898e22251656de4e080f1ae9bfe0359383
2012-06-20 14:44:03 +02:00
Jan Holesovsky
ff367eb669
aero menubar: Make the glow around the entries smaller.
...
Change-Id: I13e33b0a04c4212aef22499ebf2911aab33ec261
2012-06-20 14:26:45 +02:00
Jan Holesovsky
9164d135db
aero menubar: Make the text in menu black.
...
Change-Id: I4d9486ccda091506ad103fa4182cadf810fcd6f2
2012-06-20 14:26:45 +02:00
Jan Holesovsky
5c91395bdc
aero toolbar: Use the new toolbar look on Vista+ regardless of glass menu.
...
Change-Id: Ie6aa7be5c157f1a2b3515097fce4ea81d3ae99af
2012-06-20 14:26:44 +02:00
Jan Holesovsky
663bfb42c8
aero menubar: Improve look according to Mirek M. + Astron's notes.
...
Change-Id: I0228862da823901b43040c3c22f74d2483e5a6cf
2012-06-20 14:26:44 +02:00
Norbert Thiebaud
2bbebea59d
Rename the class ImplFontData into PhysicalFontFace
...
Change-Id: I402481e7c6ea605c8ccfdf6cb08166859b37e8de
2012-06-20 11:00:22 +02:00
Caolán McNamara
d9e4c74811
merge together hand-crafted traditional/simplified chinese tests
...
merge together a gadzillion hand-crafted
isSimpleChinese/isTraditionalChinese/isKoreanVariants/isCJK
implementations which should fix a goodly amount of them
add a MsLangId::isFamilyNameFirst for locales where
family name appears first while I'm at it.
Change-Id: I65377793be037d16fe7250cd7450b28aec689e83
2012-06-19 14:11:50 +01:00
Jan Holesovsky
f268355606
toolbars: Improve the toolbars look in Windows Vista or later.
...
Change-Id: I389ef70c76a3a9c837ad5406c417804ad77be948
2012-06-12 16:31:43 +02:00
Jan Holesovsky
eac708b0b1
menubar: Improved Windows Vista or later look (based on Mirek M.'s design).
...
Change-Id: Ica8076b7e21c5188a3126faf32d16904deecf212
2012-06-12 16:31:43 +02:00
Thomas Arnhold
4282865c51
Remove unused InterceptChildWindowKeyDown
...
- InterceptChildWindowKeyDown never gets called
- so mbInterceptChildWindowKeyDown doesn't get changed
- at ImplInterceptChildWindowKeyDown
a) ImplSendMessage() is never accessed
b) always returns sal_False
Change-Id: I2dc84c88644d19c238064ab1b7dff0a24f90dc5d
2012-06-11 16:31:34 +01:00
Michael Meeks
f3aa2a45b4
vcl: rename unhelpful 'Default' screen to a BuiltIn screen
...
Add 'BuiltInDisplay' and 'ExternalDisplay' UNO properties to clarify
Change-Id: Idf5d26bf687871b3949d077fb89bfe1942839125
2012-05-30 19:31:51 +01:00
Takeshi Abe
6b915b210a
nuke unused typedef
...
Change-Id: I12a55e08a83b88221d992790c97c830761755582
2012-05-29 23:46:57 +09:00
Ivan Timofeev
1ed6ca8173
gtk: add support for "vertical-padding" menu style property
...
and fix bug in MenuFloatingWindow::ImplHighlightItem - take this border into account
Change-Id: Ieeb5a447ed58f9bb064a8b88aefc5d1b666195f7
2012-05-25 20:14:48 +04:00
Takeshi Abe
5394b379eb
removed unused temporary rtl::OUString
...
Change-Id: I9d118a5fbe2306465d8bcdb9ddd0596588137e5e
2012-05-23 01:06:54 +09:00
Jan Holesovsky
64c696fc92
aero: Implement a glass menubar on Windows.
...
We need to default to the Aero colors too, in order to this be really
beautiful; but hopefully already in the current state it is an improvement :-)
Change-Id: I 113039b62320fa76916ba74071e1eebff4d3476c
2012-05-15 08:39:32 +02:00
Jan Holesovsky
9d2b1ec8e8
Don't take the workspace color from system on Windows, it is extremely ugly.
...
[We need to introduce taking colors from theme (instead of system) anyway.]
Change-Id: I75037771f2542e924cbff01accf66cfc851ec255
2012-05-15 08:39:31 +02:00
Jan Holesovsky
23676a74fc
Instead of DwmIsCompositionEnabled, use IsThemeActive from uxtheme.dll.
...
No idea why the DwmIsCompositionEnabled is recommended ~everywhere where you
search for how to check if the themes are enabled; it is wrong as eg. over
rdesktop, you are still using themes, but for sure not the composition in dwm.
Change-Id: I Ib34f2a17809d03f29ccdf7d4a8b94ee7ad996bf5
2012-05-15 08:39:31 +02:00
Takeshi Abe
e3bc45b807
removed unused defines
...
Change-Id: Ida50737f540459bd0e709c49414c3a7f4d042a47
2012-05-13 08:51:39 +09:00
Tor Lillqvist
44e52d6698
fdo#45081: We never registered the SAL_OBJECT_CHILDCLASSNAMEA window class
...
A crucial line of code that called RegisterClassExA() for that window
class had been deleted by accident in commit
cda4a29360
"Code cleanup" in May 2011,
whoa. So apparently that window class is not needed for much except
embedded video in Impress?
Change-Id: I I19e70cefcf47aaf8a12a62539e0dacc5adb3c3b1
2012-05-10 21:32:18 +03:00
Luboš Luňák
f21316fbf0
conversion to void* needs an explicit cast
2012-05-09 18:21:11 +02:00
Tor Lillqvist
a4d77bafb6
This is Windows code so bin pointless #ifdef WNT
...
Change-Id: I8e81ecd0e78f22f09db4288b781ae5f5da4d8760
2012-05-09 13:45:58 +03:00
Tor Lillqvist
0947d09c8a
GCP_KERN_HACK has been hardcoded since 2002, so why bother with ifdefs
...
Change-Id: I7e37289aba503310c54026d5a8bcbf8e4d51fb6c
2012-05-09 13:37:05 +03:00
Tor Lillqvist
7a3061db05
USE_UNISCRIBE has been hardcoded since 2009, so why bother with ifdefs
...
Change-Id: I16210b01b67e0bc4c817a0b1480483dd6237a5ba
2012-05-09 13:37:03 +03:00
Miklos Vajna
cba7370aab
n#757651 vcl: sync GenericSalLayout and SimpleWinLayout with MultiSalLayout
...
These are all derived from the SalLayout interface, with a similar
GetTextBreak() implementation. MultiSalLayout didn't break text that had
exactly the same length as the available space, the other two did. Fix
this inconsistency.
Change-Id: Icd9a81e039492bee82c28b8d8582e3a161dfd283
2012-05-08 17:28:19 +02:00
Tor Lillqvist
02cf8bf472
Fix lookup of path to usp10.dll
...
Just using the identifier ScriptIsComplex apparently results in the
address of its import stub, which has been linked into the calling DLL
(vcllo.dll). We need to look up that symbols from the handle of
usp10.dll to get the actual function's address, to be passed to
osl_getModuleURLFromAddress().
(Nothing magic with ScriptIsComplex here, it is just an arbitrary
function from usp10.dll.)
Change-Id: I If000d0c2eae3e3e32ce0ad1c26e545304d6f6d9e
2012-05-08 17:18:01 +03:00
Tor Lillqvist
e38c3afab5
No need to load the Uniscribe DLL dynamically; just use directly
...
Change-Id: I706593f0017d440b486f698d1158f070df4e8b2e
2012-05-08 17:17:57 +03:00
Jan Holesovsky
05597378a1
Added a fixme.
...
Change-Id: I303a750058039a4df5a237c823178c8a065f04a4
2012-05-07 18:19:37 +02:00
Jan Holesovsky
f0e68c48b9
Add some useful links to the Windows theming.
...
Change-Id: I2ced06de50b145ab9a876679f1ec49dd8915fbf9
2012-05-07 17:52:46 +02:00
Jan Holesovsky
cc0a69f8c1
Remove comment mentioning bCompBorder.
...
The variable itself was removed in
commit 696996791d
.
2012-04-27 15:51:25 +02:00
Ivan Timofeev
3a603d376a
vcl: win: adjust some coordinates
2012-04-14 20:59:57 +04:00
Ivan Timofeev
7179a362dd
vcl: win: fix RTL checkmark backgrounds fdo#42537
2012-04-14 20:59:57 +04:00
Ivan Timofeev
a4cc4d3ec9
vcl: win: fix RTL menu separator and gutter, checkmarks are still misplaced
2012-04-11 21:54:00 +04:00