|This library is designed specially for software developers who are bored of standard box-styled windows and want to create really cool, unusual or skinnable program user interfaces, for example like that (this is the same program but with different "skins").|
The krpRegions library is a set of powerful and easy-to-use components
for Borland Delphi and C++Builder. This product is designed for
developers of any professional skill, so even beginners will be glad to use
this library. krpRegions library uses two fundamental technologies:
Skingine and AREA-BY-COLOR
algorithm. Also we present our
skin format absolutely free
and hope this format will be popular.
This algorithm was developed in 1998 by
(He is a member of our team now). Main idea of algorithm is using of a
multi-color mask (bitmap or other graphics) for marking
areas by different colors. This is an example of multi-color mask:
Each color area of mask denotes some working area.
Gray area is a body of application.
Lime areas are buttons and so on....
You just detect which color of the mask is under cursor and perform events
for area associated with this color. Also you can create a region for
each color area and detect which region is currently active (this way is
exactly used in the krpRegions library).
Our skin format was developed after analyzing of tons other skin formats. We
hope this format will be useful and popular. Our skin format is open
and free! Any new ideas and propositions are welcome! Send you
ideas to email@example.com
We decide to use 4 run-time states for all active areas of program’s user
Normal - default state when the area is not disabled.
Selected - state when cursor runs over the area (Hot track).
Active- state when mouse or key is pressed, and area responds this
activating event (Pressed).
Disabled - state when the area doesn’t respond any events.