Commit Graph

17344 Commits

Author SHA1 Message Date
darius
897938b8e4 Patch by Alexander Klenin
- Extract duplicated code into TAGraph.LineInViewPort function.
- Heavily rearrange code inside TSerie.Draw and TAreaSeries.Draw procedures to enchance readability, remove code duplication and get rid of 'goto' statement.
- Fix a bug in TAreaSeries.Draw: areas higher then current viewport were not drawn.
- Use ACanvas parameter instead of ParentChart.Canvas in Draw procedures.
- Remove unused variables in TAGraph unit.

Fixes: http://bugs.freepascal.org/view.php?id=12618

git-svn-id: trunk@17399 -
2008-11-15 16:07:01 +00:00
tombo
52992e10c2 LCL carbon: fixed hints
git-svn-id: trunk@17398 -
2008-11-15 14:58:54 +00:00
tombo
07e60b101d LCL carbon: applied patch for #0011311: TForm within TTabsheet does not work with carbon, but does with gtk and qt from Dmitry Boyarintsev,
git-svn-id: trunk@17397 -
2008-11-15 14:01:29 +00:00
michael
6db8879420 * Brushed up the GUI, complete code refactoring for dicteditor, making codebase smaller and more clear
git-svn-id: trunk@17396 -
2008-11-15 10:35:03 +00:00
paul
3a9d260426 ide: draw gutter only for inspector with horizontal layout
git-svn-id: trunk@17395 -
2008-11-15 03:53:22 +00:00
paul
cd22fbf5f5 carbon: set antialiasing on DCSetAntialiasing
git-svn-id: trunk@17394 -
2008-11-14 17:54:25 +00:00
paul
32454b8ceb examples: add antialiasing option to the pen and brush example
git-svn-id: trunk@17393 -
2008-11-14 17:43:30 +00:00
paul
36ed21e333 lcl: add TCanvas.AntialiasingMode
qt: implement DCSetAntialiasing

