MMFILL.INT 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {========================================================================}
  2. {= (c) 1995-98 SwiftSoft Ronald Dittrich =}
  3. {========================================================================}
  4. {= All Rights Reserved =}
  5. {========================================================================}
  6. {= D 01099 Dresden = Tel.: +0351-8012255 =}
  7. {= Loewenstr.7a = info@swiftsoft.de =}
  8. {========================================================================}
  9. {= Actual versions on http://www.swiftsoft.de/mmtools.html =}
  10. {========================================================================}
  11. {= This code is for reference purposes only and may not be copied or =}
  12. {= distributed in any format electronic or otherwise except one copy =}
  13. {= for backup purposes. =}
  14. {= =}
  15. {= No Delphi Component Kit or Component individually or in a collection=}
  16. {= subclassed or otherwise from the code in this unit, or associated =}
  17. {= .pas, .dfm, .dcu, .asm or .obj files may be sold or distributed =}
  18. {= without express permission from SwiftSoft. =}
  19. {= =}
  20. {= For more licence informations please refer to the associated =}
  21. {= HelpFile. =}
  22. {========================================================================}
  23. {= $Date: 22.02.98 - 01:26:39 $ =}
  24. {========================================================================}
  25. unit MMFill;
  26. {$I COMPILER.INC}
  27. interface
  28. uses
  29. Windows,
  30. SysUtils,
  31. Classes,
  32. Controls,
  33. Graphics,
  34. Messages,
  35. Forms,
  36. MMObj,
  37. MMPanel,
  38. MMUtils,
  39. MMBmpLst,
  40. MMHook,
  41. MMObsrv;
  42. type
  43. {-- TMMFormFill -----------------------------------------------------------}
  44. TMMFormFill = class(TMMWndProcComponent)
  45. public
  46. constructor Create(aOwner: TComponent); override;
  47. destructor Destroy; override;
  48. published
  49. property BitmapList: TMMBitmapList read FBitmaps write SetBitmaps;
  50. property BitmapIndex: Integer read FBitmapIndex write SetBitmapIndex default -1;
  51. end;
  52. {-- TMMPanelFill ----------------------------------------------------------}
  53. TMMPanelFill = class(TMMPanel)
  54. public
  55. constructor Create(aOwner: TComponent); override;
  56. destructor Destroy; override;
  57. published
  58. property BitmapList: TMMBitmapList read FBitmaps write SetBitmaps;
  59. property BitmapIndex: Integer read FBitmapIndex write SetBitmapIndex default -1;
  60. property FillBevel: Boolean read GetFillBevel write SetFillBevel default True;
  61. end;
  62. implementation