Any led/knob graphics for mac? lazarus / 39-Graphics ---------------------------------------------------------------------- Michael Collier · 2015-10-27 13:11 I'm looking for graphical controls to simulate electronic devices such as led, knob. I found ueControls but they don't seem to work on Mac QuoteuE Controls is a open source set of instrumentation controls for Lazarus and Free Pascal, compilable under Windows and Linux. Does anyone know of any other 3rd party components please? ---------------------------------------------------------------------- Graeme · 2015-10-28 23:48 You mean a LED (matrix) component like this one I wrote for fpGUI recently? If you don't use fpGUI, it should be easy to port to LCL - licensing is compatible. ---------------------------------------------------------------------- Jurassic Pork · 2015-10-29 00:12 hello, for leds you can try the components TindLed and TLedNumber from the Industrial package include in the Lazarus distribution. Friendly, J.P ---------------------------------------------------------------------- Carver413 · 2015-10-29 23:37 Quote from: Graeme on October 29, 2015, 12:48:47 amYou mean a LED (matrix) component like this one I wrote for fpGUI recently? If you don't use fpGUI, it should be easy to port to LCL - licensing is compatible. Looks pretty cool, does it scroll ? ---------------------------------------------------------------------- Graeme · 2015-10-29 23:50 Quote from: Carver413 on October 30, 2015, 12:37:17 amLooks pretty cool, does it scroll ? Yes it scrolls - though this mod has not yet been pushed to the public repository. I need about another 30 minutes to clean-up some code first - this should be done over the weekend. ---------------------------------------------------------------------- Jurassic Pork · 2015-10-30 01:20 hello, with the TindLednumber component and a timer, you can scroll text but not so smooth than a led matrix component (TindLedNumber is a led segment). code to Scroll Text : Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure TForm1.Timer1Timer(Sender: TObject);var  ScrollPosition: Integer;begin  LEDNumber1.Caption := ScrollingText;  for ScrollPosition := 1 to (Length(ScrollingText) - 1) do    begin      ScrollingText[ScrollPosition] := LEDNumber1.Caption[ScrollPosition + 1];      ScrollingText[Length(ScrollingText)] := LEDNumber1.Caption[1];     end;end; click on the  attachment to see animated gif Friendly, J.P ---------------------------------------------------------------------- JuhaManninen · 2015-10-30 08:30 A LED matrix comp would be a logical addition to Industrial package, if somebody wants to make it. ---------------------------------------------------------------------- picstart · 2015-10-31 14:56 Thought I'd take a look at this component so I downloaded it from Git hub. Something I have gotten used to is the very frequent failure of Lazarus code to actually work out of the box. When installing the package using its lpk It fails to compile FGlyphs[lsOn].LoadFromResourceName(HInstance, OnBitmaps[LedKind]); Not entirely unexpected due to the dependency within dependency and the sometimes lexigraphic nature of Lazarus. IDE v1.0.12 (no ooze to other directories)  all files contained within the folder Lazarus. Windows 7 pro 64 bit There is a resouces folder with the png's and xpm files ---------------------------------------------------------------------- JuhaManninen · 2015-10-31 15:50 Quote from: picstart on October 31, 2015, 03:56:31 pmThought I'd take a look at this component so I downloaded it from Git hub. Which component? Industrial package is included in Lazarus distribution. QuoteIDE v1.0.12 (no ooze to other directories)  all files contained within the folder Lazarus. Windows 7 pro 64 bit There is a resouces folder with the png's and xpm files Lazarus 1.0.12 is very old. Could you please try something more recent. Besides, if you plan to contribute code for Lazarus then you must use the development version trunk. ---------------------------------------------------------------------- Graeme · 2015-11-01 11:34 Quote from: JuhaManninen on October 30, 2015, 09:30:08 amA LED matrix comp would be a logical addition to Industrial package, if somebody wants to make it. I thought I would mention that I'm also busy building an "Industrial" set of widgets for fpGUI Toolkit. Toggle Switch and LED Matrix is just the start. ;-) ---------------------------------------------------------------------- picstart · 2015-11-01 21:56 Thought I'd take a look at this component so I downloaded it from Git hub. Something I have gotten used to is the very frequent failure of Lazarus code to actually work out of the box. When installing the package using its lpk It fails to compile FGlyphs[lsOn].LoadFromResourceName(HInstance, OnBitmaps[LedKind]); Not entirely unexpected due to the dependency within dependency and the sometimes lexigraphic nature of Lazarus. IDE v1.4.4 (no ooze to other directories)  all files contained within the folder Lazarus. Windows 7 pro 64 bit I installed the Win 32 version since a Lazarus win64 version errors out for lack of a make.exe file. Again no surprise Lazarus failed with win32  when trying to install Component Industrialstuff via the lpk file. Lazarus v1.4.4 didn't install the component due to a dependency on the debugger module GDBMIServerDebugger class function CreateProperties: TDebuggerProperties; override;  // Creates debuggerproperties   May have to go back to Lazarus  IDE v1.0.12 for a reliable version. ---------------------------------------------------------------------- Jurassic Pork · 2015-11-01 22:37 hello, picstart has said : QuoteIDE v1.4.4 (no ooze to other directories)  all files contained within the folder Lazarus. Windows 7 pro 64 bit my config :  Lazarus IDE V1.4.4  32 bits   Windows 7 Home premium 64 bits  ---> No problem . IndustrialStuff package compiled and installed without error. in Menu Tools/Options/Debugger/Debugger Type and path ---> Gnu Debugger (gdb)  . Not gnu remote debugger (gdbserver). May be it's your problem. Friendly J.P ---------------------------------------------------------------------- wp · 2015-11-01 23:39 Quote from: picstart on November 01, 2015, 10:56:50 pmdownloaded it from Git hubGit hub? Why? The Industrial package is part of the Lazarus distribution. Open menu "Package" / "Install/uninstall packages", select "Industrial 0.1" in the right list, "Install selection", "Save and rebuild IDE". ---------------------------------------------------------------------- eny · 2015-11-01 23:49 Quote from: picstart on November 01, 2015, 10:56:50 pmSomething I have gotten used to is the very frequent failure of Lazarus code to actually work out of the box.PEBKAC ---------------------------------------------------------------------- picstart · 2015-11-02 14:37 For some reason the file lazarus which contained the earlier version   IDE v1.0.12 was not completely uninstalled as part of the install ...it may have had something to do with the earlier mingw file attributes. The symptom was projects would run and debug but the IDE could not be rebuilt either as a clean build or when installing any package since it called GDBMIServerDebugger even though the debugger was set to  GNU debugger gdb. Solution was to manually delete the folder Lazarus and do a fresh install IDE 1.4.4 fpc 2.64 is now working correctly Yeah! Thanks for the help ---------------------------------------------------------------------- Jurassic Pork · 2015-11-03 01:33 Quote from: JuhaManninen on October 30, 2015, 09:30:08 amA LED matrix comp would be a logical addition to Industrial package, if somebody wants to make it. hello, in progress TLedMatrix   LCL component from Graeme's component fpg_ledmatrix ---------------------------------------------------------------------- Jurassic Pork · 2015-11-04 00:15 hello, Scrolling text with TLedMatrix : Click on the attachment to see animated gif ---------------------------------------------------------------------- Carver413 · 2015-11-04 00:30 Doesn't look quite right, looks like the Led's are moving. ---------------------------------------------------------------------- Jurassic Pork · 2015-11-04 01:09 It's true , it's just the first try to animate, experimental work , need more time and some other brains  to find the correct code to implement this. I can post the code here if someone want to play with it. But First, ask to Graeme, if it is OK to use part of his code ---------------------------------------------------------------------- x2nie · 2015-11-04 02:29 I am interesting. (actually I have another one using a big library: GR32). I also have an old led library for delphi6, but it should in my old disk, if I found I will send that here. ---------------------------------------------------------------------- JuhaManninen · 2015-11-04 09:44 Quote from: Jurassic Pork on November 04, 2015, 02:09:56 amBut First, ask to Graeme, if it is OK to use part of his code  There is a license text included somewhere in his code. The license alone set the rules here. We have seen weird comments earlier here, for example that somebody follows the license but is doing morally wrong. Uhhh... ---------------------------------------------------------------------- Graeme · 2015-11-04 15:06 Quote from: Jurassic Pork on November 04, 2015, 02:09:56 amBut First, ask to Graeme, if it is OK to use part of his code  Thanks for asking. The fpGUI widgets are covered by the LGPL 2 with static linking exception. So you are welcome to port it to LCL as long as the license stays the same. I would appreciated a unit header comment stating where it originated from (as a nice gesture - not a license requirement). I have done this for parts of LCL I have borrowed and used in fpGUI. ---------------------------------------------------------------------- Michael Collier · 2015-12-10 10:28 Thanks for replies, could anyone suggest a free application for generating a gif file from screenshots? I like the animated led matrix further up this thread by Jurassic Pork. I tried downloading "free gif maker" from dvd videosoft but it hangs on my XP machine. Anything for XP/ubuntu would be great, thanks. ---------------------------------------------------------------------- Graeme · 2015-12-10 11:14 Quote from: Jurassic Pork on November 04, 2015, 01:15:59 amScrolling text with TLedMatrix : Click on the attachment to see animated gif Your scrolling is not quite right. In the mean time I've improved the LEDMatrix in fpGUI and added correct horizontal scrolling support. http://geldenhuys.co.uk/~graemeg/temp/ledmatrix.ogv NOTE: The LEDMatrix colour and scroll smoothness is off in the video, and was not like that in real life. I clearly need practice recording and encoding videos. ;-) ---------------------------------------------------------------------- Graeme · 2015-12-10 11:15 Quote from: Michael Collier on December 10, 2015, 11:28:38 amThanks for replies, could anyone suggest a free application for generating a gif file from screenshots? I've documented that years ago when I created the animated gifs for the Lazarus Wiki page. :-) http://wiki.freepascal.org/Creating_animated_gifs_for_wiki