[JEDI.NET discuss] Update
Status: Pre-Alpha
Brought to you by:
jedi_mbe
From: Marcel B. <ma...@ze...> - 2004-08-02 16:41:42
|
All, I've been working on the Led stuff again (in case you are not subscribed to the commit mailing list; otherwise you already know this). I updated the region usage and provided description to most (if not all) published properties. In addition I added a new led style (ShapedLedStyleBase) and the two descendants (SingleColorShapedLedStyle and MultiColorShapedLedStyle). This style allows any shape to be rendered used as a Led cover. Well, it's going to; opposed to the donated Shape control, the style does not use a predefined set of shapes but rather uses a base class from which you can derive other shapes. Currently two shapes are provided: RectangleLedShape and MultiLedShape. I suppose you can all guess what shape the RectangleLedShape class renders, but the MultiLedShape is a little different. It allows you to select a shape (which can be another MultiLedShape), orientation, spacing and count and will result in rendering the specified shape, the specified number of times either horizontally or vertically. The ShapedLedStyle has a CoverHeight which specifies the height the cover extends above the surface. The top and left side will be a little brighter, whereas the bottom and right sides will be a little darker than the led color, giving the impression of a 3D cover. The rendering is not trying to be an accurate 3D representation (that maybe looked at later). There are a couple of things I want to complete with this unit before I'll release a first alpha version. First of all, there are still some situations not working properly and the provided control is not much more than a test control that was quickly put together. That has to be changed first. Secondly I want to take a stab at a LedProgress bar. That control should allow a user to provide multiple styles and define ranges of values, where each range can specify the style and state to use. I don't think a help file will be provided for the Alpha version yet. I also need someone with VS.NET access and check if this thing also works properly in that environment (it should, but I don't have VS.NET and can therefore not test it). -- Marcel Bestebroer (Team JEDI) http://delphi-jedi.org Project JEDI Help coordinator JEDI.NET team coordinator |