Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #55881

Re: Squeak squeak (handle those mice)

From jacob navia <jacob@spamsink.net>
Newsgroups comp.lang.c
Subject Re: Squeak squeak (handle those mice)
Date 2015-01-05 11:21 +0100
Organization lccwin
Message-ID <m8doik$8ce$1@speranza.aioe.org> (permalink)
References <0bf04542-02d3-477c-b05a-b6c7999729cc@googlegroups.com> <m8cgtp$chq$1@speranza.aioe.org> <c45d6a52-7872-4504-8e42-0fea8d98e6d8@googlegroups.com>

Show all headers | View raw


Le 05/01/2015 10:04, Malcolm McLean a écrit :
> On Sunday, January 4, 2015 11:04:35 PM UTC, jacob navia wrote:
>> Hi Malcolm
>>
>> Do you have a graphics compiler that will allow Baby X users to
>> graphically edit a dialog box,putting buttons, list boxes, etc in heir
>> places and adjust their sizes?
>>
>> Then it generates a binary resource file that you can load at run time.
>>
> No, that's obviously a Baby X program to write.
>
Well, I have written one.

We could work together with that.

> The resource compiler packages images and fonts, and I'm just adding
> cursors.

That's not very difficult to do. The REAL problems starts when you want 
to design a dialog box with several buttons, group boxes, listboxes, 
tree widgets, whatever

Then you have to write:

Createwindow(10,10,200,200);

No! it is far to the left. Let's try

CreateWindow(15,10,200,200);

Still a bit to the left. Let's try

CreateWindow(20,10,200,200);

GOSH! Too far to the right!

... and so on. Nobody will use Baby X if they have to go through that at 
each modification of a dialog box...

> I'm not sure how a resource file giving widget types and names would
> work, it's easy enough to spit out a skeleton dialog C source for the
> user to fill, but when he edits it, it's going to be a lot harder to
> merge the edits.
>

Yes. You create a RESOURCE FILE (*.res). Microsoft solved that problem 
20 years ago. Let's not reinvent the wheel. You use the resource files 
of Microsoft. That way you will be able to reuse all resource files 
already in use under windows...

The resource files are done by the resource compiler, that takes a text 
file with the .DLG extension, or RC extension.

You can use mine too. If interested I can send you the source files both 
of the resource editor and the resource compiler.

All this works under windows. Unix is another domain, and probably it 
has to be completely rewritten for Unix...

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Squeak squeak (handle those mice) Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-01-03 04:04 -0800
  Re: Squeak squeak (handle those mice) Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-01-03 12:54 +0000
    Re: Squeak squeak (handle those mice) Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-01-03 06:46 -0800
  Re: Squeak squeak (handle those mice) [Off Topic] Morris Dovey <mrdovey@iedu.com> - 2015-01-03 11:11 -0600
    Re: Squeak squeak (handle those mice) [Off Topic] Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-01-03 15:29 -0800
      Re: Squeak squeak (handle those mice) [Off Topic] raltbos@xs4all.nl (Richard Bos) - 2015-01-05 12:53 +0000
    Re: Squeak squeak (handle those mice) [Off Topic] fir <profesor.fir@gmail.com> - 2015-01-04 13:21 -0800
    Re: Squeak squeak (handle those mice) [Off Topic] Richard Heathfield <invalid@see.sig.invalid> - 2015-01-04 22:50 +0000
      Re: Squeak squeak (handle those mice) [Off Topic] Morris Dovey <mrdovey@iedu.com> - 2015-01-04 21:35 -0600
      Re: Squeak squeak (handle those mice) [Off Topic] fir <profesor.fir@gmail.com> - 2015-01-05 01:14 -0800
    Re: Squeak squeak (handle those mice) [Off Topic] jacob navia <jacob@spamsink.net> - 2015-01-05 11:24 +0100
      Re: Squeak squeak (handle those mice) [Off Topic] fir <profesor.fir@gmail.com> - 2015-01-05 02:48 -0800
  Re: Squeak squeak (handle those mice) Greg Martin <greg.at.softsprocket@dot.com> - 2015-01-03 17:22 +0000
    Re: Squeak squeak (handle those mice) Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-01-03 16:01 -0800
      Re: Squeak squeak (handle those mice) Greg Martin <greg.at.softsprocket@dot.com> - 2015-01-04 15:57 +0000
        Re: Squeak squeak (handle those mice) Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-01-04 08:25 -0800
          Re: Squeak squeak (handle those mice) Greg Martin <greg.at.softsprocket@dot.com> - 2015-01-04 16:37 +0000
  Re: Squeak squeak (handle those mice) jacob navia <jacob@spamsink.net> - 2015-01-05 00:04 +0100
    Re: Squeak squeak (handle those mice) Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-01-05 01:04 -0800
      Re: Squeak squeak (handle those mice) jacob navia <jacob@spamsink.net> - 2015-01-05 11:21 +0100
        Re: Squeak squeak (handle those mice) fir <profesor.fir@gmail.com> - 2015-01-05 02:41 -0800
        Re: Squeak squeak (handle those mice) BartC <bc@freeuk.com> - 2015-01-05 11:21 +0000
          Re: Squeak squeak (handle those mice) jacob navia <jacob@spamsink.net> - 2015-01-05 14:22 +0100
          Re: Squeak squeak (handle those mice) Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-01-05 06:01 -0800
          Re: Squeak squeak (handle those mice) Ian Collins <ian-news@hotmail.com> - 2015-01-06 08:39 +1300
  Re: Squeak squeak (handle those mice) "Chris M. Thomasson" <no@spam.invalid> - 2015-01-05 13:36 -0800

csiph-web