Caolán McNamara
f13bebfa30
strip down includes and forward declarations
2011-11-14 07:36:02 +00:00
Caolán McNamara
62bb49f9d5
we can use default implementations of these
2011-11-14 07:36:02 +00:00
Caolán McNamara
1c064d1460
I don't see that any of this makes sense anymore
2011-11-14 07:36:02 +00:00
Caolán McNamara
5670184ea8
no way to construct a MultiScreenGlyph now
2011-11-14 07:36:01 +00:00
Caolán McNamara
74730d4ace
callcatcher: remove freshly unused methods
2011-11-14 07:36:01 +00:00
Caolán McNamara
734fd917e3
no consumers of maRawBitmap remain
2011-11-14 07:36:01 +00:00
Caolán McNamara
bc69731a30
the only thing calling GetRawBitmap is itself
2011-11-14 07:36:01 +00:00
Caolán McNamara
45ed9cca5b
the only thing calling GetPixmap is itself
2011-11-14 07:36:00 +00:00
Caolán McNamara
4ef21de513
drop ScopedPic
2011-11-14 07:36:00 +00:00
Caolán McNamara
4faf8c24ec
InitRenderText only queries, and ret is unused
2011-11-14 07:36:00 +00:00
Caolán McNamara
cca9ca6290
mnUsingXRender unnecessary now
2011-11-14 07:36:00 +00:00
Caolán McNamara
f2adfadfa8
mnForcedAA no longer connected to anything, skip setting it
2011-11-14 07:36:00 +00:00
Caolán McNamara
c3ee916c29
I think we can now drop checks for minor of 1 when current is 11
2011-11-14 07:35:59 +00:00
Caolán McNamara
945f1127e2
ditch unused direct XRender text rendering calls
2011-11-14 07:35:59 +00:00
Caolán McNamara
5e083eb18b
post cairo text-rendering GetGlyphId only called by GetGlyphId
2011-11-14 07:35:59 +00:00
Caolán McNamara
988ff97e6f
ditch hackaround for 15bit displays and XFree < 4.2.0
2011-11-14 07:35:59 +00:00
Caolán McNamara
f163867ff4
Link with libXrender instead of dynamically open it
...
Let's not mess around dlopening it and leaving gaps
in the support whereby we currently require it to
exist either linked or "dlopenable+display supports it"
with dlopenable + display doesn't support it leaves
a crashing gap where there are no appropiate checks
for that case.
2011-11-14 07:35:58 +00:00
Caolán McNamara
75d3b1cbfd
allow capability to render text with no XRenderPictFormat
2011-11-11 16:32:40 +00:00
Takeshi Abe
452b4a5fa6
removed empty file
2011-11-11 00:24:37 +09:00
Michael Meeks
14f6de30ce
gtk3: add run-time check for gtk >= 3.2.0
2011-11-07 14:19:35 +00:00
Michael Meeks
6de32a1afc
gtk: cleanup resource provider and associated lifecycle issue
2011-11-07 14:19:35 +00:00
Michael Meeks
6aa5164070
gtk3: port file-picker, using more standard combobox APIs etc.
2011-11-07 14:19:34 +00:00
Michael Meeks
aeffd7f25f
move required resources down from fpicker & svtools into vcl
2011-11-07 14:19:34 +00:00
Michael Meeks
f1abe3035c
gtk: cleanup to make the vcl file-picker interface work.
2011-11-07 14:19:34 +00:00
Michael Meeks
17084c750d
gtk: move the file-picker into vcl/ and add Application:: factory hooks
...
drop un-necessary uno service related fluff, and component instantiation.
nominal move to XMultiComponentFactory from XMultiServiceFactory
Include fpicker in compilation for gtk3, but more work required here
Simplify setting up transient parents for picker dialogs
2011-11-07 14:19:33 +00:00
Michael Meeks
7a47e0ead3
gtk: use a more sensibly unique version define
2011-11-07 14:19:33 +00:00
David Tardon
effa8def9d
remove unused file
2011-11-07 12:54:39 +01:00
Michael Meeks
e335eb1438
gtk3: move gtk+ file picker into vcl - a more sensible place for it
2011-11-04 11:56:12 +00:00
Michael Meeks
62b44c3482
gtk3: add missing include, and rtl namespace
2011-11-04 09:45:35 +00:00
Joseph Powers
d0d62edf3f
Cleanup basebmp a little
...
I removed 2 unused headers.
I also stopped delivering a lot of headers that no one outside of basebmp
cared about.
I also removed the unused methods:
basebmp::BitmapDevice::getPaletteEntryCount() const
basebmp::BitmapDevice::getPixelData(basegfx::B2IPoint const&)
2011-11-03 20:46:00 -07:00
Cosimo Cecchi
910bbf6f1e
fix gtk2 build
2011-11-03 21:36:05 +01:00
Michael Meeks
e53ac9984c
gtk3: Check for gtk3 >= 3.2 - we need that for broadway anyway
2011-11-03 19:48:25 +00:00
Cosimo Cecchi
dab309e782
gtk: fix the build
2011-11-03 14:09:16 -04:00
Cosimo Cecchi
06840c3b3d
gtk3: implement rendering for Listbox widgets
2011-11-03 13:15:10 -04:00
Cosimo Cecchi
3226260137
gtk3: translate the cairo context instead of rendering from (1, 1)
...
It's just way easier than doing it every time.
2011-11-03 13:15:10 -04:00
Cosimo Cecchi
d444079d03
gtk3: misc cleanups
2011-11-03 13:15:10 -04:00
Cosimo Cecchi
585140eb25
gtk3: implement rendering for Comboboxes
2011-11-03 13:15:09 -04:00
Cosimo Cecchi
73980c1526
gtk3: implement rendering for spinbuttons
2011-11-03 13:15:09 -04:00
Cosimo Cecchi
671b1d26d0
gtk3: always set the wmclass using the X helper
...
The helper provided by GTK is only meant to be used before the toplevel
is realized, so it's not useful for this case. Instead, always call the
X helper.
This also gets rid of some GTK warnings we get on the terminal.
2011-11-03 13:15:09 -04:00
Cosimo Cecchi
56d287872a
gtk: add widget_get_xid()
...
And use it in GtkSalFrame
2011-11-03 13:15:09 -04:00
Thorsten Behrens
1e297aef53
Move BitmapDevice to use B2IBox instead of B2IRange.
...
Semantically, B2IBox represents a pixel rect much better than
B2IRange - replaced all occurences in and around the software
renderer, and client code.
2011-11-02 23:58:28 +01:00
Thorsten Behrens
3c1b4b6ef7
Keep basebmp free of naked ptrs.
...
Moved the implementation detail that SalFrames lifetime is handled
manually in vcl out of basebmp & into vcl. Added lightweight wrapper
class to decouple damagetracker lifetime from GtkFrame lifetime.
2011-11-02 23:58:27 +01:00
Cosimo Cecchi
625afed7a8
gtk3: improve the GTK3 theming layer somewhat
...
Improvements include:
- don't create widgets when calculating the native region size, but use
GtkStyleContext instead
- refactor the native control drawing cycle
- theme scrollbars
- theme menu radios/checks/separators/arrows
2011-11-02 16:47:44 +00:00
David Tardon
b2e0b5f3f5
use SAL_N_ELEMENTS
2011-11-02 14:56:19 +01:00
Luboš Luňák
18a22145c6
let's see if better eventloop integr. makes it into Qt4.9, if any
...
https://bugreports.qt.nokia.com//browse/QTBUG-16934
2011-11-01 16:20:18 +01:00
Michael Meeks
fc11164520
gtk: fix cpu burn when inactive - broken timeout calculation
2011-11-01 13:01:33 +00:00
Michael Meeks
c8278a72b3
gtk: tolerate NULL from gdk_screen_get_monitor_plug_name
2011-10-31 14:16:27 +00:00
Caolán McNamara
bea5e37dd3
Rename ImplFontSelectData to FontSelectPattern so I know what it does
...
Rename ImplFontSelectData to FontSelectPattern because I can never remember the
name of the thing. This way I'll be able to remember that its basically the
equivalent of fontconfig's FcPattern
2011-10-27 16:39:32 +01:00
Caolán McNamara
8619d58ecd
there is no USE_XINERAMA define, but USE_XINERAMA_XSUN/USE_XINERAMA_XORG
2011-10-27 15:21:19 +01:00
Michael Meeks
d9fb180641
WaE: hush an annoyance
2011-10-27 11:23:56 +01:00