Commit Graph

22911 Commits

Author SHA1 Message Date
blikblum
0e47080811 wince: call the winapi directly in DrawFrameControl like was done in win32 intf
git-svn-id: trunk@23275 -
2009-12-25 11:58:12 +00:00
mattias
e479626b83 IDE: fixed uninitialized function results, bug #15423
git-svn-id: trunk@23274 -
2009-12-25 11:54:40 +00:00
mattias
f265272e57 clean up
git-svn-id: trunk@23273 -
2009-12-25 11:52:38 +00:00
mattias
328ce2a7d3 LCL: fixed ReleaseComponent during ProcessAsyncCall
git-svn-id: trunk@23272 -
2009-12-25 11:52:13 +00:00
blikblum
b07215ffad gtk: undo the DC offset before returning the adjusted rect value in DrawEdge
git-svn-id: trunk@23271 -
2009-12-25 10:54:14 +00:00
blikblum
eda58ffd42 gtk: fill the interior one pixel smaller to avoid overllaping with the border in DrawEdge
git-svn-id: trunk@23270 -
2009-12-25 10:45:55 +00:00
blikblum
6b7d886771 gtk: fill interior with btnface color in DrawEdge
git-svn-id: trunk@23269 -
2009-12-25 10:34:15 +00:00
blikblum
651640edd0 gtk: DrawFrameControl: simplify determination of ButtonPush state / correctly sets hot state
git-svn-id: trunk@23268 -
2009-12-25 10:26:11 +00:00
blikblum
1b2caef6ee gtk: DrawFrameControl: change the logic to determine the button type so it's possible to draw 3 state radio button
git-svn-id: trunk@23267 -
2009-12-25 10:06:30 +00:00
blikblum
1b22f11d7f gtk: format code to determine check/radio state in DrawFrameControl for better readability
git-svn-id: trunk@23266 -
2009-12-25 10:00:38 +00:00
blikblum
991f66b576 gtk: In DrawFrameControl check if widget is nil before getting style to prevent gtk critical error messages
git-svn-id: trunk@23265 -
2009-12-24 20:08:25 +00:00
blikblum
685da51f7b gtk: remove check for widget <> nil in DrawFrameControl since according to Gtk documentation is allowed to pass nil to Widget parameter in gtk_paint_check and gtk_paint_option. Moreover the fallback acll (gtk_draw_check) just calls the same code as gtk_paint_check with Widget parameter = nil (checked gtk sources).
git-svn-id: trunk@23264 -
2009-12-24 16:35:24 +00:00
blikblum
20fbb32eba gtk: implement drawing radio button in DrawFrameControl
git-svn-id: trunk@23263 -
2009-12-24 16:20:51 +00:00
blikblum
c41b85d125 gtk: implement drawing 3 state button in DrawFrameControl
git-svn-id: trunk@23262 -
2009-12-24 14:39:25 +00:00
blikblum
2990e162fc gtk: fix DrawFrameControl to draw checkboxes with the correct style/shadow
git-svn-id: trunk@23261 -
2009-12-24 14:15:29 +00:00
blikblum
92a8d97119 gtk: avoid crash in DrawFrameControl when drawing to a bitmap - bug #9234
git-svn-id: trunk@23260 -
2009-12-24 13:50:41 +00:00
blikblum
81c0ec994c lcl: Reset FParentFont directly in TControl.FontChanged to avoid sending CM_PARENTFONTCHANGED message
git-svn-id: trunk@23259 -
2009-12-24 11:34:56 +00:00
blikblum
3d682089c7 lcl: don't reset FParentFont in TWinControl.FontChanged since is already reset in TControl.
git-svn-id: trunk@23258 -
2009-12-24 11:33:15 +00:00
blikblum
0ebeaa915f lcl: In TControl.Loaded reset Parent* properties directly instead of through setter to avoid sending CM_PARENT*CHANGED messages
git-svn-id: trunk@23257 -
2009-12-24 11:07:22 +00:00
blikblum
cd9e4a774f lcl: In TWinControl.Loaded send CM_PARENTCOLORCHANGED message after setting color and not after setting font
git-svn-id: trunk@23256 -
2009-12-24 10:13:54 +00:00
blikblum
775a151c45 lcl: use NotifyControls to send CM_PARENTFONTCHANGED message to children
git-svn-id: trunk@23255 -
2009-12-24 10:08:57 +00:00
blikblum
99791d327b doc: added Description to TCustomEdit.MaxLength with a note about a Delphi incompatibility
git-svn-id: trunk@23254 -
2009-12-24 09:39:23 +00:00
paul
36ef1df4fe ideintf: inherit compiler and project options from TAbstractIDEProjectOptions, reserve 2 groups for project and compiler options
git-svn-id: trunk@23253 -
2009-12-24 09:34:59 +00:00
paul
6c7c0ee0ad ideintf, ide, components: IDE options:
- introduce 2 new abstract options classes: TAbstractIDEEnvironmentOptions and TAbstractIDEProjectOptions
  - derive all current options classes from TAbstractIDEEnvironmentOptions
  - fix broken previously education options
  - move away actions triggered by reading / saving of predefined IDE options (like TEnvironmentOption, TIDEOptions, ...) from DoOpenIDEOptions to new read/write event handlers
  - allow filtering of options showed in IDE options dialog by some options class
  - use options filtering when show Object Inspect, Editor, CodeExplorer option
  

