473,796 Members | 2,550 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Imagine: A GUI standard.

Why isn't there a Graphical User Interface standard? Think about it
for a second. You may say, well evey systems API for GUIs is differnt,
but do take into acound: every operating system requires differnt
compilations and often totally differnt compiler code. For instance
gcc on windows in not the same code as gcc on linux/unix but it
produces the same programs when you use it to compile. Yes you can
take something like:

#include <stdio.h>

int main(void) {
printf("Hello, world!\n");
return 0;
}

And compile it on Mac OS X, Windows XP, Debian Linux, freeBSD, etc.
Each time(especially on the unposix driven OS's) differnt machine code
is generated. So why can't you take:

#include <stdgio.h>

int main(void) {
stdwin s_window;

s_window = makenewwin(WIND OW_DIALOG);
win_printf(s_wi ndow, "Hello, World!");
wait(5);
closewin(s_wind ow);

return 0;
}

All of the functions above are imagineary of course but why havn't they
been created? Graphical User Interfaces have existed scince the Mid
80's (or maybe earlier correct me if I am wrong) yet there is still no
C standard about them. Yes more coding would be required on SEVERAL
systems, but it doesn't even apear as though there has been much effort
to make a standered for GUI. Porting GUI programs from linux to
windows, or back, is hell. Sure there are things that exist for
windows and linux for example GTK, but, there are differances, and this
is not "standard".
How long is it going to take before someone says "Okay, you know what,
text based user interfaces are not what most users use, wouldn't it be
nice to make it so that there is nice C standard based on GUIs?".
Well? Wouldn't it?
Nori

Jun 26 '06
24 2458
In article <ck************ *************** *****@4ax.com>,
Mark McIntyre <ma**********@s pamcop.net> wrote:
Not much call for a GUI on refrigerators,
The Korean company "LG" markets several refrigerators with
LCD displays and a GUI. In some of them, the LCD display acts as a TV.

On some refrigerators, the display allows changing settings
on the refrigerator (e.g., temperature controls.)

Some refrigerators have bar-code scanners and links to UPC databases
and keep track of when various food was added or removed from the
unit, and can be queried for the current inventory or for the
list of items that are getting old.

train track monitors and
nuclear installations.


The search for WMD in Iraq would have been so much simpler if the
installations had good GUIs ;-)
--
There are some ideas so wrong that only a very intelligent person
could believe in them. -- George Orwell
Jun 27 '06 #21
Mark McIntyre <ma**********@s pamcop.net> writes:
On 26 Jun 2006 14:25:09 -0700, in comp.lang.c ,
"no*********@gm ail.com" <no*********@gm ail.com> wrote:
Why isn't there a Graphical User Interface standard?


There are many...
80's (or maybe earlier correct me if I am wrong) yet there is still no
C standard about them.


Note that a GUI isn't a C feature, its an OS feature.


The same could be said for file I/O.

