From c2142a567451ad4dc59cccbfea4c3a5a481ee824 Mon Sep 17 00:00:00 2001 From: macpgmr Date: Mon, 29 Dec 2008 21:18:02 +0000 Subject: [PATCH] Release 0.2.1 (20081229): Added TOvcCalendar and updated status for Lazarus 0.9.26. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@646 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/orpheus/ORBTNCAL.bmp | Bin 0 -> 206 bytes components/orpheus/ORLEFTARROW.bmp | Bin 0 -> 206 bytes components/orpheus/ORLEFTARROWS.bmp | Bin 0 -> 206 bytes components/orpheus/ORREVERT.bmp | Bin 0 -> 206 bytes components/orpheus/ORRIGHTARROW.bmp | Bin 0 -> 206 bytes components/orpheus/ORRIGHTARROWS.bmp | Bin 0 -> 206 bytes components/orpheus/ORTODAY.bmp | Bin 0 -> 206 bytes components/orpheus/OrphStatus.html | 79 +++++--- components/orpheus/TOVCCALENDAR.bmp | Bin 0 -> 1782 bytes components/orpheus/TOVCDATEEDIT.bmp | Bin 0 -> 1782 bytes components/orpheus/alltests-carbon.sh | 1 + components/orpheus/alltests-gtk.sh | 1 + components/orpheus/alltests-win.bat | 2 + components/orpheus/makebaseres.bat | 1 + components/orpheus/makeregres.bat | 1 + components/orpheus/mymisc.pas | 10 +- components/orpheus/myovcreg.pas | 4 + components/orpheus/orpheus.lpk | 2 +- components/orpheus/ovcbase.lrs | 70 +++++++ components/orpheus/ovccal.pas | 13 +- components/orpheus/ovcreg.lrs | 157 ++++++++++++++++ .../tests/TestCalendar/project1.bdsproj | 175 ++++++++++++++++++ .../orpheus/tests/TestCalendar/project1.cfg | 38 ++++ .../orpheus/tests/TestCalendar/project1.dof | 136 ++++++++++++++ .../orpheus/tests/TestCalendar/project1.dpr | 18 ++ .../orpheus/tests/TestCalendar/project1.lpi | 109 +++++++++++ .../orpheus/tests/TestCalendar/project1.res | Bin 0 -> 876 bytes .../orpheus/tests/TestCalendar/unit1.dfm | 33 ++++ .../orpheus/tests/TestCalendar/unit1.lfm | 30 +++ .../orpheus/tests/TestCalendar/unit1.lrs | 13 ++ .../orpheus/tests/TestCalendar/unit1.pas | 33 ++++ 31 files changed, 899 insertions(+), 27 deletions(-) create mode 100644 components/orpheus/ORBTNCAL.bmp create mode 100644 components/orpheus/ORLEFTARROW.bmp create mode 100644 components/orpheus/ORLEFTARROWS.bmp create mode 100644 components/orpheus/ORREVERT.bmp create mode 100644 components/orpheus/ORRIGHTARROW.bmp create mode 100644 components/orpheus/ORRIGHTARROWS.bmp create mode 100644 components/orpheus/ORTODAY.bmp create mode 100644 components/orpheus/TOVCCALENDAR.bmp create mode 100644 components/orpheus/TOVCDATEEDIT.bmp create mode 100644 components/orpheus/makebaseres.bat create mode 100644 components/orpheus/makeregres.bat create mode 100644 components/orpheus/tests/TestCalendar/project1.bdsproj create mode 100644 components/orpheus/tests/TestCalendar/project1.cfg create mode 100644 components/orpheus/tests/TestCalendar/project1.dof create mode 100644 components/orpheus/tests/TestCalendar/project1.dpr create mode 100644 components/orpheus/tests/TestCalendar/project1.lpi create mode 100644 components/orpheus/tests/TestCalendar/project1.res create mode 100644 components/orpheus/tests/TestCalendar/unit1.dfm create mode 100644 components/orpheus/tests/TestCalendar/unit1.lfm create mode 100644 components/orpheus/tests/TestCalendar/unit1.lrs create mode 100644 components/orpheus/tests/TestCalendar/unit1.pas diff --git a/components/orpheus/ORBTNCAL.bmp b/components/orpheus/ORBTNCAL.bmp new file mode 100644 index 0000000000000000000000000000000000000000..b5ab49f4c9b2daf7a6645fedbc757102a0f53585 GIT binary patch literal 206 zcmZ?rJ;wk6Wk5;;h`FJdk%0v)5dkK#5e*CsK*Z3{0HJ^+kO{;M3EZM6;Iz0gxtE9HtY{CMg$tZCqtcl= p5|e<;s-cX~Otno21Io{)QVkQb|%v+Bp|;sKE)s+L3*EAY-e@AuDtHzRsZZ2$lO literal 0 HcmV?d00001 diff --git a/components/orpheus/ORTODAY.bmp b/components/orpheus/ORTODAY.bmp new file mode 100644 index 0000000000000000000000000000000000000000..2233784712d95197f9098bedf6ed07d7285a9a75 GIT binary patch literal 206 zcmZvUu?>YV3wg79zQVDd)_>d&|AufYYAZ9QE&--uY}Uw7lYql?tfz*~L-`%GE!TPvHmm CO