git-svn-id: trunk@23252 -
2009-12-24 08:31:23 +00:00
paul
52d15f47b8 lcl: revert some Luiz changed regards removing redundant FParentSomething := True changes. They are not redundant!
git-svn-id: trunk@23251 -
2009-12-24 07:16:27 +00:00
paul
f71903390f lcl: revert ocasional debug change in r23237 #3319ecca5b
git-svn-id: trunk@23250 -
2009-12-24 02:04:18 +00:00
blikblum
a6b3593987 lcl: remove check for FParent in since it assumes that FParent <> nil (TForm handles the case FParent = nil)
git-svn-id: trunk@23249 -
2009-12-24 01:26:52 +00:00
blikblum
ccccc6e58d lcl: remove redundant assignment of ParentBidiMode in TCustomForm.CMParentBiDiModeChanged
git-svn-id: trunk@23248 -
2009-12-24 01:23:12 +00:00
blikblum
d1191aa008 lcl: Remove ParentFontChanged from TCustomCheckListBox and TToolbar since it's not necessary
git-svn-id: trunk@23247 -
2009-12-24 01:07:11 +00:00
blikblum
442c987512 lcl: use message CM_PARENTFONTCHANGED to notify of parent font change. This is Delphi compatible, fixes the order of the font change events and is consistent with the other parent properties notifications: Color, ShowHint, BidiMode
git-svn-id: trunk@23246 -
2009-12-24 01:05:47 +00:00
blikblum
55d2de062f lcl: removed redundant assignments in CMParentColorChanged, CMParentShowHintChanged, CMParentBidiModeChanged
git-svn-id: trunk@23245 -
2009-12-23 18:54:46 +00:00
blikblum
7f97b21ff5 lcl: call inherited in TWinControl.FontChanged so CM_FONTCHANGED is fired. Directly set FParentFont to avoid firing a CM_PARENTFONTCHANGED message
git-svn-id: trunk@23244 -
2009-12-23 18:46:10 +00:00
luiz
ab2a0ee728 lcl/win32: move the TEdit.MaxLength check from lcl to win32 intf. Gtk2 and Qt has built in check and truncates text automatically
git-svn-id: trunk@23243 -
2009-12-23 16:03:12 +00:00
luiz
abdf00ce23 lcl: remove redundant assignment of FParentFont in TControl.ParentFontChanged
git-svn-id: trunk@23242 -
2009-12-23 15:42:04 +00:00
ask
96170987f3 TAChart: Remove Offset and Scale properties from Axis,
since they are superceded by Transformation.

git-svn-id: trunk@23241 -
2009-12-23 15:04:08 +00:00
ask
4f2de1c04c TAChart: Let user add points to ListSource without keeping X-order
git-svn-id: trunk@23240 -
2009-12-23 14:28:23 +00:00
paul
fd45608001 lcl: add OnContextPopup to TDBGrid, rearrange grid events
git-svn-id: trunk@23239 -
2009-12-23 09:16:37 +00:00
mattias
ae5819bb27 IDE: Opening lpi/lpk file via File-Open allow to cancel, bug #15400, from Alexander S. Klenin
git-svn-id: trunk@23238 -
2009-12-23 08:52:49 +00:00
paul
3319ecca5b lcl: add GetOwner to some TPersistent descendants
git-svn-id: trunk@23237 -
2009-12-23 08:48:01 +00:00
mattias
565b703706 IDE: build modes: started selecting active mode
git-svn-id: trunk@23236 -
2009-12-22 17:56:03 +00:00
mattias
7312388f96 IDE: debugging: DoRUnProject: only start debugger, run debugger on timer so that the loop does not hold the LCL component that processed the event
git-svn-id: trunk@23235 -
2009-12-22 12:36:20 +00:00
paul
d8faa4f504 designer: inform widgetset that designer handles WM_CONTEXTPOPUP message itself by Zeljan (issue #0015409)
git-svn-id: trunk@23234 -
2009-12-22 11:54:24 +00:00
zeljko
7034964e63 Qt: fixed weird selection after context menu closing during design time.This will work ok after bug in designer is fixed (#15409).
git-svn-id: trunk@23233 -
2009-12-22 10:57:48 +00:00
paul
77284ff2e5 lcl: don't show calendar on TDateEdit double click if it is ReadOnly by taka_jp (issue #0015366)
git-svn-id: trunk@23232 -
2009-12-22 08:27:36 +00:00
paul
45513985a2 lazreport: prevent potential crash by Luiz Americo (issue #0014324)
git-svn-id: trunk@23231 -
2009-12-22 08:04:36 +00:00
paul
b09f9f224a win32: don't perform any logic in DrawFrameControl - just call the windows function. By Luiz Americo (issue #0015358)
git-svn-id: trunk@23230 -
2009-12-22 07:03:31 +00:00
paul
ea9cf9905b lcl: cleanup
git-svn-id: trunk@23229 -
2009-12-22 06:43:22 +00:00
paul
c19f4f146b ideintf: set Enable of the menu items for fields editor by taka_jp (issue #0015387)
git-svn-id: trunk@23228 -
2009-12-22 06:28:46 +00:00
paul
0c71ee3723 tachart: fix memory leak
git-svn-id: trunk@23227 -
2009-12-22 06:27:42 +00:00
paul
e06e78b0d4 ideintf: fix checklistbox editor by taka_jp (issue #0015368)
git-svn-id: trunk@23226 -
2009-12-22 06:19:48 +00:00