Go to advanced search

by tito-t
Wed Nov 02, 2016 9:06 am
Forum: OpenVG
Topic: openVG: how to quickly clear an area to Background color?
Replies: 14
Views: 16428

Re: openVG: how to quickly clear an area to Background colo

is there a way to erase a region correctly (as fast as possible) ?
by tito-t
Mon Oct 31, 2016 5:39 pm
Forum: C/C++
Topic: Raspberry Pi3 + LCD keypad shield v1.0 + wiringPi
Replies: 22
Views: 8740

Re: Raspberry Pi3 + LCD keypad shield v1.0 + wiringPi

it was just meant as a friendly and constructive feedback from a user. as you did even say by yourself: "all there if you can be bothered to look - which sadly, judging by the email I get, it seems most (!) people can't ." Of course I won't tell you what you have to do, but if if you provide things ...
by tito-t
Mon Oct 31, 2016 3:29 pm
Forum: C/C++
Topic: Xlib for Jessie for GUI desktop (or a better alternative)?
Replies: 26
Views: 4251

Re: Xlib for Jessie for GUI desktop (or a better alternative

ok, thanks for your advice! :)
by tito-t
Mon Oct 31, 2016 2:19 pm
Forum: C/C++
Topic: Xlib for Jessie for GUI desktop (or a better alternative)?
Replies: 26
Views: 4251