git-svn-id: trunk@17392 -
2008-11-14 17:42:56 +00:00
paul
90d0441b14 ide: fixed typo (#0012630)
git-svn-id: trunk@17391 -
2008-11-14 16:59:26 +00:00
paul
d57ba4becb ide: further improve object inspector
- draw gutter till bottom
  - add an option to show gutter
  - reorder colors in options dialog
  - draw mark for an active row

git-svn-id: trunk@17390 -
2008-11-14 16:50:25 +00:00
vincents
65d8d62453 lcl chm docs: added fpdoc option to create search index
git-svn-id: trunk@17389 -
2008-11-14 13:23:47 +00:00
paul
71a04db97e ide: add gutter, gutter edge colors to the object inspector and ide options, adjust OI painting
git-svn-id: trunk@17388 -
2008-11-14 10:44:10 +00:00
paul
db04b7c32d ideintf: move default colors to const section and use that consts everywhere
ide: add 2 buttons to set default lazarus and delphi colors for the object inspector

git-svn-id: trunk@17387 -
2008-11-14 10:01:24 +00:00
zeljko
419086f5a8 Qt: new TQtTimer signal handler, remove posted events before destroy TQtObject, fixed result of TQtWidgetset.DeleteObject()
git-svn-id: trunk@17386 -
2008-11-14 09:36:00 +00:00
paul
12ba8a4e4d carbon: update pen patternt to use the same as windows patterns for geometric pens, redo other pen code
git-svn-id: trunk@17385 -
2008-11-14 08:24:12 +00:00
paul
94cc569029 gtk: use patterns that correspond windows patterns for geometric pens (todo: calc patterns for cosmetic pen later)
git-svn-id: trunk@17384 -
2008-11-14 08:21:34 +00:00
paul
9964b8e57a gtk: fix pen creating with different standard dash styles (mimic windows)
git-svn-id: trunk@17383 -
2008-11-14 06:30:33 +00:00
paul
fdca46e0ee qt: don't fire LM_CHANGE, LM_SELCHANGE events when we are setting Combobox.ItemIndex from the LCL side
git-svn-id: trunk@17382 -
2008-11-14 05:55:13 +00:00
paul
bf21fce20b ide: invalidate ListColorBox color after its change in the Object Inspector options page
git-svn-id: trunk@17381 -
2008-11-14 05:47:43 +00:00
paul
6d680c4727 ide: improve object inspector drawing: add hightlight, hightlight font colors, draw vert line between property name and icons
git-svn-id: trunk@17380 -
2008-11-14 04:44:55 +00:00
paul
5eb4c0c00f lcl: pass Width = 0 to CreatePenIndirect if pen is cosmetic
git-svn-id: trunk@17379 -
2008-11-14 04:43:42 +00:00
paul
acf0fa16a8 components: reduce hints in tachart package
git-svn-id: trunk@17378 -
2008-11-14 02:10:29 +00:00
vincents
0e7efda9d0 synedit: fixed typo, hint from Martin Friebe
git-svn-id: trunk@17377 -
2008-11-13 18:51:48 +00:00
vincents
34b6f45af2 synedit: fised implementation of GetStyleIndex, hint from Martin Friebe (issue #12620)
git-svn-id: trunk@17376 -
2008-11-13 18:41:53 +00:00
mattias
30f4e50753 IDE: implemented setting template for new unit/form speed button
git-svn-id: trunk@17375 -
2008-11-13 17:09:59 +00:00
mattias
68c63d1012 IDE: find in files: expand all nodes
git-svn-id: trunk@17374 -
2008-11-13 16:09:14 +00:00
mattias
47a79e54b2 IDE: clean up, added saving new unit/form templates
git-svn-id: trunk@17373 -
2008-11-13 15:59:28 +00:00
paul
04ac30b1eb license: fix asterisk position in the license block
git-svn-id: trunk@17372 -
2008-11-13 15:06:20 +00:00
paul
2c2126066b win32: fix range check error in TWin32ListStringList.GetObject
git-svn-id: trunk@17371 -
2008-11-13 14:56:45 +00:00
paul
509b623bab ide: fix few issues in object inspector options page
git-svn-id: trunk@17370 -
2008-11-13 14:02:20 +00:00
mattias
aa6e9e64dd synedit: fixed ignoring first key of a 2-key-combo, IDE: source editor: handling setmarker0..9
git-svn-id: trunk@17369 -
2008-11-13 13:00:09 +00:00
mattias
e3d9d87059 clean up
git-svn-id: trunk@17368 -
2008-11-13 12:10:01 +00:00
mattias
372b1436d3 IDE: keymapping: fixed checking for conflict with second key
git-svn-id: trunk@17367 -
2008-11-13 12:07:07 +00:00
paul
eb33935ccd ide: redo color selection in object inspector options
git-svn-id: trunk@17366 -
2008-11-13 10:28:02 +00:00
paul
25e9426c10 lcl: MaxLength redo:
- MaxLength = 0 => no limit, MaxLength > 0 => limit. Default = 0 for memo, combo and edit
  - fix gtk, gtk2 code where MaxLength = -1 was used for unlimited length in Memo (why? combo and edit used 0)
  - fix qt combobox SetLength (was occasional forgotten?)
  - cleanup

git-svn-id: trunk@17365 -
2008-11-13 06:42:37 +00:00
paul
cd39f7986e examples: use another custom patter
git-svn-id: trunk@17364 -
2008-11-13 06:13:41 +00:00
paul
7cf7828c20 win32: fix window scrollbar drawing under xp - sometimes they look unthemed (#0011872)
git-svn-id: trunk@17363 -
2008-11-13 02:12:18 +00:00
paul
2965833d06 lcl: don't auto select TPen.Cosmetic, let user do it through setter
example: adjust Pen and Brush example

git-svn-id: trunk@17362 -
2008-11-13 01:51:31 +00:00
paul
e401f5c56b cleanup
git-svn-id: trunk@17361 -
2008-11-13 01:40:53 +00:00
paul
4e63b11c8e lcl: remove TPen.Geometric property and add TPen.Cosmetic. TPen.Cosmetic is a read only property. It setups when TPen.Width is changed
examples: change Pen and Brush example

git-svn-id: trunk@17360 -
2008-11-13 01:37:19 +00:00
kirkpatc
2d1f0ad35d FPDoc - some updates to TFont in Graphics.xml
git-svn-id: trunk@17359 -
2008-11-13 00:00:31 +00:00
martin
e5e3ed2742 Some SynHighlighter were breaking UTF8 (Bug #12517) original Patch by Eugen Bolz, slightly improved
git-svn-id: trunk@17358 -
2008-11-12 23:43:25 +00:00
zeljko
ee19b1a320 Qt: added winapi function PtInRegion(), added containsPoint(), containsRect() to TQtRegion.
git-svn-id: trunk@17357 -
2008-11-12 16:18:14 +00:00
paul
dad49bfaff ideintf: fix TColorBox usage (#0012616)
git-svn-id: trunk@17356 -
2008-11-12 15:21:25 +00:00
tombo
af8ae0a192 IDE searchtreeeview: fixed painting root nodes
git-svn-id: trunk@17355 -
2008-11-12 13:54:46 +00:00
vincents
41c5828aab laz svn package: fixed memleaks in svn log form
git-svn-id: trunk@17354 -
2008-11-12 12:15:45 +00:00
paul
ef3c142897 examples: redo pen and brush example
git-svn-id: trunk@17353 -
2008-11-12 10:11:56 +00:00
darius
12dbeac781 Consistent indenting, whitespaces and upper/lower case.
Removed a few unnecessary comments and begin/end blocks.

By Alexander Klenin 
http://bugs.freepascal.org/view.php?id=12611

git-svn-id: trunk@17352 -
2008-11-12 09:23:19 +00:00
darius
895de1efbd fixed showing diff from SVNLogForm at certain revision number
git-svn-id: trunk@17351 -
2008-11-12 09:17:28 +00:00
paul
f212d742f5 ide: fix editor display options frame (thank to Vincent for hint) (#0012613)
git-svn-id: trunk@17350 -
2008-11-12 08:52:31 +00:00