It happens, by historical accident, that the state of file I/O is such
that it can sensibly be standardized in a language (though some
systems have features that the language standard doesn't capture), but
GUIs probably cannot. It needn't have been that way; if graphics
systems had converged more than they did in real life, we might have
<stdgraph.h> in C.

--
Keith Thompson (The_Other_Keit h) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Jun 28 '06 #22
"Keith Thompson" <ks***@mib.or g> wrote in message
news:ln******** ****@nuthaus.mi b.org...
Mark McIntyre <ma**********@s pamcop.net> writes:
On 26 Jun 2006 14:25:09 -0700, in comp.lang.c ,
"no*********@gm ail.com" <no*********@gm ail.com> wrote:
Why isn't there a Graphical User Interface standard?
There are many...
80's (or maybe earlier correct me if I am wrong) yet there is still no
C standard about them.


Note that a GUI isn't a C feature, its an OS feature.


The same could be said for file I/O.

It happens, by historical accident, that the state of file I/O is such
that it can sensibly be standardized in a language (though some
systems have features that the language standard doesn't capture), but
GUIs probably cannot. It needn't have been that way; if graphics
systems had converged more than they did in real life, we might have
<stdgraph.h> in C.


Java has a GUI standard.
HTML is a sort of GUI standard.
PHIGS is a graphics standard.
GKS is a graphics standard.
ODA is a graphics standard.
CGM is a graphics standard.

All things are possible if you want to do them bad enough.

Of course, a GUI standard probably does not make a lot of sense for toaster
ICs.

I guess that an add-on GUI standard for programming would have to be a step
above, sort of like the difference between a hosted and non-hosted C
implementation.

It is also possible to standardize the interface to operating systems. That
is what ACE does:
http://www.cs.wustl.edu/~schmidt/ACE.html

Standards are nothing but agreements. "Hey, everybody... Let's do it like
this!"
--
Keith Thompson (The_Other_Keit h) ks***@mib.org
<http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*>
<http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.

Jun 28 '06 #23
In article <ck************ *************** *****@4ax.com>, Mark McIntyre
<ma**********@s pamcop.net> writes

Not much call for a GUI on refrigerators, train track monitors and
nuclear installations.


Wrong on all three counts.
At the risk of advertising see www.segger.com
that graphics library (not GUI) has been used on all three things you
mention above.

I am sure most of the other graphical library systems can say the same.

--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ ch***@phaedsys. org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Jun 28 '06 #24
In article <e7**********@n ntp.aioe.org>, Dann Corbit <dc*****@connx. com>
writes
"Keith Thompson" <ks***@mib.or g> wrote in message
news:ln******* *****@nuthaus.m ib.org...
Mark McIntyre <ma**********@s pamcop.net> writes:
On 26 Jun 2006 14:25:09 -0700, in comp.lang.c ,
"no*********@gm ail.com" <no*********@gm ail.com> wrote:

Why isn't there a Graphical User Interface standard?

There are many...

80's (or maybe earlier correct me if I am wrong) yet there is still no
C standard about them.

Note that a GUI isn't a C feature, its an OS feature.
The same could be said for file I/O.

It happens, by historical accident, that the state of file I/O is such
that it can sensibly be standardized in a language (though some
systems have features that the language standard doesn't capture), but
GUIs probably cannot. It needn't have been that way; if graphics
systems had converged more than they did in real life, we might have
<stdgraph.h> in C.


Java has a GUI standard.
HTML is a sort of GUI standard.
PHIGS is a graphics standard.
GKS is a graphics standard.
ODA is a graphics standard.
CGM is a graphics standard.

All things are possible if you want to do them bad enough.


Absolutely and that is the point.

The industry does NOT want a standard GUI. There are a lot of graphics
libraries out there and GUIs al of whom would campaign against a
standard unless it fitted their model exactly.

It the work was started by ISO all the interested parties would slow it
to a standstill until it died.
Of course, a GUI standard probably does not make a lot of sense for toaster
ICs.
I am sure at least one toaster has an LCD and graphical display.
I guess that an add-on GUI standard for programming would have to be a step
above, sort of like the difference between a hosted and non-hosted C
implementation .
Are we talking about a GUI or a graphics library? A subtle different to
my mind.

One looks like Windows/Gem/OSX/ Solaris and the other is a library to
put graphics on screen like a control panel, coffee machine etc. It one
tends to have "windows" not (Windows TM) and the other tends not to.
Standards are nothing but agreements. "Hey, everybody... Let's do it like
this!"


There are far to many companies out there with their own commercial
system to not want a standard.

--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ ch***@phaedsys. org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Jun 28 '06 #25

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
8334
by: John Bentley | last post by:
John Bentley writes at this level: If we think about our savings accounts then division never comes in (as far as I can see). We deposit and withdraw exact amounts most of the time. Occasionaly we get an interest payment. Unless the bank is cruel to its developers the interest figure will be able to be exactly represented by a computer, something like 4.1% as opposed to 4 1/3 % 125.78 * ' Initial Balance 04.1% -------
0
239
by: Anupam Jain | last post by:
Hi... Just returned from Bangalore last nite finishing off with the Microsoft Imagine Cup 2004. We were the National Finalists from North India + East India , representing 23 states and union territories of India at the India Finals of the Microsoft Imagine Cup, from IEC College Of Engineering And Technology. The West Zone was represented by VESIT, Mumbai and the South Zone by Sir M Visvesvaraya Institute of Technology, Bangalore.
43
5029
by: Steven T. Hatton | last post by:
Now that I have a better grasp of the scope and capabilities of the C++ Standard Library, I understand that products such as Qt actually provide much of the same functionality through their own libraries. I'm not sure if that's a good thing or not. AFAIK, most of Qt is compatable with the Standard Library. That is, QLT can interoperate with STL, and you can convert back and forth between std::string and Qt::QString, etc. Are there any...
1
3227
by: manish deshpande | last post by:
Hi, When i'm installing MySQL-server-standard-5.0.24a-0.rhel3.i386.rpm by the following command: rpm -i MySQL-server-standard-5.0.24a-0.rhel3.i386.rpm the following error is being shown: warning: MySQL-server-standard-5.0.24a-0.rhel3.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5 file /etc/my.cnf from install of MySQL-server-standard-5.0.24a-0.rhel3 conflicts with file from package mysql-3.23.58-1 file...
0
911
by: Thomas Holloway | last post by:
Hello fellow programmers and software enthusiasts. I am here today to ask of any people for an opportunity to work within a team for the Imagine Cup Korea 07 contest. The Imagine Cup. The name itself evokes possibilities. The world's premier student technology competition, the Imagine Cup is one way Microsoft is encouraging young people to apply their imagination, their passion, and their creativity to imagining technology innovations...
9
1504
by: Man-wai Chang | last post by:
How do/would you implement a pop-up window for user to pick a value out of a searchable list and then pass it back to the textbox? -- iTech Consulting Services Limited Expert in ePOS (Point-Of-Sales) solutions Website: http://www.itech.com.hk (IE only) Tel: (852)2325 3883 Fax: (852)2325 8288
1
1396
by: hsyq8xg | last post by:
From Google, translated to English from French: www.google.com/translate?u=http%3A%2F%2Fwww.pcinpact.com%2Factu%2Fnews%2F43165-premier-supercalculateur-GPU-France-Tesla.htm&langpair=fr%7Cen&hl=en&ie=UTF8 "A hybrid system composed of 1068 CPU octocoeurs new generation, with 48 modules GPU to make a maximum of parallel calculations." "According to our information, the 1068 processors are indeed Nehalem eight of hearts, and 48 modules...
4
1231
by: Ahmedhussain | last post by:
Hi every one, There are some questions related to Imagine Cup. But first I want to know how many people know about Imagine Cup. More Over I need to get an idea for Imagine Cup. there are some millenium goals that Microsoft have provided.. And In my group Im the only person who is thinking about it and uptill right now, Only one of my group member is interested about it. But None of us have any bright ideas in mind. SO I was thinking...
0
9531
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10237
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10018
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9055
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6795
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5446
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4120
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3735
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2928
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.