Now hosting the new Gtk RGBA module I created on Launchpad
https://launchpad.net/librgba-c++
Essentially, this module can be fine-tuned to the user's liking, using four integers instead of a boolean. By allowing for the red, green, blue, and alpha values to be fine-tuned, the user can control how transparent or opaque their desktop is. And how is this possible? C++ instead of C. How do you guys think of being able to customize RGBA? |
Cool. Any chance you can port it to C :)?
|
It does sound cool!
Can you explain a bit more about "controlling the transparency of the desktop" ? What does this mean-- ALL things on the desktop, or application windows, or.. what? Does this transparency use/require compositing? Thanks, Sasha |
Quote:
http://bazaar.launchpad.net/~mango-k...ba-c%2B%2B.cpp : Code:
1 5 Well, what can I say - your sense of humor appears to be much more black and acid than mine. |
Forgive my C novice-ness, but is that the entire program?
|
Quote:
|
It is supposed to be a library, not a program.
In any case, what else other than "return 0" can I use inside the curly braces? |
Quote:
|
I made some changes to the code that I will soon upload
Code:
#include <iostream> |
For the education of some members, listen up:
As I said before, the current RGBA module for Gtk+ only has two settings: on or off. This is because C does not support object-oriented programming (OOP), and therefore does not support variables, which are key to allowing RGBA to support values in-between. Think of comparing this RGBA module to the current one as comparing Windows 7's UAC to Vista's UAC (sorry if this may be off topic). The difference is that the latter has in-between settings, allowing you to customize it in such a way that it is less intrusive. Similarly, this RGBA module allows the user to tweak its four values (Red, Green, Blue, and Alpha) in such a way that you are not bound by a boolean. |
Quote:
|
Quote:
Nonsense. |
Quote:
First learn, then ask. |
Here is the final code:
http://bazaar.launchpad.net/~mango-k...ba-c%2B%2B.cpp Hopefully this is correct. |
Quote:
|
All times are GMT -5. The time now is 09:25 PM. |