Commit Graph

8433 Commits

Author SHA1 Message Date
fec72dffcc Sudoku: center text in cells.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7233 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 19:29:42 +00:00
a8d9978525 Sudoku: implement loading and saving sudoku files (as text).
Include sample.sudoku file that can be loaded and solved.


git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7232 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 19:22:40 +00:00
8dbd92b634 Sudoku: have separate Edit and Clean buttons (Fill also cleared the grid).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7231 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 17:47:07 +00:00
c9719c0bb9 Sudoku: remove SGrid's OnSetEditText event, it's not necessary. TheValues is fully set wehn querying a solution.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7230 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 17:41:42 +00:00
7f3b147fc1 Sudoku: make TSudoku internally work with integers, not characters.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7229 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 17:39:25 +00:00
e1d784ff8a Sudoku: restrict user input in grid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7228 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 17:19:07 +00:00
20e629be7a Sudoku: rename variables, make form a dialog (not resizable), set form caption.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7227 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 16:41:52 +00:00
a95b456fb5 Sudoku: adjust width/height of grid, and width of mainform @runtime.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7226 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 16:37:48 +00:00
b974c2145b Sudoku: add comment about original import in lazarus-ccr, so this can more easily be foud back for those interested.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7225 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 15:24:53 +00:00
2070a8bf06 Sudoku: give better message if sudoku isn't completely solved.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7224 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 15:20:09 +00:00
268c0c1146 Sudoku: suppress hint.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7223 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 15:12:28 +00:00
36975bdaef Sudoku: make grid en cell sizes larger, add gridlines, remove unised label.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7222 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 15:09:59 +00:00
20fbfe933f Sudoku: use OnPrepareCanvas instead of OnDrawCell. Adjust background-color, so text is readable.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7221 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 15:02:45 +00:00
c95ae4a197 Sudoku: don;t save session info in .lpi (it pollutes the svn log).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7220 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 14:56:38 +00:00
ee602a31cd Sudoku: use fpc-type resource instead of old Lazarus .lrs style resource.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7219 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 14:55:32 +00:00
7b4b0cb513 Sudoku: fix errors during loading the project and fix complilation errors, fix project paths.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7218 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 14:49:55 +00:00
e154c5a902 Add Sudoku solver application. Initial import (original code by Matthijs Willemstein).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7217 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-04 14:39:11 +00:00
a00f9d0611 jvcllaz: Fix TJvYearGrid "hiding" pages in a PageControl.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7216 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-02 14:37:43 +00:00
c745a3cc75 jvcllaz: Fix TJvTimeLine "hiding" pages in a PageControl (https://forum.lazarus.freepascal.org/index.php/topic,47499.msg344725.html#msg344725)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7215 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-02 13:01:42 +00:00
93ebcc497e fpspreadsheet: Fix cell offset when pasting in from clipboard. Patch by DonAlfredo, https://forum.lazarus.freepascal.org/index.php/topic,47965.0.html
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7214 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-01 23:43:41 +00:00
397d9de5de jvcllaz: Fix TJvMarkupViewer "hiding" pages in a PageControl (https://forum.lazarus.freepascal.org/index.php/topic,47499.msg344725.html#msg344725)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7213 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-01 18:38:19 +00:00
339b9ef430 jvcllaz: Fix TJvMarkupLabel "hiding" pages in a PageControl.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7212 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-01 18:33:32 +00:00
1c87132ba3 manualdock: resolving the compiler warnings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7211 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-12-18 20:42:52 +00:00
e3839dd9dd jvcllaz: Fix ticks and labels for unit Pixels
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7210 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-12-14 11:43:43 +00:00
19d30d6871 jvcllaz: Fix issues with LCLScaling and label rounding in TJvRuler
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7209 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-12-14 11:32:22 +00:00
6855104312 jvcllaz: New properties for TJvRuler: MinorTickCount, TickColor, MajorTickLength, MinorTickLength, MarkerColor, MarkerFilled, MarkerSize, ShowBaseline, ShowPositionMarker. Supports LCLScaling.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7208 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-12-14 00:28:48 +00:00
6a1b03adfa fpspreadsheet: Fix ooxml reader choking on files written by Adobe Acrobat X which writes HTML colors with # prefix. https://forum.lazarus.freepascal.org/index.php/topic,47749.msg342501.html.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7207 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-12-12 10:17:39 +00:00
7ee6c517b0 jvcllaz: Add dropdown shadow TJvDBLookupCombo for Windows. Patch by Michal Gawrycki, issue #36421.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7206 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-12-10 23:25:40 +00:00
c0628ff3b4 jvcllaz: Follow-up to r7204 (Patch by Michal Gawrycki, issue #36403)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7205 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-12-06 20:54:08 +00:00
a7bc63964a jvcllaz: TJvDBLookupCombo improvements by Michal Gawrycki (issue #36403):
- Leaves parent form active under Windows.
- Publish several properties and events.
- Support for AutoSize.
- Use the "FDataListForm.Close" method instead of "FDataListForm..Visible := false" property to hide popup because DoClose method is not called when hidden by "Visible" property.
- Control drawing fixes.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7204 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-12-06 10:43:57 +00:00
fcd60c1925 RxFPC:rxboxproc.BoxMoveSelectedItems - last added item also set selected
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7203 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-12-05 19:08:28 +00:00
677d3e3eb3 jvcllaz: Make sure that package format has "Maximize compatibility" flag activated.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7202 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-12-05 10:55:38 +00:00
0a310b31e8 jvcllaz: Add new component JvImageTransform (transition effects between two pictures)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7201 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-12-03 17:43:14 +00:00
1d406d0251 jvcllaz: Add component TJvSpecialImage (incl sample project)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7200 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-12-03 00:22:11 +00:00
a95934ae76 jvcllaz: Make TJvCustomItemViewer.ItemRect() public (useful for hint positioning).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7199 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-11-23 16:00:25 +00:00
b58836d2c6 jvcllaz: Fix TJvItemViewer "hiding" pages in a PageControl (https://forum.lazarus.freepascal.org/index.php/topic,47499.msg340236.html#msg340236).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7198 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-11-23 15:50:00 +00:00
f131c02f88 fpspreadsheet: No "invalid index" error message when attempting to save a workbook without reader/writer unit in "uses"
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7197 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-11-23 11:34:00 +00:00
79a817cefd spktoolbar: LCLScaling support for property Appearance.Tab.CaptionHeight
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7196 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-11-22 21:44:38 +00:00
10994ea2c9 spktoolbar: Add new property CaptionHeight to TabAppearance.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7195 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-11-22 18:50:15 +00:00
cd0aa90768 fpexif: Fix detection of EXIF structure if a JFIF extension APP0 marker segment is in file (JFXX). Extract JFXX thumbnail.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7194 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-11-21 15:11:12 +00:00
8c301b7ce0 jvcllaz: Make JvImagesViewer high-dpi aware.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7193 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-11-21 12:46:20 +00:00
1bc920ac6e jvcllaz: Further improvements of TJvImageViewer (sorting, OnLoadImage event)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7192 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-11-20 22:32:45 +00:00
3aad6ce7bf jvcllaz: Add method AddImageFromFile to TJvImageViewer for loading individual pictures.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7191 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-11-20 18:51:01 +00:00
a4445c9f94 RxFPC:add to output files folder macro (LCLWidgetType)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7190 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-11-20 12:54:57 +00:00
90b3824401 RxFPC:start utils for make docs
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7189 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-11-20 12:52:37 +00:00
86122e6bdb jvcllaz: Add default values to TJvThumbView properties.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7188 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-11-20 11:05:08 +00:00
e91ba97380 jvcllaz: Fix sorting as well as thumbnail and title borders of TJvThumbView at designtime.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7187 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-11-20 10:54:57 +00:00
e90fbb2eb9 rx: Fix compilation of rxnew.lpk for Laz 2.0.6.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7186 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-11-20 09:54:00 +00:00
f830900825 lazmapviewer: Duplicate example project to demonstrate usage without external drawing engines. Cache folder is shared between both demos.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7185 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-11-12 17:46:50 +00:00
f4ff85e64a spktoolbar: Set TOOLBAR_CORNER_RADIUS to 0 (was: 3) to place tabs with zero CornerRadius immediately to the left edge of the toolbar.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7184 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-11-12 15:35:42 +00:00