What's New

    +
  • 20081229 release (0.2.1): +
      +
    • Adds TOvcCalendar. +
    • Updated results of testing for Lazarus 0.9.26. GTK2 widgetset now working better.

      +

    +
  • 20080720 release (0.2.0):
    • Recent change in the Lazarus LCL broke Orpheus TOvcTable on Windows. This release @@ -213,23 +219,23 @@ access to the Lazarus install folder. After rebuilding, be sure to start XP SP2   win32 -20080714 snapshot of 0.9.25 with FPC 2.2.2rc2 +Stable 0.9.26 with FPC 2.2.2 OS X 10.4.11 (Tiger) on PowerPC -gtk: 1.2.0.9.1
      gtk2: 2.6.10
      qt: 4.3.0 -gtk, gtk2, carbon, qt -20080714 snapshot of 0.9.25 with FPC 2.2.2rc2 +gtk: 1.2.0.9.1
      gtk2: 2.12.9 +gtk, gtk2, carbon +Stable 0.9.26 with FPC 2.2.2 Linux -SUSE 10.1 -gtk: 1.2.10-907 -gtk -Stable 0.9.20 with FPC 2.0.4 +--not tested-- +  +  + 
      @@ -253,6 +259,7 @@ headers, row labels, string, memo, check box, combo box, bitmap).
    • TestSimpField - demos TOvcSimpleField validation (Windows only for now)
    • TestTblEdits - demos TOvcTCString, TOvcTCSimpleField validation and TO32TCFlexEdit validation (Windows only for now) +
    • TestCalendar - demos TOvcCalendar
    To see the TOvcSpinner control in action, try out the table's Rows and Columns @@ -345,7 +352,24 @@ descending from an existing edit control such as TCustomEdit. Currently TOvcSimpleField and TOvcTCSimpleField do not work on non-Windows widgetsets.

  • The GTK widgetset does not support TOvcRotatedLabel, apparently because the GetTextMetrics function is not fully implemented on that -widgetset. +widgetset.

    +

  • The Carbon widgetset has a few minor limitations as of Lazarus 0.9.26 that +affect some of the Orpheus controls. Setting the BorderStyle property does +nothing with Carbon in custom controls such as TOvcVirtualListBox, TOvcCalendar +and TOvcTable. Also, since the Carbon widgetset does not implement the bvLowered +bevel style, changing the focus of a TOvcCalendar control does not change +the look of the currently selected date as it should (the date remains bvRaised, +which actually looks lowered with the Carbon widgetset).

    +

  • Differences between Delphi VCL and Lazarus LCL affect some Orpheus controls. +For example, VCL messages like CM_ENTER and CM_EXIT are not supported in the +LCL. In a couple places, the ported code uses LM_SETFOCUS and LM_KILLFOCUS +messages to obtain some functionality. Similarly, the lack of LCL support for the +CM_CTL3DCHANGED message means that changing the Ctl3D property in Lazarus for +controls such as TOvcCalendar may not update the control's design (reloading the +form will show the correct design). Finally, some properties like Ctl3D are True +by default in Delphi but False in Lazarus, meaning forms converted from Delphi +may not look quite the same for properties with default values until you +explicitly set the properties in Lazarus or in your code.
    @@ -372,7 +396,7 @@ widgetset. gtk widgetset doesn't support Working Not working -Crashes +Partial Working Working @@ -408,7 +432,7 @@ widgetset.   Working Working -Working +Partial Working Crashes @@ -425,15 +449,27 @@ widgetset. Partial + +TOvcCalendar
    +TCustomControl +Calendar control +  +Working +Working +Working +Working +? + + TOvcSimpleField
    TCustomControl Edit control with validation   Working -Not working -Not working -Not working +Partial +Partial +Partial Crashes @@ -503,9 +539,9 @@ widgetset. Table cell for editing strings, with validation   Working -Not working -Not working -Not working +Partial +Partial +Crashes Crashes @@ -695,18 +731,15 @@ However, TO32FlexEdit doesn't need TOvcController.


    Other Resources

    -Qt widgetset status:

    -http://wiki.lazarus.freepascal.org/Qt_Interface

    - -Carbon widgetset status:

    -http://wiki.lazarus.freepascal.org/Carbon_Interface

    +Status of Lazarus widgetsets:

    +http://wiki.lazarus.freepascal.org/Roadmap

    OS X tips for Lazarus:

    http://wiki.lazarus.freepascal.org/OS_X_Programming_Tips


    -Last updated: July 20, 2008 +Last updated: December 29, 2008

    diff --git a/components/orpheus/TOVCCALENDAR.bmp b/components/orpheus/TOVCCALENDAR.bmp new file mode 100644 index 0000000000000000000000000000000000000000..688f10ec325c3de241c1b9262c99206d8eb33c97 GIT binary patch literal 1782 zcmdUv(G9{d3`D~ZGcW=ZFaZDT)X|uV-{9K8x?I~+L;;B?iCo>~<>HTCZ;xZ~ak2eu z>(ti4t5WVwchhT|rt7+t)&`eI0tR|K6pqZQ~X^wVk74w8MV(2ix$zvHXypBXF zzH5*Z1kFJe>t#+-F;8|cJhtO;sx=2uba3<2uj}&20Gk~9OVAkmZ>$2lJb%S`0?Lg^ Ah5!Hn literal 0 HcmV?d00001 diff --git a/components/orpheus/TOVCDATEEDIT.bmp b/components/orpheus/TOVCDATEEDIT.bmp new file mode 100644 index 0000000000000000000000000000000000000000..fb386ba4e85400f336f1648ac9a53893fad8c072 GIT binary patch literal 1782 zcmb`H(G`O*2u0~nXXpr>pab;3J7qMd>aTr(dFFuHn3fYGlDvBWHP6@kDrOJNcU-sS zx|k<2E$g4ALZWJvAh k_dDRVuGm{W1 lpCarbon then + Canvas.Frame3D(ARect, BevelWidth, bvLowered) + else //bvLowered currently not supported on Carbon. + Canvas.Frame3D(ARect, BevelWidth, bvRaised) + end else Canvas.Frame3D(ARect, BevelWidth, bvRaised); + Result := Client; //Should reduce dimensions by edges and bevels. end; diff --git a/components/orpheus/myovcreg.pas b/components/orpheus/myovcreg.pas index fab0a440e..c7e50f47b 100644 --- a/components/orpheus/myovcreg.pas +++ b/components/orpheus/myovcreg.pas @@ -64,6 +64,8 @@ uses ovcsf, o32flxed, o32tcflx, + ovccal, +// ovcedcal, // ovccalc, // ovcclrcb, ovcsc, @@ -208,6 +210,8 @@ begin RegisterComponents('Orpheus', [TOvcSimpleField]); {$ENDIF} RegisterComponents('Orpheus', [TO32FlexEdit]); + RegisterComponents('Orpheus', [TOvcCalendar]); +// RegisterComponents('Orpheus', [TOvcDateEdit]); //Needs ButtonOkay fixes like TO32FlexEdit // RegisterComponents('Orpheus', [TOvcCalculator]); // RegisterComponents('Orpheus', [TOvcColorComboBox]); RegisterComponents('Orpheus', [TOvcTable]); diff --git a/components/orpheus/orpheus.lpk b/components/orpheus/orpheus.lpk index f7004554d..136821639 100644 --- a/components/orpheus/orpheus.lpk +++ b/components/orpheus/orpheus.lpk @@ -31,7 +31,7 @@ "/> - + diff --git a/components/orpheus/ovcbase.lrs b/components/orpheus/ovcbase.lrs index ac8d0e660..a221158c2 100644 --- a/components/orpheus/ovcbase.lrs +++ b/components/orpheus/ovcbase.lrs @@ -34,6 +34,76 @@ LazarusResources.Add('ORBTNCLC','BMP',[ +#8#8#8#8#8#0#0#0#8#136#136#136#136#0#0#0#8#0#0#0#8#0#0#0#8#0#14#14#8#0#0#0#8 +#0#0#0#8#0#0#0#8#136#136#136#136#0#0#0'0'#0#0#0#0'0'#0#0 ]); +LazarusResources.Add('ORLEFTARROW','BMP',[ + 'BM'#206#0#0#0#0#0#0#0'v'#0#0#0'('#0#0#0#11#0#0#0#11#0#0#0#1#0#4#0#0#0#0#0'X' + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#128#0#0#128#0#0#0#128#128 + +#0#128#0#0#0#128#0#128#0#128#128#0#0#128#128#128#0#192#192#192#0#0#0#255#0#0 + +#255#0#0#0#255#255#0#255#0#0#0#255#0#255#0#255#255#0#0#255#255#255#0#255#255 + +#255#255#255#240#0#0#255#255#255#255#255#240#0#0#255#255#255#255#255#240#0#0 + +#255#255#0#255#255#240#0#0#255#240#0#255#255#240#0#0#255#0#0#255#255#240#0#0 + +#240#0#0#255#255#240#0#0#255#0#0#255#255#240#0#0#255#240#0#255#255#240#0#0 + +#255#255#0#255#255#240#0#0#255#255#255#255#255#240#0#0 +]); +LazarusResources.Add('ORLEFTARROWS','BMP',[ + 'BM'#206#0#0#0#0#0#0#0'v'#0#0#0'('#0#0#0#13#0#0#0#11#0#0#0#1#0#4#0#0#0#0#0'X' + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#128#0#0#128#0#0#0#128#128 + +#0#128#0#0#0#128#0#128#0#128#128#0#0#128#128#128#0#192#192#192#0#0#0#255#0#0 + +#255#0#0#0#255#255#0#255#0#0#0#255#0#255#0#255#255#0#0#255#255#255#0#255#255 + +#255#255#255#255#240#0#255#255#255#255#255#255#240#0#255#255#255#255#255#255 + +#240#0#255#255#0#255#255#0#240#0#255#240#0#255#240#0#240#0#255#0#0#255#0#0 + +#240#0#240#0#0#240#0#0#240#0#255#0#0#255#0#0#240#0#255#240#0#255#240#0#240#0 + +#255#255#0#255#255#0#240#0#255#255#255#255#255#255#240#0 +]); +LazarusResources.Add('ORRIGHTARROW','BMP',[ + 'BM'#206#0#0#0#0#0#0#0'v'#0#0#0'('#0#0#0#11#0#0#0#11#0#0#0#1#0#4#0#0#0#0#0'X' + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#128#0#0#128#0#0#0#128#128 + +#0#128#0#0#0#128#0#128#0#128#128#0#0#128#128#128#0#192#192#192#0#0#0#255#0#0 + +#255#0#0#0#255#255#0#255#0#0#0#255#0#255#0#255#255#0#0#255#255#255#0#255#255 + +#255#255#255#240#0#0#255#255#255#255#255#240#0#0#255#255#255#255#255#240#0#0 + +#240#15#255#255#255#240#0#0#240#0#255#255#255#240#0#0#240#0#15#255#255#240#0 + +#0#240#0#0#255#255#240#0#0#240#0#15#255#255#240#0#0#240#0#255#255#255#240#0#0 + +#240#15#255#255#255#240#0#0#255#255#255#255#255#240#0#0 +]); +LazarusResources.Add('ORRIGHTARROWS','BMP',[ + 'BM'#206#0#0#0#0#0#0#0'v'#0#0#0'('#0#0#0#13#0#0#0#11#0#0#0#1#0#4#0#0#0#0#0'X' + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#128#0#0#128#0#0#0#128#128 + +#0#128#0#0#0#128#0#128#0#128#128#0#0#128#128#128#0#192#192#192#0#0#0#255#0#0 + +#255#0#0#0#255#255#0#255#0#0#0#255#0#255#0#255#255#0#0#255#255#255#0#255#255 + +#255#255#255#255#240#0#255#255#255#255#255#255#240#0#255#255#255#255#255#255 + +#240#0#240#15#255#240#15#255#240#0#240#0#255#240#0#255#240#0#240#0#15#240#0 + +#15#240#0#240#0#0#240#0#0#240#0#240#0#15#240#0#15#240#0#240#0#255#240#0#255 + +#240#0#240#15#255#240#15#255#240#0#255#255#255#255#255#255#240#0 +]); +LazarusResources.Add('ORREVERT','BMP',[ + 'BM'#206#0#0#0#0#0#0#0'v'#0#0#0'('#0#0#0#14#0#0#0#11#0#0#0#1#0#4#0#0#0#0#0'X' + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#128#0#0#128#0#0#0#128#128 + +#0#128#0#0#0#128#0#128#0#128#128#0#0#128#128#128#0#192#192#192#0#0#0#255#0#0 + +#255#0#0#0#255#255#0#255#0#0#0#255#0#255#0#255#255#0#0#255#255#255#0#255#255 + +#255#255#255#255#255#0#255#255#255#255#255#255#255#0#136#136#136#136#136#136 + +#136#0#136#136#136#136#136't'#136#0#132'DD'#136#136#132'x'#0#132'DH'#136#136 + +#136'H'#0#132'D'#136#136#136#136'H'#0#132'HH'#136#136#136'H'#0#132#136#132'H' + +#136#132'x'#0#136#136#136#132'DG'#136#0#136#136#136#136#136#136#136#0 +]); +LazarusResources.Add('ORTODAY','BMP',[ + 'BM'#206#0#0#0#0#0#0#0'v'#0#0#0'('#0#0#0#14#0#0#0#11#0#0#0#1#0#4#0#0#0#0#0'X' + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#128#0#0#128#0#0#0#128#128 + +#0#128#0#0#0#128#0#128#0#128#128#0#0#128#128#128#0#192#192#192#0#0#0#255#0#0 + +#255#0#0#0#255#255#0#255#0#0#0#255#0#255#0#255#255#0#0#255#255#255#0#255#255 + +#255#255#255#255#255#0#255#255#255#255#255#255#255#0#255#255#255#255#255#247 + +#15#0#255#255#255#255#255#255'p'#0#255#255#255#240#255#255#240#0#255#247#255 + +#240#255#247#240#0#255#0#15#240#255#0#15#0#240#247#255#240#255#247#255#0#240 + +#255#255#0#15#255#255#0#240''#255#255#255#255#255#0#255#7#255#255#255#255 + +#255#0 +]); +LazarusResources.Add('ORBTNCAL','BMP',[ + 'BM'#206#0#0#0#0#0#0#0'v'#0#0#0'('#0#0#0#11#0#0#0#11#0#0#0#1#0#4#0#0#0#0#0'X' + +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#128#0#0#128#0#0#0#128#128 + +#0#128#0#0#0#128#0#128#0#128#128#0#0#128#128#128#0#192#192#192#0#0#0#255#0#0 + +#255#0#0#0#255#255#0#255#0#0#0#255#0#255#0#255#255#0#0#255#255#255#0'0'#0#0#0 + +#0'0'#0#0#8#135#136'x'#136#0#0#0#9#135#152'y'#136#0#0#0#7'wwww'#0#0#0#8#135 + +#136'x'#136#0#0#0#9#135#152'y'#136#0#0#0#7'wwww'#0#0#0#8#135#136'x'#136#0#0#0 + +#9#135#152'y'#136#0#0#0#0#0#0#0#0#0#0#0'<'#199'ww'#204'0'#0#0 +]); LazarusResources.Add('ORCOLUMNMOVECURSOR','CUR',[ #0#0#2#0#1#0' '#0#0#0#0#0#0'0'#1#0#0#22#0#0#0'('#0#0#0' '#0#0#0'@'#0#0#0#1#0 +#1#0#0#0#0#0#0#1#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#0#0 diff --git a/components/orpheus/ovccal.pas b/components/orpheus/ovccal.pas index 30715bfa4..3dbf7b17f 100644 --- a/components/orpheus/ovccal.pas +++ b/components/orpheus/ovccal.pas @@ -221,7 +221,9 @@ type procedure CMCtl3DChanged(var Msg : TMessage); message CM_CTL3DCHANGED; procedure CMEnter(var Msg : TMessage); - message CM_ENTER; + message {$IFNDEF LCL} CM_ENTER; {$ELSE} LM_SETFOCUS; {$ENDIF} + //CM_ messages not supported in LCL, so use something similar + // so clRevertDate is initialized properly. procedure CMExit(var Msg : TMessage); message CM_EXIT; procedure CMFontChanged(var Msg : TMessage); @@ -815,8 +817,13 @@ begin Height := 140; TabStop := True; Width := 200; +{$IFDEF MSWINDOWS} Font.Name := 'MS Sans Serif'; Font.Size := 8; +{$ELSE} //Size 8 doesn't convert in LCL to Height -11 as it should. + Font.Name := 'Arial'; + Font.Height := -11; +{$ENDIF} FBorderStyle := bsNone; FDayNameWidth := 3; @@ -922,6 +929,10 @@ begin Params.ExStyle := Params.ExStyle or WS_EX_CLIENTEDGE; end; +{$IFDEF LCL} + inherited SetBorderStyle(FBorderStyle); +{$ENDIF} + {set style to reflect desire for double clicks} if FWantDblClicks then ControlStyle := ControlStyle + [csDoubleClicks] diff --git a/components/orpheus/ovcreg.lrs b/components/orpheus/ovcreg.lrs index 70257c4cb..6a1db435d 100644 --- a/components/orpheus/ovcreg.lrs +++ b/components/orpheus/ovcreg.lrs @@ -1566,6 +1566,163 @@ LazarusResources.Add('TOVCVIRTUALLISTBOX','BMP',[ +#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128 +#128 ]); +LazarusResources.Add('TOVCCALENDAR','BMP',[ + 'BM'#246#6#0#0#0#0#0#0'6'#0#0#0'('#0#0#0#24#0#0#0#24#0#0#0#1#0#24#0#0#0#0#0 + +#192#6#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#128#128#0#128#128#0#128#128#0 + +#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128 + +#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0 + +#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128 + +#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0 + +#128#128#255#255#255#0#0#0#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128 + +#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128 + +#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0 + +#128#128#0#128#128#255#255#255#0#0#0#0#128#128#0#128#128#0#128#128#0#128#128 + +#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128 + +#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0 + +#128#128#0#0#0#0#128#128#255#255#255#0#0#0#0#128#128#0#128#128#0#0#0#0#128 + +#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0 + +#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128 + +#128#0#128#128#0#128#128#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#128#128#0#128#128#0 + +#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128 + +#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0 + +#128#128#0#128#128#0#128#128#255#255#255#0#0#0#0#128#128#0#128#128#0#128#128 + +#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128 + +#128#0#128#128#0#128#128#0#128#128#0#128#128#255#0#0#255#0#0#255#0#0#255#0#0 + +#255#0#0#255#0#0#0#128#128#255#255#255#0#0#0#0#128#128#0#128#128#0#128#128#0 + +#128#128#255#0#0#255#0#0#255#0#0#0#128#128#0#128#128#0#128#128#0#128#128#0 + +#128#128#0#128#128#0#128#128#0#128#128#0#128#128#255#0#0#255#0#0#255#0#0#255 + +#0#0#0#128#128#0#128#128#255#255#255#0#0#0#0#128#128#0#128#128#0#128#128#255 + +#0#0#255#0#0#255#0#0#255#0#0#255#0#0#0#128#128#0#128#128#0#128#128#0#128#128 + +#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#255#0#0#255#0#0#0#128#128 + +#0#128#128#0#128#128#255#255#255#0#0#0#0#128#128#0#128#128#255#0#0#255#0#0 + +#255#0#0#0#128#128#0#128#128#255#0#0#255#0#0#0#128#128#0#128#128#0#128#128#0 + +#128#128#0#128#128#0#128#128#0#128#128#0#128#128#255#0#0#255#0#0#0#128#128#0 + +#128#128#0#128#128#255#255#255#0#0#0#0#128#128#0#128#128#255#0#0#0#128#128#0 + +#128#128#0#128#128#0#128#128#255#0#0#255#0#0#0#128#128#0#128#128#0#128#128#0 + +#128#128#0#128#128#0#128#128#0#128#128#0#128#128#255#0#0#255#0#0#0#128#128#0 + +#128#128#0#128#128#255#255#255#0#0#0#0#128#128#0#128#128#255#0#0#0#128#128#0 + +#128#128#0#128#128#0#128#128#255#0#0#255#0#0#0#128#128#0#128#128#0#128#128#0 + +#128#128#0#128#128#0#128#128#0#128#128#0#128#128#255#0#0#255#0#0#0#128#128#0 + +#128#128#0#128#128#255#255#255#0#0#0#0#128#128#0#128#128#0#128#128#0#128#128 + +#0#128#128#0#128#128#0#128#128#255#0#0#255#0#0#0#128#128#0#128#128#0#128#128 + +#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#255#0#0#255#0#0#0#128#128 + +#0#128#128#0#128#128#255#255#255#0#0#0#0#128#128#0#128#128#0#128#128#0#128 + +#128#255#0#0#255#0#0#255#0#0#255#0#0#0#128#128#0#128#128#0#128#128#0#128#128 + +#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#255#0#0#255#0#0#0#128#128 + +#0#128#128#0#128#128#255#255#255#0#0#0#0#128#128#0#128#128#0#128#128#0#128 + +#128#0#128#128#0#128#128#0#128#128#255#0#0#255#0#0#0#128#128#0#128#128#0#128 + +#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#255#0#0#255#0#0#0#128 + +#128#0#128#128#0#128#128#255#255#255#0#0#0#0#128#128#0#128#128#255#0#0#0#128 + +#128#0#128#128#0#128#128#0#128#128#255#0#0#255#0#0#0#128#128#0#128#128#0#128 + +#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#255#0#0#255#0#0#0#128 + +#128#0#128#128#0#128#128#255#255#255#0#0#0#0#128#128#0#128#128#255#0#0#0#128 + +#128#0#128#128#0#128#128#0#128#128#255#0#0#255#0#0#0#128#128#0#128#128#0#128 + +#128#0#128#128#0#128#128#0#128#128#255#0#0#255#0#0#255#0#0#255#0#0#0#128#128 + +#0#128#128#0#128#128#255#255#255#0#0#0#0#128#128#0#128#128#255#0#0#255#0#0 + +#255#0#0#0#128#128#0#128#128#255#0#0#255#0#0#0#128#128#0#128#128#0#128#128#0 + +#128#128#0#128#128#0#128#128#255#0#0#255#0#0#255#0#0#255#0#0#0#128#128#0#128 + +#128#0#128#128#255#255#255#0#0#0#0#128#128#0#128#128#0#128#128#255#0#0#255#0 + +#0#255#0#0#255#0#0#255#0#0#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128 + +#0#128#128#0#128#128#0#128#128#0#128#128#255#0#0#255#0#0#0#128#128#0#128#128 + +#0#128#128#255#255#255#0#0#0#0#128#128#0#128#128#0#128#128#0#128#128#255#0#0 + +#255#0#0#255#0#0#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128 + +#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#0#0 + +#0#128#128#255#255#255#0#0#0#0#128#128#0#128#128#0#0#0#0#128#128#0#128#128#0 + +#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128 + +#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0 + +#128#128#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#128#128#0#128#128#0#128#128#0#128 + ,#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0 + +#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128 + +#128#0#128#128#255#255#255#0#0#0#0#128#128#0#128#128#0#128#128#0#128#128#0 + +#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128 + +#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0 + +#128#128#0#128#128#0#128#128#255#255#255#0#0#0#0#128#128#0#128#128#0#128#128 + +#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128 + +#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0 + +#128#128#0#128#128#0#128#128#0#128#128#255#255#255#0#0#0#0#128#128#0#128#128 + +#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128 + +#128#0#128#128#0#128#128 +]); +LazarusResources.Add('TOVCDATEEDIT','BMP',[ + 'BM'#246#6#0#0#0#0#0#0'6'#0#0#0'('#0#0#0#24#0#0#0#24#0#0#0#1#0#24#0#0#0#0#0 + +#192#6#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#128#128#0#128#128#0#128#128#0 + +#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128 + +#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0 + +#128#128#0#128#128#0#0#255#0#0#255#0#0#255#0#0#255#0#128#128#0#128#128#0#128 + +#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0 + +#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128 + +#128#0#128#128#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255#0#128#128#0#128#128#0 + +#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128 + +#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0 + +#128#128#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255#0#128#128#0#128#128 + +#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128 + +#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0 + +#0#255#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255#0#128#128#128#128#128#255#255 + +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 + +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 + +#255#255#255#255#255#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255#255#255 + +#255#0#128#128#128#128#128#0#0#0#192#192#192#192#192#192#192#192#192#192#192 + +#192#192#192#192#192#192#192#192#192#192#192#192#192#192#192#192#192#192#192 + +#192#192#192#192#192#192#192#192#192#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255 + +#0#0#255#192#192#192#255#255#255#0#128#128#128#128#128#0#0#0#255#255#255#255 + +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 + +#255#255#255#255#255#255#255#255#255#255#255#255#255#0#0#255#0#0#255#0#0#255 + +#0#0#255#0#0#255#0#0#255#255#255#255#192#192#192#255#255#255#0#128#128#128 + +#128#128#0#0#0#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 + +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#0#0 + +#255#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255#192#192#192#192#192#192#192#192 + +#192#255#255#255#0#128#128#128#128#128#0#0#0#255#255#255#255#255#255#255#255 + +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 + +#255#255#255#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255#192#192#192#192 + +#192#192#192#192#192#192#192#192#255#255#255#0#128#128#128#128#128#0#0#0#255 + +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 + +#255#255#255#255#255#255#255#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255 + +#192#192#192#192#192#192#192#192#192#192#192#192#192#192#192#255#255#255#0 + +#128#128#128#128#128#0#0#0#0#0#0#255#255#255#255#255#255#255#255#255#0#0#0 + +#255#255#255#0#0#0#0#0#0#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255#192 + +#192#192#192#192#192#192#192#192#192#192#192#192#192#192#192#192#192#255#255 + +#255#0#128#128#128#128#128#0#0#0#0#0#0#255#255#255#255#255#255#255#255#255#0 + +#0#0#255#255#255#0#0#0#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255#255 + +#255#255#192#192#192#192#192#192#192#192#192#192#192#192#192#192#192#192#192 + +#192#255#255#255#0#128#128#128#128#128#0#0#0#0#0#0#255#255#255#0#0#0#255#255 + +#255#0#0#0#255#255#255#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255#0#0#0 + +#255#255#255#192#192#192#192#192#192#0#0#0#192#192#192#192#192#192#192#192 + +#192#255#255#255#0#128#128#128#128#128#0#0#0#0#0#0#0#0#0#255#255#255#0#0#0#0 + +#0#0#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255#0#0#0#255#255#255#0#0#0 + +#192#192#192#0#0#0#0#0#0#0#0#0#192#192#192#192#192#192#255#255#255#0#128#128 + +#128#128#128#0#0#0#0#0#0#255#255#255#255#255#255#255#255#255#0#0#255#0#0#255 + +#0#0#255#0#0#255#0#0#255#0#0#255#255#255#255#0#0#0#255#255#255#0#0#0#192#192 + +#192#192#192#192#192#192#192#192#192#192#192#192#192#192#192#192#255#255#255 + +#0#128#128#128#128#128#0#0#0#255#255#255#255#255#255#255#255#255#0#0#255#0#0 + +#255#0#0#255#0#0#255#0#0#255#0#0#255#255#255#255#255#255#255#255#255#255#255 + +#255#255#255#255#255#192#192#192#192#192#192#192#192#192#192#192#192#192#192 + +#192#192#192#192#255#255#255#0#128#128#128#128#128#0#0#0#255#255#255#255#255 + +#255#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255#255#255#255#255#255#255 + +#255#255#255#255#255#255#255#255#255#255#255#255#192#192#192#192#192#192#192 + +#192#192#192#192#192#192#192#192#192#192#192#255#255#255#0#128#128#128#128 + +#128#0#0#0#255#255#255#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255#255 + +#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255#255 + +#255#192#192#192#192#192#192#192#192#192#192#192#192#192#192#192#192#192#192 + +#255#255#255#0#128#128#128#128#128#0#0#0#0#0#255#0#0#255#0#0#255#0#0#255#0#0 + +#255#0#0#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0 + +#0#0#0#0#0#0#0#0#0#0#255#255#255#0#128#128#128#128#128#0#0#255#0#0#255#0#0 + +#255#0#0#255#0#0#255#0#0#255#128#128#128#128#128#128#128#128#128#128#128#128 + +#128#128#128#128#128#128#128#128#128#128#128#128#128#128#128#128#128#128#128 + ,#128#128#128#128#128#128#128#128#128#128#128#128#128#128#128#128#128#0#128 + +#128#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255#0#128#128#0#128#128#0 + +#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128 + +#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0 + +#128#128#0#0#255#0#0#255#0#0#255#0#0#255#0#0#255#0#128#128#0#128#128#0#128 + +#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0 + +#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128 + +#128#0#128#128#0#0#255#0#0#255#0#0#255#0#0#255#0#128#128#0#128#128#0#128#128 + +#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128 + +#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0 + +#128#128#0#128#128#0#0#255#0#0#255#0#0#255#0#128#128#0#128#128#0#128#128#0 + +#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128 + +#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0#128#128#0 + +#128#128#0#128#128#0#128#128 +]); LazarusResources.Add('ORREDDOT','BMP',[ 'BM>'#1#0#0#0#0#0#0'6'#0#0#0'('#0#0#0#7#0#0#0#11#0#0#0#1#0#24#0#0#0#0#0#8#1#0 +#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#255#255#255#255#255#255#255#255#255#255 diff --git a/components/orpheus/tests/TestCalendar/project1.bdsproj b/components/orpheus/tests/TestCalendar/project1.bdsproj new file mode 100644 index 000000000..acea5547a --- /dev/null +++ b/components/orpheus/tests/TestCalendar/project1.bdsproj @@ -0,0 +1,175 @@ + + + + + + + + + + + + project1.dpr + + + 7.0 + + + 8 + 0 + 1 + 1 + 0 + 0 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + 1 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 1 + 1 + 1 + True + True + WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; + + False + + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + True + False + False + False + True + True + True + True + True + True + + + + 0 + 0 + False + 1 + False + False + False + 16384 + 1048576 + 4194304 + + + + + + + + + + + + False + + + + + + False + + + True + False + + + + $00000000 + + + + False + False + 1 + 0 + 0 + 0 + False + False + False + False + False + 1033 + 1252 + + + + + 1.0.0.0 + + + + + + 1.0.0.0 + + + + diff --git a/components/orpheus/tests/TestCalendar/project1.cfg b/components/orpheus/tests/TestCalendar/project1.cfg new file mode 100644 index 000000000..34d0442f6 --- /dev/null +++ b/components/orpheus/tests/TestCalendar/project1.cfg @@ -0,0 +1,38 @@ +-$A8 +-$B- +-$C+ +-$D+ +-$E- +-$F- +-$G+ +-$H+ +-$I+ +-$J- +-$K- +-$L+ +-$M- +-$N+ +-$O+ +-$P+ +-$Q- +-$R- +-$S- +-$T- +-$U- +-$V+ +-$W- +-$X+ +-$YD +-$Z1 +-cg +-AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; +-H+ +-W+ +-M +-$M16384,1048576 +-K$00400000 +-LE"c:\delphi7\Projects\Bpl" +-LN"c:\delphi7\Projects\Bpl" +-w-UNSAFE_TYPE +-w-UNSAFE_CODE +-w-UNSAFE_CAST diff --git a/components/orpheus/tests/TestCalendar/project1.dof b/components/orpheus/tests/TestCalendar/project1.dof new file mode 100644 index 000000000..fbb8e82c9 --- /dev/null +++ b/components/orpheus/tests/TestCalendar/project1.dof @@ -0,0 +1,136 @@ +[FileVersion] +Version=7.0 +[Compiler] +A=8 +B=0 +C=1 +D=1 +E=0 +F=0 +G=1 +H=1 +I=1 +J=0 +K=0 +L=1 +M=0 +N=1 +O=1 +P=1 +Q=0 +R=0 +S=0 +T=0 +U=0 +V=1 +W=0 +X=1 +Y=1 +Z=1 +ShowHints=1 +ShowWarnings=1 +UnitAliases=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; +NamespacePrefix= +SymbolDeprecated=1 +SymbolLibrary=1 +SymbolPlatform=1 +UnitLibrary=1 +UnitPlatform=1 +UnitDeprecated=1 +HResultCompat=1 +HidingMember=1 +HiddenVirtual=1 +Garbage=1 +BoundsError=1 +ZeroNilCompat=1 +StringConstTruncated=1 +ForLoopVarVarPar=1 +TypedConstVarPar=1 +AsgToTypedConst=1 +CaseLabelRange=1 +ForVariable=1 +ConstructingAbstract=1 +ComparisonFalse=1 +ComparisonTrue=1 +ComparingSignedUnsigned=1 +CombiningSignedUnsigned=1 +UnsupportedConstruct=1 +FileOpen=1 +FileOpenUnitSrc=1 +BadGlobalSymbol=1 +DuplicateConstructorDestructor=1 +InvalidDirective=1 +PackageNoLink=1 +PackageThreadVar=1 +ImplicitImport=1 +HPPEMITIgnored=1 +NoRetVal=1 +UseBeforeDef=1 +ForLoopVarUndef=1 +UnitNameMismatch=1 +NoCFGFileFound=1 +MessageDirective=1 +ImplicitVariants=1 +UnicodeToLocale=1 +LocaleToUnicode=1 +ImagebaseMultiple=1 +SuspiciousTypecast=1 +PrivatePropAccessor=1 +UnsafeType=0 +UnsafeCode=0 +UnsafeCast=0 +[Linker] +MapFile=0 +OutputObjs=0 +ConsoleApp=1 +DebugInfo=0 +RemoteSymbols=0 +MinStackSize=16384 +MaxStackSize=1048576 +ImageBase=4194304 +ExeDescription= +[Directories] +OutputDir= +UnitOutputDir= +PackageDLLOutputDir= +PackageDCPOutputDir= +SearchPath= +Packages= +Conditionals= +DebugSourceDirs= +UsePackages=0 +[Parameters] +RunParams= +HostApplication= +Launcher= +UseLauncher=0 +DebugCWD= +[Language] +ActiveLang= +ProjectLang= +RootDir= +[Version Info] +IncludeVerInfo=0 +AutoIncBuild=0 +MajorVer=1 +MinorVer=0 +Release=0 +Build=0 +Debug=0 +PreRelease=0 +Special=0 +Private=0 +DLL=0 +Locale=1033 +CodePage=1252 +[Version Info Keys] +CompanyName= +FileDescription= +FileVersion=1.0.0.0 +InternalName= +LegalCopyright= +LegalTrademarks= +OriginalFilename= +ProductName= +ProductVersion=1.0.0.0 +Comments= diff --git a/components/orpheus/tests/TestCalendar/project1.dpr b/components/orpheus/tests/TestCalendar/project1.dpr new file mode 100644 index 000000000..8a2e82e5d --- /dev/null +++ b/components/orpheus/tests/TestCalendar/project1.dpr @@ -0,0 +1,18 @@ +program Project1; + +uses +{$IFDEF LCL} + Interfaces, +{$ENDIF} + Forms, + Unit1 in 'Unit1.pas' {Form1}; + +{$IFDEF MSWINDOWS} +{$R *.res} +{$ENDIF} + +begin + Application.Initialize; + Application.CreateForm(TForm1, Form1); + Application.Run; +end. diff --git a/components/orpheus/tests/TestCalendar/project1.lpi b/components/orpheus/tests/TestCalendar/project1.lpi new file mode 100644 index 000000000..78e86da7a --- /dev/null +++ b/components/orpheus/tests/TestCalendar/project1.lpi @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/components/orpheus/tests/TestCalendar/project1.res b/components/orpheus/tests/TestCalendar/project1.res new file mode 100644 index 0000000000000000000000000000000000000000..3adc0361f3a00f24e1a79ea56f342ee10caf9e11 GIT binary patch literal 876 zcmZuw!D`e{6g`;)j6~`bgm%{QM$1G2a#qggXHZrr3(XD^jD^2Biv0~ z`5QtvE@xN4((Ab|$vA?SIeGWIbMAeQ_vQh>j8N^t^q=@S8TF8!z-!a#!)P=;WilfU zi2%biYyKYEZ-dM zKwZ}&*MGS;WQdNBhq*@DYecWha+n~`@TMrv%R}#|n>L&5m1R-9_dKCKajtk*eq3?q z+&nGLeL-AH=6N|Z5XrYGk2*%a*ZaW*ww+5|n)-UgT;R&h_t*KCTgtnBJ=g+sHvAp+ z+!}7}yY$&&;5?G8)VW<5c-*wpNtz-V4CI-YMgtofPh>FEVh5Ut$OrG^q0>MPw068N zJm^aVuz;i`3FuBayES?}O0{e9=?hk?F~}AtM$GRDtStxv z!%JOmK$nm3c^Tv2mjT!@+^ylBIdNd%-^;M07nfIB>38k!LhU{U`s3weN)L#TxF9;> p8*!tmw@=Y;A8-r^Nba7rBEjN=&V@4{X~fY~haufkqYfIpyE(PjVu literal 0 HcmV?d00001 diff --git a/components/orpheus/tests/TestCalendar/unit1.dfm b/components/orpheus/tests/TestCalendar/unit1.dfm new file mode 100644 index 000000000..7ff0c4d0a --- /dev/null +++ b/components/orpheus/tests/TestCalendar/unit1.dfm @@ -0,0 +1,33 @@ +object Form1: TForm1 + Left = 192 + Top = 114 + Width = 440 + Height = 336 + Caption = 'Form1' + Color = clBtnFace + Font.Charset = DEFAULT_CHARSET + Font.Color = clWindowText + Font.Height = -11 + Font.Name = 'MS Sans Serif' + Font.Style = [] + OldCreateOrder = False + PixelsPerInch = 96 + TextHeight = 13 + object OvcCalendar1: TOvcCalendar + Left = 56 + Top = 40 + Width = 313 + Height = 209 + BorderStyle = bsNone + Colors.ActiveDay = clRed + Colors.ColorScheme = cscalCustom + Colors.DayNames = clMaroon + Colors.Days = clBlack + Colors.InactiveDays = clGray + Colors.MonthAndYear = clBlue + Colors.Weekend = clRed + DayNameWidth = 3 + Options = [cdoShortNames, cdoShowYear, cdoShowInactive, cdoShowRevert, cdoShowToday, cdoShowNavBtns] + TabOrder = 0 + end +end diff --git a/components/orpheus/tests/TestCalendar/unit1.lfm b/components/orpheus/tests/TestCalendar/unit1.lfm new file mode 100644 index 000000000..b02944b43 --- /dev/null +++ b/components/orpheus/tests/TestCalendar/unit1.lfm @@ -0,0 +1,30 @@ +object Form1: TForm1 + Left = 192 + Top = 114 + Width = 432 + Height = 302 + Caption = 'Form1' + Color = clBtnFace + Font.Charset = DEFAULT_CHARSET + Font.Color = clWindowText + Font.Height = -11 + Font.Style = [] + PixelsPerInch = 96 + object OvcCalendar1: TOvcCalendar + Left = 56 + Top = 40 + Width = 313 + Height = 209 + BorderStyle = bsNone + Colors.ActiveDay = clRed + Colors.ColorScheme = cscalCustom + Colors.DayNames = clMaroon + Colors.Days = clBlack + Colors.InactiveDays = clGray + Colors.MonthAndYear = clBlue + Colors.Weekend = clRed + DayNameWidth = 3 + Options = [cdoShortNames, cdoShowYear, cdoShowInactive, cdoShowRevert, cdoShowToday, cdoShowNavBtns] + TabOrder = 0 + end +end diff --git a/components/orpheus/tests/TestCalendar/unit1.lrs b/components/orpheus/tests/TestCalendar/unit1.lrs new file mode 100644 index 000000000..58f189f67 --- /dev/null +++ b/components/orpheus/tests/TestCalendar/unit1.lrs @@ -0,0 +1,13 @@ +LazarusResources.Add('TForm1','FORMDATA',[ + 'TPF0'#6'TForm1'#5'Form1'#4'Left'#3#192#0#3'Top'#2'r'#5'Width'#3#176#1#6'Heig' + +'ht'#3'.'#1#7'Caption'#6#5'Form1'#5'Color'#7#9'clBtnFace'#12'Font.Charset'#7 + +#15'DEFAULT_CHARSET'#10'Font.Color'#7#12'clWindowText'#11'Font.Height'#2#245 + +#10'Font.Style'#11#0#13'PixelsPerInch'#2'`'#0#12'TOvcCalendar'#12'OvcCalenda' + +'r1'#4'Left'#2'8'#3'Top'#2'('#5'Width'#3'9'#1#6'Height'#3#209#0#11'BorderSty' + +'le'#7#6'bsNone'#16'Colors.ActiveDay'#7#5'clRed'#18'Colors.ColorScheme'#7#11 + +'cscalCustom'#15'Colors.DayNames'#7#8'clMaroon'#11'Colors.Days'#7#7'clBlack' + +#19'Colors.InactiveDays'#7#6'clGray'#19'Colors.MonthAndYear'#7#6'clBlue'#14 + +'Colors.Weekend'#7#5'clRed'#12'DayNameWidth'#2#3#7'Options'#11#13'cdoShortNa' + +'mes'#11'cdoShowYear'#15'cdoShowInactive'#13'cdoShowRevert'#12'cdoShowToday' + +#14'cdoShowNavBtns'#0#8'TabOrder'#2#0#0#0#0 +]); diff --git a/components/orpheus/tests/TestCalendar/unit1.pas b/components/orpheus/tests/TestCalendar/unit1.pas new file mode 100644 index 000000000..c7dcf87c3 --- /dev/null +++ b/components/orpheus/tests/TestCalendar/unit1.pas @@ -0,0 +1,33 @@ +unit Unit1; + +interface + +uses + {$IFNDEF LCL} Windows, Messages, {$ELSE} LclIntf, LMessages, LclType, LResources, {$ENDIF} + SysUtils, Variants, Classes, Graphics, Controls, Forms, + Dialogs, ovcbase, ovccal; + +type + TForm1 = class(TForm) + OvcCalendar1: TOvcCalendar; + private + { Private declarations } + public + { Public declarations } + end; + +var + Form1: TForm1; + +implementation + +{$IFNDEF LCL} +{$R *.dfm} +{$ENDIF} + +initialization +{$IFDEF LCL} +{$I unit1.lrs} {Include form's resource file} +{$ENDIF} + +end.