Commit Graph

22880 Commits

Author SHA1 Message Date
dodi
48c65a8690 dockmanager example: made layout save/load recursive.
git-svn-id: trunk@23294 -
2009-12-26 20:17:24 +00:00
paul
13ae82a440 ide: change resource string + update translations
git-svn-id: trunk@23293 -
2009-12-26 19:18:14 +00:00
paul
ee188b5600 ideintf, ide: project resources:
- rename TLFMResourceType to TResourceType (and same for other TLFMResource...)
  - move ResourceType to TAbstractProjectResources
  - when fpc resources are chosen:
    1. don't create project .lrs file
    2. use .rc file on all systems (requires windres (or gorc for win64))

git-svn-id: trunk@23292 -
2009-12-26 19:01:05 +00:00
paul
b30828caaa ide: fix big buttons in 2 dialogs
git-svn-id: trunk@23291 -
2009-12-26 17:54:22 +00:00
paul
f81a7b073a lcl: native resource support:
- add implementation for LoadFromResourceName and LoadFromResourceID for TIcon and TCursorImage
  - try loading icon from native resource if appropriate lrs resource is not available

git-svn-id: trunk@23290 -
2009-12-26 15:10:14 +00:00
mattias
8732cff32f educationlaz: propevents
git-svn-id: trunk@23289 -
2009-12-26 10:59:14 +00:00
mattias
9966c2200c IDEIntf: RegisterIDEOptionsGroup checks if group exists, added boolean flag to get old behaviour of auto create group
git-svn-id: trunk@23288 -
2009-12-26 10:37:14 +00:00
mattias
77b42d4ccc IDE: new package unit: use compiler options for mode directive
git-svn-id: trunk@23287 -
2009-12-26 09:02:09 +00:00
mattias
54c8997fd4 IDEIntf: TFileDescPascalUnit now uses syntax mode of project compiler options, bug #15394
git-svn-id: trunk@23286 -
2009-12-25 14:56:08 +00:00
mattias
f0be32eb74 IDE: changed caption: form editing option: open designer on open unit
git-svn-id: trunk@23285 -
2009-12-25 14:28:23 +00:00
mattias
ab72bd0a65 IDE: better english
git-svn-id: trunk@23284 -
2009-12-25 13:56:49 +00:00
mattias
1c89417377 IDE: project option LFM resource type: show and added caption "new files", bug #15419
git-svn-id: trunk@23283 -
2009-12-25 13:52:38 +00:00
mattias
014fabf316 IDE: added resource string
git-svn-id: trunk@23282 -
2009-12-25 13:43:02 +00:00
mattias
a0e368a930 updated po files
git-svn-id: trunk@23281 -
2009-12-25 13:40:47 +00:00
mattias
01582390ff IDE: hide project option LFM resource type - it is not yet implemented, bug #15419
git-svn-id: trunk@23280 -
2009-12-25 13:35:24 +00:00
mattias
d9ccbc9852 translations: german: updates from Swen Heinig
git-svn-id: trunk@23279 -
2009-12-25 13:26:43 +00:00
mattias
0c612af90c codetools: reduced debugging
git-svn-id: trunk@23278 -
2009-12-25 13:25:50 +00:00
mattias
a1f22a3dff IDE: added Line ending menu item, bug #15420
git-svn-id: trunk@23277 -
2009-12-25 13:14:58 +00:00
mattias
55fdc3df73 codetools: added TSourceLog.DiskLineEnding, bug #15420
git-svn-id: trunk@23276 -
2009-12-25 13:14:38 +00:00
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