Commit Graph

656 Commits

Author SHA1 Message Date
paul
c907579c4c lcl: fix compilation under windows
git-svn-id: trunk@20934 -
2009-07-24 13:42:38 +00:00
marc
42c8e0fbea * Removed own shiftstate tracking since it doesn't work when the app looses focus.
Either X or windows is queried now. Fixes issue #14102
  Also removed the EnableGtkShiftState conditional (r20870), since it is not an ubunto only problem, the concept was faulty itself

git-svn-id: trunk@20888 -
2009-07-18 16:10:55 +00:00
mattias
69d68a7b86 gtk intf: added flag EnableGtkShiftState to use gtk key shift state, needed on ubuntu
git-svn-id: trunk@20870 -
2009-07-16 12:28:03 +00:00
marc
1ceccdc82c * Partly reverted r20771 #3f9fe8af18, the intrepretation of ssAlt and ssAltGr was wrong
git-svn-id: trunk@20773 -
2009-07-01 07:18:15 +00:00
marc
3f9fe8af18 * Improvement of r20767 #7077d774a2. Don't use AltGr KCInfo flag when using own shiftstate. This flag might have been set wrong when altkey isn't detected/recognized
git-svn-id: trunk@20771 -
2009-06-30 23:57:02 +00:00
marc
7077d774a2 * Implemented own way of tracking shiftstate, solves issues with reporting ssAlt or ssAltGr being pressed. Solves issue #009394 too
git-svn-id: trunk@20767 -
2009-06-29 22:53:31 +00:00
marc
a5456020b1 * Fixed compilation for verbose modifiermap
git-svn-id: trunk@20766 -
2009-06-29 21:01:12 +00:00
paul
1ccbb42de7 gtk: fix wrong UTF8KeyPress calls
git-svn-id: trunk@20478 -
2009-06-06 15:49:42 +00:00
paul
cbea652f5f gtk: fix resetting color property of some controls (issue #0007555, using Zeljan patch but with many modifications)
git-svn-id: trunk@20441 -
2009-06-05 15:39:52 +00:00
paul
6bd157f740 gtk: improve SubtractScoll
git-svn-id: trunk@20427 -
2009-06-05 08:42:58 +00:00
paul
114803be07 gtk: pass special keys to keypress (issue #0011591)
git-svn-id: trunk@20418 -
2009-06-05 02:33:57 +00:00
paul
fcb511eedb gtk2: repair special keys for TMemo, TEdit, etc (bug #0013853)
git-svn-id: trunk@20270 -
2009-05-28 00:48:39 +00:00
paul
8f6e69d146 gtk2: pass KeyPress events for some special keys like Esc, BackSpace, Return, etc (fixes issue #0013283)
git-svn-id: trunk@20256 -
2009-05-27 07:59:46 +00:00
paul
ba4df81b22 gtk2: implement TGtk2ThemeServices.GetOption
git-svn-id: trunk@20190 -
2009-05-25 07:53:33 +00:00
paul
20199f3f18 gtk: apply scroll subtraction only for widgets with embedded scroll area like TCustomForm
git-svn-id: trunk@20181 -
2009-05-25 03:15:00 +00:00
paul
9eaaa681d2 gtk, gtk2: subtract scroll offset when we report mouse event to LCL (bug #0013744)
git-svn-id: trunk@20180 -
2009-05-25 02:44:55 +00:00
paul
a3283dde56 gtk: cleanup, formatting
git-svn-id: trunk@20098 -
2009-05-21 09:01:38 +00:00
paul
7d94012801 gtk2: improve TGtk2ThemeServices.GetStockImage
git-svn-id: trunk@20078 -
2009-05-20 12:50:37 +00:00
paul
a2c07aa8cf gtk: use generic SetLabelCaption method to set TabControl tabs captions
git-svn-id: trunk@20044 -
2009-05-19 08:12:04 +00:00
paul
5951b71b2a gtk: formatting
git-svn-id: trunk@20032 -
2009-05-19 03:15:21 +00:00
paul
8ed7281c00 gtk: use more generic code to set menuitem shortcuts and caption, redo SetLabelCaption for gtk2
git-svn-id: trunk@20027 -
2009-05-18 13:04:06 +00:00
paul
447f5d8a3c gtk: fix copying a rect from drawable to bitmap (issue #0012131)
git-svn-id: trunk@20024 -
2009-05-18 07:11:28 +00:00
paul
f84bbc8909 gtk: fix compilation
git-svn-id: trunk@20019 -
2009-05-18 01:48:56 +00:00
paul
63ffd97a43 gtk: fix menu shortcuts
git-svn-id: trunk@20018 -
2009-05-18 01:44:14 +00:00
paul
98bb8821bd gtk: cleanup
git-svn-id: trunk@20017 -
2009-05-18 01:30:00 +00:00
mattias
1c38cac962 clean up
git-svn-id: trunk@20016 -
2009-05-17 20:41:02 +00:00
paul
1e115b492c gtk2: request redraw after api widget resize (fixes issue #0013290)
git-svn-id: trunk@19935 -
2009-05-12 03:27:13 +00:00
paul
b28c3ccb18 gtk2: leave a note regards inability to change StatusBar panel bevel
git-svn-id: trunk@19847 -
2009-05-08 07:36:17 +00:00
paul
2f5d552f54 gtk2: some trials to use correct shadow-type for statusbar panels
git-svn-id: trunk@19846 -
2009-05-08 06:23:11 +00:00
paul
895290e613 gtk: formatting
git-svn-id: trunk@19844 -
2009-05-08 01:54:07 +00:00
paul
5948534916 gtk2: fix drawing of tooltips after gtk tooltip color change or theme change (issue #0013600)
git-svn-id: trunk@19683 -
2009-04-29 07:21:28 +00:00
paul
8103033b44 gtk2: use better system color map from http://www.endolith.com/wordpress/2008/08/03/wine-colors/, fix some issues with menu styles in GetStyle()
git-svn-id: trunk@19658 -
2009-04-28 07:08:50 +00:00
paul
459c87b06b gtk: trial to find better matches for titlebar colors
git-svn-id: trunk@19635 -
2009-04-26 14:49:06 +00:00
paul
cd1570a15d gtk2: improve notebook close button (it looks natively in gnome now)
- make it theme dependent
  - fix size

git-svn-id: trunk@19634 -
2009-04-26 14:14:31 +00:00
paul
66a22b1146 gtk: fix some constants which makes bsDialog forms sizable
git-svn-id: trunk@19582 -
2009-04-23 05:09:24 +00:00
paul
49a493794c gtk, gtk2: initial support for native alpha bitmaps (using pixbuf as storage) tested on windows only
git-svn-id: trunk@19503 -
2009-04-19 09:46:08 +00:00
paul
c42b65b456 gtk: fix memory leak (internal mask was never freed), cleanup
git-svn-id: trunk@19488 -
2009-04-18 16:16:06 +00:00
paul
44fa480f4a gtk2: implement image flipping in StretchMaskBlt (part of issue #0013059)
git-svn-id: trunk@19215 -
2009-04-04 12:52:39 +00:00
jesus
0eeca5946c LCL, fix GTK1 finding default font, based on patch from Fabrizio Fellini, issue #13230
git-svn-id: trunk@19013 -
2009-03-17 20:22:26 +00:00
paul
fbfc224459 lcl: Color property storing (fixes bug #0012322)
- change default ColorIsStored method. It was written probably to override old fpc streaming bug. Now it only checks for ParentColor property. If control want to skip some color storing then simple Default value need to be filled.
- remove TButtonControl.ColorIsStored, TStatusBar.ColorIsStored. Default value for color property do this job
- introduce new function IsColorDefault(AControl: TControl): Boolean; which checks both ParentColor and default color value
- gtk: use IsColorDefault instead of IsColorStored

git-svn-id: trunk@18744 -
2009-02-18 08:40:13 +00:00
paul
54f86158d0 apply Zeljan patch to fix issue at startup the first tab´s text isn´t painted (bug #0011306)
git-svn-id: trunk@18651 -
2009-02-13 02:14:13 +00:00
paul
565ee9773a widgetsets: use cLineCaption instead of '-' for menus
wince: port the same fix as for win32 (not tested)

git-svn-id: trunk@18582 -
2009-02-05 15:05:19 +00:00
mattias
26b2693ef7 gtk1+2 intf: key handling: fixed handling result of DeliverMessage, bug #9638
git-svn-id: trunk@18577 -
2009-02-05 10:30:42 +00:00
paul
80e3207944 fix gtk autosize loop
git-svn-id: trunk@18574 -
2009-02-05 02:55:49 +00:00
paul
1394f53c75 gtk, gtk2: fix visibility warnings and some other
git-svn-id: trunk@17620 -
2008-11-28 04:08:16 +00:00
paul
6e2e2c1ff2 lcl: update visibility of methods to prevent compiler warnings
- move KeyDown, KeyUp, DoMouseWheelDown, DoMouseWheelUp, ColorIsStored, Paint, and other misc methods from public to protected
  - move some descendants methods from lower visibility to higher
  - fix use of protected KeyDown, Paint inside few ide units

git-svn-id: trunk@17564 -
2008-11-24 08:15:23 +00:00
mattias
d778c5fb8e gtk2: fixed reading gtk width/height by manually updating allocation.width/height
git-svn-id: trunk@17449 -
2008-11-19 17:12:26 +00:00
paul
f9249c9272 gtk2: use gtk_widget_set_size_request instead of gtk_widget_set_usize since last is deprecated in gtk2
git-svn-id: trunk@16783 -
2008-09-29 05:39:50 +00:00
mattias
69cfe88898 using UTF-8 for file operations and environment variables
git-svn-id: trunk@16236 -
2008-08-25 22:32:23 +00:00
marc
ce312d71a9 * Introduced Rasterimage.Masked property to distinguish between Alpha transparency and Masked transparency (fixes #0011850)
git-svn-id: trunk@16216 -
2008-08-24 22:56:56 +00:00