summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--uidesigner/icons.inc88
-rw-r--r--uidesigner/images/splitter.bmpbin0 -> 1398 bytes
-rw-r--r--uidesigner/vfdwidgets.pas15
3 files changed, 103 insertions, 0 deletions
diff --git a/uidesigner/icons.inc b/uidesigner/icons.inc
index 1f55a115..6af0aa1e 100644
--- a/uidesigner/icons.inc
+++ b/uidesigner/icons.inc
@@ -3321,3 +3321,91 @@ Const
255,255, 0,255, 68, 51, 0, 68, 51, 0, 68, 51, 0, 68, 51, 0, 68,
50, 0, 68, 51, 0, 68, 51, 0, 68, 51, 0,255, 0,255,255, 0,255,
255, 0,255,255, 0,255);
+
+
+Const
+ stdimg_vfd_splitter : Array[0..1397] of byte = (
+ 66, 77,118, 5, 0, 0, 0, 0, 0, 0, 54, 0, 0, 0, 40, 0, 0,
+ 0, 21, 0, 0, 0, 21, 0, 0, 0, 1, 0, 24, 0, 0, 0, 0, 0,
+ 64, 5, 0, 0, 19, 11, 0, 0, 19, 11, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,
+ 255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255,
+ 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,
+ 255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255, 0,255,
+ 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,
+ 255, 0,255,255, 0,255,146,119,119,146,119,119,146,119,119,146,119,
+ 119,146,119,119,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255,
+ 0,255,255, 0,255,255, 0,255,255, 0,255, 0,255, 0,255,255, 0,
+ 255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255,
+ 0,255,193,192,194,219,223,223,219,223,223,219,223,223,146,119,119,
+ 255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,
+ 255,255, 0,255,255, 0,255, 0,255, 0,255,255, 0,255,255, 0,255,
+ 255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,193,192,
+ 194,219,223,223,193,192,194,219,223,223,146,119,119,255, 0,255,255,
+ 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,
+ 255, 0,255, 0,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255,
+ 0,255,255, 0,255,255, 0,255,255, 0,255,193,192,194,193,192,194,
+ 146,119,119,193,192,194,146,119,119,255, 0,255,255, 0,255,255, 0,
+ 255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255, 0,
+ 255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,
+ 255,255, 0,255,255, 0,255,193,192,194,219,223,223,193,192,194,219,
+ 223,223,146,119,119,255, 0,255,255, 0,255,255, 0,255,255, 0,255,
+ 255, 0,255,255, 0,255,255, 0,255,255, 0,255, 0,255, 0,255,255,
+ 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,
+ 255, 0,255,193,192,194,219,223,223,193,192,194,219,223,223,146,119,
+ 119,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255,
+ 0,255,255, 0,255,255, 0,255, 0,255, 0,255,255, 0,255,255, 0,
+ 255,255, 0,255,255, 0,255,255, 0,255,128, 0, 0,255, 0,255,193,
+ 192,194,193,192,194,146,119,119,193,192,194,146,119,119,255, 0,255,
+ 128, 0, 0,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,
+ 255,255, 0,255, 0,255, 0,255,255, 0,255,255, 0,255,255, 0,255,
+ 255, 0,255,128, 0, 0,128, 0, 0,255, 0,255,193,192,194,219,223,
+ 223,193,192,194,219,223,223,146,119,119,255, 0,255,128, 0, 0,128,
+ 0, 0,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,
+ 0,255, 0,255,255, 0,255,255, 0,255,255, 0,255,128, 0, 0,128,
+ 0, 0,128, 0, 0,128, 0, 0,128, 0, 0,128, 0, 0,128, 0, 0,
+ 128, 0, 0,128, 0, 0,128, 0, 0,128, 0, 0,128, 0, 0,128, 0,
+ 0,255, 0,255,255, 0,255,255, 0,255,255, 0,255, 0,255, 0,255,
+ 255, 0,255,255, 0,255,128, 0, 0,128, 0, 0,128, 0, 0,128, 0,
+ 0,128, 0, 0,128, 0, 0,128, 0, 0,128, 0, 0,128, 0, 0,128,
+ 0, 0,128, 0, 0,128, 0, 0,128, 0, 0,128, 0, 0,128, 0, 0,
+ 255, 0,255,255, 0,255,255, 0,255, 0,255, 0,255,255, 0,255,255,
+ 0,255,255, 0,255,128, 0, 0,128, 0, 0,128, 0, 0,128, 0, 0,
+ 128, 0, 0,128, 0, 0,128, 0, 0,128, 0, 0,128, 0, 0,128, 0,
+ 0,128, 0, 0,128, 0, 0,128, 0, 0,255, 0,255,255, 0,255,255,
+ 0,255,255, 0,255, 0,255, 0,255,255, 0,255,255, 0,255,255, 0,
+ 255,255, 0,255,128, 0, 0,128, 0, 0,255, 0,255,193,192,194,219,
+ 223,223,193,192,194,219,223,223,146,119,119,255, 0,255,128, 0, 0,
+ 128, 0, 0,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,
+ 255, 0,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,
+ 255, 0,255,128, 0, 0,255, 0,255,193,192,194,193,192,194,146,119,
+ 119,193,192,194,146,119,119,255, 0,255,128, 0, 0,255, 0,255,255,
+ 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255, 0,255, 0,
+ 255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255,
+ 0,255,255, 0,255,193,192,194,219,223,223,193,192,194,219,223,223,
+ 146,119,119,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,
+ 255,255, 0,255,255, 0,255,255, 0,255, 0,255, 0,255,255, 0,255,
+ 255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,
+ 255,193,192,194,219,223,223,193,192,194,219,223,223,146,119,119,255,
+ 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,
+ 255, 0,255,255, 0,255, 0,255, 0,255,255, 0,255,255, 0,255,255,
+ 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,193,192,194,
+ 193,192,194,146,119,119,193,192,194,146,119,119,255, 0,255,255, 0,
+ 255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255,
+ 0,255, 0,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,
+ 255,255, 0,255,255, 0,255,255, 0,255,193,192,194,219,223,223,193,
+ 192,194,219,223,223,146,119,119,255, 0,255,255, 0,255,255, 0,255,
+ 255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255, 0,255,
+ 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,
+ 255, 0,255,255, 0,255,193,192,194,219,223,223,219,223,223,219,223,
+ 223,146,119,119,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255,
+ 0,255,255, 0,255,255, 0,255,255, 0,255, 0,255, 0,255,255, 0,
+ 255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255,
+ 0,255,193,192,194,193,192,194,193,192,194,193,192,194,193,192,194,
+ 255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,
+ 255,255, 0,255,255, 0,255, 0,255, 0,255,255, 0,255,255, 0,255,
+ 255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,
+ 255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255,
+ 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,255, 0,255,
+ 255, 0,255, 0);
+
diff --git a/uidesigner/images/splitter.bmp b/uidesigner/images/splitter.bmp
new file mode 100644
index 00000000..bad37743
--- /dev/null
+++ b/uidesigner/images/splitter.bmp
Binary files differ
diff --git a/uidesigner/vfdwidgets.pas b/uidesigner/vfdwidgets.pas
index ad45c113..08031eb6 100644
--- a/uidesigner/vfdwidgets.pas
+++ b/uidesigner/vfdwidgets.pas
@@ -65,6 +65,7 @@ uses
fpg_gauge,
fpg_editbtn,
fpg_ColorWheel,
+ fpg_splitter,
vfdpropeditgrid,
vfdmain;
@@ -305,6 +306,11 @@ begin
'vfd.valuebar', @stdimg_vfd_valuebar,
sizeof(stdimg_vfd_valuebar),
0, 0);
+
+ fpgImages.AddMaskedBMP(
+ 'vfd.splitter', @stdimg_vfd_splitter,
+ sizeof(stdimg_vfd_splitter),
+ 0, 0);
end;
procedure AddWidgetPosProps(wgc: TVFDWidgetClass);
@@ -881,6 +887,15 @@ begin
wc.WidgetIconName := 'vfd.valuebar';
RegisterVFDWidget(wc);
+ // Splitter - works in accordance with color wheel
+ wc := TVFDWidgetClass.Create(TfpgSplitter);
+ wc.NameBase := 'Splitter';
+ wc.AddProperty('Align', TPropertyEnum, '');
+ wc.AddProperty('ColorGrabBar', TPropertyColor, '');
+ wc.AddProperty('AutoSnap', TPropertyBoolean, '');
+ wc.WidgetIconName := 'vfd.splitter';
+ RegisterVFDWidget(wc);
+
// Other - do not delete!!! this should be the last...
wc := TVFDWidgetClass.Create(TOtherWidget);
wc.NameBase := 'Custom';