Re: Xlib for Jessie for GUI desktop (or a better alternative

after uninstall, /usr/include/X11 is still there...
and in /lib there are 2 libxtables*.so files...
:lol:

so remove manually then ? :roll:
by tito-t
Mon Oct 31, 2016 2:11 pm
Forum: C/C++
Topic: Raspberry Pi3 + LCD keypad shield v1.0 + wiringPi
Replies: 22
Views: 8740

Re: Raspberry Pi3 + LCD keypad shield v1.0 + wiringPi

all there if you can be bothered to look - which sadly, judging by the email I get, it seems most people can't. on https://projects.drogon.net/raspberry-pi/wiringpi/lcd-library/ I have looked but there is no example code to find, just some vague or questionable codes of users posted in the discussi...
by tito-t
Mon Oct 31, 2016 1:39 pm
Forum: C/C++
Topic: Raspberry Pi3 + LCD keypad shield v1.0 + wiringPi
Replies: 22
Views: 8740

Re: Raspberry Pi3 + LCD keypad shield v1.0 + wiringPi

where on your website can this source file be read, too? IMO everyone who is searching for a lib or an example is supposed to search on a website or in a repository first, probably using Google, pls CMMIIW! additionally , on a website you can provide wiring charts (e.g., Fritzing), and one can see h...
by tito-t
Mon Oct 31, 2016 12:37 pm
Forum: C/C++
Topic: Xlib for Jessie for GUI desktop (or a better alternative)?
Replies: 26
Views: 4251

Re: Xlib for Jessie for GUI desktop (or a better alternative

any directories left then afterwards to be removed manually...? ;)
by tito-t
Mon Oct 31, 2016 12:10 pm
Forum: C/C++
Topic: Xlib for Jessie for GUI desktop (or a better alternative)?
Replies: 26
Views: 4251

Re: Xlib for Jessie for GUI desktop (or a better alternative

thank you!
do I have to do that from /home/pi/ directory or from a different other one?
by tito-t
Mon Oct 31, 2016 9:11 am
Forum: C/C++
Topic: Xlib for Jessie for GUI desktop (or a better alternative)?
Replies: 26
Views: 4251

Re: Xlib for Jessie for GUI desktop (or a better alternative

so as there finally is no need to keep Xlib on my system any more -

how can I uninstall it?
by tito-t
Sun Oct 30, 2016 9:19 pm
Forum: Beginners
Topic: Power supply for Hub?
Replies: 21
Views: 2914

Re: Power supply for Hub?

Thlorian wrote:Ahhhh so everything is done via command line (old school DOS)! .
yes, sort of "vintage-style" ;)
by tito-t
Sun Oct 30, 2016 8:51 pm
Forum: C/C++
Topic: Xlib for Jessie for GUI desktop (or a better alternative)?
Replies: 26
Views: 4251

Re: Xlib for Jessie for GUI desktop (or a better alternative

I see, not a simple task to do. I came to that openVG plus mouse idea when I read about a GUI IDE for window-frame-and-form-based programs (OP by Stiller) like one can construct it by C++ MS-Windows visual programming IDEs, just by "painting" or "drawing" a program interface (like Visual C++ or C++ ...
by tito-t
Sun Oct 30, 2016 8:20 pm
Forum: C/C++
Topic: Xlib for Jessie for GUI desktop (or a better alternative)?
Replies: 26
Views: 4251

Re: Xlib for Jessie for GUI desktop (or a better alternative

Yes but X11 knows nothing about the OpenVG window. As soon as you press a mouse button whatever X11 window happens to be underneath the cursor at that time will suddenly get focus and X will think you are interacting with that and send events to it. You could easily end up doing something unintenti...
by tito-t
Sun Oct 30, 2016 8:14 pm
Forum: C/C++
Topic: The MagPi does C :-)
Replies: 124
Views: 26366

Re: The MagPi does C :-)

another good example about what beginners would wish to know about C/C++ programming for the Pi: https://www.raspberrypi.org/forums/viewtopic.php?f=33&t=164189 As you may may observe, many Raspi newbies are already a little experienced in C/C++ for Arduino (i.e., at least with the very C/C++ basics)...
by tito-t
Sun Oct 30, 2016 7:33 pm
Forum: C/C++
Topic: Raspberry Pi3 + LCD keypad shield v1.0 + wiringPi
Replies: 22
Views: 8740

Re: Raspberry Pi3 + LCD keypad shield v1.0 + wiringPi

Gordon's tutorial on his wiringPi website: https://projects.drogon.net/raspberry-pi/wiringpi/lcd-library/ (unfortunately Gordon does not provide really functioning complete source code examples on his website) There are plenty functioning complete source code examples on my sites - and I reply to m...
by tito-t
Sun Oct 30, 2016 7:26 pm
Forum: C/C++
Topic: Xlib for Jessie for GUI desktop (or a better alternative)?
Replies: 26
Views: 4251

Re: Xlib for Jessie for GUI desktop (or a better alternative

it's actually not about a window but about the entire desktop position, i.e. the whole (1080p or 720p) HDMI sreen.
I want to use the mouse functionality with openVG.
by tito-t
Sun Oct 30, 2016 4:07 pm
Forum: C/C++
Topic: Xlib for Jessie for GUI desktop (or a better alternative)?
Replies: 26
Views: 4251

Re: Xlib for Jessie for GUI desktop (or a better alternative

thank you, that sounds promising, but could you please provide a functioning code which I could use from a proprietary C or C++ program?
For testing purpose, that program perhaps just might print a string to stdout repeatedly saying:
mouseX=..., mouseY=..., mouseBtnEvent=...
by tito-t
Sun Oct 30, 2016 3:34 pm
Forum: C/C++
Topic: Xlib for Jessie for GUI desktop (or a better alternative)?
Replies: 26
Views: 4251

Re: Xlib for Jessie for GUI desktop?

Well at a guess /dev/input/event4 doesn't exist since that error is printed only when MOUSEFILE doesn't exist. that would have been also my educated guess ;) You need to provide the proper file that corresponds to the mouse input stream and that is entirely dependant on what you've got plugged in t...
by tito-t
Sun Oct 30, 2016 3:07 pm
Forum: C/C++
Topic: Xlib for Jessie for GUI desktop (or a better alternative)?
Replies: 26
Views: 4251

Re: Xlib for Jessie for GUI desktop?

ps,
now it runs,
but immediatley terminates with the
error message:

opening device: No such file or directory


------------------
(program exited with code: 1)
by tito-t
Sun Oct 30, 2016 3:03 pm
Forum: C/C++
Topic: Xlib for Jessie for GUI desktop (or a better alternative)?
Replies: 26
Views: 4251

Re: Xlib for Jessie for GUI desktop?

no, of course I did not install Xlib,
That was exactly what my question actually was about (I simply didn't know how to perform that) :D

and what about addional libs you once mentioned?
by tito-t
Sun Oct 30, 2016 2:45 pm
Forum: C/C++
Topic: Raspberry Pi3 + LCD keypad shield v1.0 + wiringPi
Replies: 22
Views: 8740

Re: Raspberry Pi3 + LCD keypad shield v1.0 + wiringPi

I just can assume that it's originally a shield provided for Arduino (e.g., Adafruit), randomly taken from the avaiable Fritzing tools, but usually that does not matter when taking them for the PI as well provided that it's a HD44780 type (what most probably will be true).
by tito-t
Sun Oct 30, 2016 2:34 pm
Forum: C/C++
Topic: Xlib for Jessie for GUI desktop (or a better alternative)?
Replies: 26
Views: 4251

Re: Xlib for Jessie for GUI desktop?

unfortunately not for me, Compiler error: unbenannt.c:10:22: fatal error: X11/Xlib.h: Datei oder Verzeichnis nicht gefunden so my question was actually about how to install all of those Xlib things correctly ;) about gcc I can't tell you, I use the standard setup of Jessie os-release (cat /etc/os-re...
by tito-t
Sun Oct 30, 2016 1:54 pm
Forum: C/C++
Topic: Xlib for Jessie for GUI desktop (or a better alternative)?
Replies: 26
Views: 4251

Re: Xlib for Jessie for GUI desktop?

I already tried this code, but it does not compile - what and how do I have to do to install all and everything correctly? // ref.: // http://stackoverflow.com/questions/11519759/how-to-read-low-level-mouse-click-position-in-linux #include <linux/input.h> #include <fcntl.h> #include <X11/Xlib.h> #de...
by tito-t
Sun Oct 30, 2016 1:24 pm
Forum: C/C++
Topic: Raspberry Pi3 + LCD keypad shield v1.0 + wiringPi
Replies: 22
Views: 8740

Re: Raspberry Pi3 + LCD keypad shield v1.0 + wiringPi

did I miss something?
Is this what he posted not wired for the Pi?
https://thebbblogdotcom.files.wordpress ... -raspi.png
Image
by tito-t
Sun Oct 30, 2016 1:15 pm
Forum: C/C++
Topic: Raspberry Pi3 + LCD keypad shield v1.0 + wiringPi
Replies: 22
Views: 8740

Re: Raspberry Pi3 + LCD keypad shield v1.0 + wiringPi

that's really awesome... :o

But I was actually curious which code the OP had taken to make his thing work... :)
by tito-t
Sun Oct 30, 2016 1:11 pm
Forum: OpenVG
Topic: openVG: how to quickly clear an area to Background color?
Replies: 14
Views: 16428

openVG: how to quickly clear an area to Background color?

hello again, about openVG: how to quickly clear an area to Background color? (e.g., if a text line has to be erased smilar to "ClearEndOfLine", or a graph, a picture, or a shape has to be erased in an area ) Is there a quicker way other than painting a rectangle over the related area which is actual...

Go to advanced search