Class TDemoForm (unit Palform) |
TForm
Demostration of palettes and animation in a Delphi component. Copyright © 1997 Tempest Software, Inc. This program demonstrate some simple uses for a display palettet in Windows, including palette animation. Palette animation works only with video adapters that use a system palette, so if the display does not use a palette, the animation start button is disabled. Most of the interesting stuff is in the PalDemo.pas file, which implements the TPaletteDemo component. This is the main form, which creates the TPaletteDemo component and animates it. The info button pops up a dialog that displays some information about the video driver.
Constructors |
Functions |
Properties |
Events |
Variables |
Constructors |
Functions |
Check the display. If it does not use a palette, then do not try to animate the palette.
If the mouse is over the palette control, update the pixel color.
Properties |
Events |
Variables |