|
Post by vovchik on Jul 23, 2018 11:57:20 GMT 1
Dear Alex,
Working! Very nice. I get this in a terminal:
End Map widgets Map widgets End Map widgets map icons check icons MapWindow End desktop1: no process found
End Upper
And I can see the old mouse cursor and the new one - there is about a 70px displacement of x and y between them...
With kind regards, vovchik
|
|
|
Post by alexfish on Jul 23, 2018 12:27:05 GMT 1
Hi Vovchik
the displacement is due to ' NglTk server uses dev/inputs ' . Hence does rely on X11 or other tool kits.
I Expand the window to Fullscreen when there is no Desktop.
I forgot to post the updated KeyMap file this needs to be in same Dir as the exec
Archives Updated in previous post
Thanks for testing + BR Alex
|
|
|
Post by alexfish on Aug 5, 2018 19:50:49 GMT 1
Hi All
Just another update on progress
RE the Editor : WebView : Terminal : Emulator
Syntax Highlighting on the Editor Now Complete , it is based on 'c' and BASIC in Minimal Form :: The main KEYWORD can be Reloaded by Read file, all brackets and math functions remain as is.
in regards to the Method , can now complete the VTE and the WebView
When VTE & WebView are Debugged then the 'Beta Testing toolkit, Ngltk(pi)' will be released.
BR Alex
|
|
|
Post by vovchik on Aug 6, 2018 18:06:48 GMT 1
Dear Alex, Thanks for the status report. I imagine it is not easy to code in the heat. with kind regards, vovchik
|
|
|
Post by alexfish on Aug 13, 2018 1:04:24 GMT 1
Dear Alex, Thanks for the status report. I imagine it is not easy to code in the heat. with kind regards, vovchik To True Yet have a another Status Report The poor mans VTE 'Terminal' is almost complete :: as in bit of debugging still to do Most of the Server bits are now in place and working as expected, and ran a test as of just now , was kind of keen to get this out of the way before some zzzzzz. in basic terms the test All bits are from the Ngltk and nothing of x11 here, including the windows. fire up the first ap 'terminal' cd to a directory sh the command as in ./my_other_App as in another terminal this gets focus and the iconify bits are working as does the dir. checked this with the ls command. stdout's shows in the first terminal click the exit for the second app click the icon for the first app to refocus and hi presto it works sh the second app again and repeat the exit then a final shut down and return to the lx desktop Success:: Phew: BR Alex
|
|
|
Post by vovchik on Aug 13, 2018 17:33:41 GMT 1
Dear Alex, I like that: Success:: Phew: With kind regards, vovchik
|
|
|
Post by alexfish on Aug 15, 2018 20:22:54 GMT 1
Hi Vovchik Thanks: all that which is not X11 to something which has to be X11 , some kind of Clipboard this on pi depends on X11/xcb can test this little gem from the terminal / ctrl/c to quit but must be running to paste the contents on a X11 App / example an editor BR Alex forgot the where to get git clone https://github.com/jtanx/libclipboard.git also visit site on how to cmake . have not test a c example. under c++ the compile flags for the API on PI are LDFLAGS -L. LDFLAGS -lpthread LDFLAGS -lclipboard LDFLAGS -lX11 -lxcb
the header is #include <libclipboard.h> Attachments:clipmsg.bz2 (19.48 KB)
|
|
|
Post by vovchik on Aug 15, 2018 20:41:14 GMT 1
Dear Alex, I know cmake, so it was an easy compile and install. I ran it, copied from an X-app and pasted into the terminal in which I had clipmsg running. I think that is the "test". If so, it works for me. With kind regards, vovchik
|
|
|
Post by alexfish on Aug 15, 2018 20:51:06 GMT 1
Hi Vovchik Not quite Run from one terminal , open another terminal and Paste the message hence the app is sending to the X11 Clipboard BR Alex
|
|
|
Post by vovchik on Aug 15, 2018 21:03:00 GMT 1
Dear Alex,
If I paste into a terminal after starting clipmsg in another terminal, I get "A Message From Ngltk(PI)". Is that what I should get?
With kind regards, vovchik
|
|
|
Post by alexfish on Aug 16, 2018 0:54:50 GMT 1
Hi Vovchik Yes , or in some cases can be no no. Thanks for testing BR Alex
|
|
|
Post by alexfish on Oct 14, 2018 19:49:28 GMT 1
Hi all
Yet another update on progress
Been having a torrid time debugging In one, found that the get screen width and height of egl shows a regression found in earlier raspberry kernels I think says he. IE: if in scan on then screen width and height shows 1920 x 1080 Now fixing
The omxplayer remains a problem. It will not clear it's configs if on any other layer than 0 Hopeful to have another demo for testing
The demo will have the browser It will also download video's and play them from a play list
This will be done on a. New thread since the libs\toolkit are near to Complete
Br Alex
PS if the post looks odd I am doing this from a mobile phone
Added :: with reference to Rikky's post the exit icon failed to work , I can replicate this with two parts
1:: IE: if in scan on then screen width and height shows 1920 x 1080 Now fixing
2:: the config of the read events relative to the mouse & keyboard and which usb ports they are connected to hence when the new demo is posted . there will be a readme.. as what to do as regards the setup.
|
|
|
Post by alexfish on Nov 11, 2018 3:39:33 GMT 1
Hi all got through most of the above and things looking good when the scanmodes are on as mentioned omxplayer has got a lot of work to do and in between sorting these bits out, had continued with textmode browser & + normal browser like one sees today have managed so far to get it working in a sort of mobile type interface , and now looking at further compositing using svg-convert , that will come later. as mentioned the Youtube interface is working well ,, at present anyway can not show an actual screen shot since all is Egl , yet do have some jpg images of the results of the HTML file composing to image these show paged results but they are very viewable . each page is 612X792 left is the headerpage of the bacon web site & the other 2 are Youtube results & tested with underscan enabled BR Alex Attachments:
|
|
|
Post by alexfish on Nov 11, 2018 3:54:28 GMT 1
and a proof of concept.. web view page of one of the youtube bits composed to a still.mp4 can view this with RPI omxplayer like so this is how it look in Ngltk without the actual window omxplayer --loop ngl.mp4 update have tested Icecast2 radio streaming :: now in progress of udating autolink in the web browser(text version) to stream radio stations via the media player / omxplayer interface BR Alex Attachments:ngl.mp4.bz2 (39.09 KB)
|
|
|
Post by alexfish on Dec 24, 2018 19:37:45 GMT 1
Hi All been a long time rolls on and yet another Demo as in the Time 'time' I deside to make the Text Browser capable of displaying the graphics hence the time = >>>>>>>>>> more time , yet for me well works the effort , i could not get magic image to do what i wanted nor cutycapt. testing php , may have to install php-cli but not sure , if get segfault then try install testing a Window & a Widget + load fonts as in Dry Run , no display. testing curl , download as 'https' or 'http', download images from browse local html file as in this demo. testing html table functions and where the images should be and the size, note table bits like TR tages are not shown in the printout since that is impliment in DrawWidget function, if images are linked with the tables or run inside of a html script then part of that text will be missing things like You might consider to provide a donation to keep BaCon free > image donate and paypal , this = the use of php , it has a script to pay by paypal and no printout of embeded svg images this can be done with rsvg-convert or gm convert testing of href & links other depends lib curl lib brcmGLESv2 & lib brcmEGL ,these should on the raspbarian at default but are not implemented gumbo parser github.com/google/gumbo-parserthe index.html is are wired to the app as is the php script place all the archives in one folder. and set the exec permissions. note that on first run images are saved , and errors will show since app is using browse local, without require checking, this is implemented in the Draw Widget, not implemented. run the app again, BR Alex Attachments:webtest.bz2 (291.95 KB)
set_dir.php.bz2 (253 B)
index.html.bz2 (10.78 KB)
|
|