|
|
ID: 26483, Analog gauge c++ component
C++ VCL graphic control reproducing an analog meter for displaying floating point values
|
| Download
| Details
|
|
|
|
|
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
|
|
To download this, you must have registered:
|
For C++Builder, Version 12.0
to 12.0
99 downloads
Copyright: No significant restrictions
Updated on Wed, 17 Dec 2008 05:54:25 GMT
Originally uploaded on Wed, 17 Dec 2008 05:54:17 GMT
SHA1 Hash: 356779479DC764E0AA6718F68AE1C2B47F828B3C
MD5 Hash: 24447059282BC44D641AA2D0E02E5D53
|
Explore the files in this upload
File Exploration is Disabled
We're sorry, but errors in the uploaded zip file prevent it from being explored.
The error generated by the Zip attachment is:
You may still be able to repair the zip file contents if you download the entire zip locally. You may also want to ask the author to repost the attachment.
|
| Description
|
An4logGauge is a c++ VCL graphic control reproducing an analog meter for displaying floating point values.
This control is based on 'A3nalogGauge.pas' Antialiased Analog Gauge component for Delphi 2002, Irnis Haliullin (irnis@irnis.net, http://www.irnis.net)
which was based on AnalogGauge component by Shteg Vyacheslav, Supersampling algoritm of Nacho Urenda.
See more info in the header file.
Example of usage:
#include "unt_An4logGauge.h"
cls_An4logGauge* meter = new cls_An4logGauge(Panel1);
//meter->Parent = Panel1; // Not necessary
// Assign proper dimensions, ex:
meter->Width = 200; // [pix]
meter->Height = 100; // [pix]
// Or dynamic dimensions:
meter->Align = alClient;
// Setting the Layout
// For centered style call the facility:
meter->SetCenteredLayout(120); // [deg]
// For right or left style, simply call:
meter->SetRightLayout(); // or SetLeftLayout()
// More generally, set AngleMin and AngleRange:
meter->AngleMin = 45; // [deg]
meter->AngleRange = 270; // [deg]
// Other settings
meter->Caption = "A";
meter->FullScaleMin = -50.0;
meter->FullScaleMax = +50.0;
// Displaying values
meter->Value = 10.3;
// You can see value using hints:
meter->ShowHint = true;
// Something to do at mouse click
meter->OnMouseDown = MyMeterMouseDown;
/*void __fastcall MyMeterMouseDown(TObject*, TMouseButton, TShiftState, int, int);*/
|
|

Server Response from: CDC1
|