iup-users Mailing List for IUP (Page 200)
Brought to you by:
scuri
You can subscribe to this list here.
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
(87) |
Dec
(77) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2009 |
Jan
(13) |
Feb
(11) |
Mar
(30) |
Apr
(5) |
May
(20) |
Jun
(34) |
Jul
(21) |
Aug
(30) |
Sep
(5) |
Oct
(22) |
Nov
(1) |
Dec
(69) |
2010 |
Jan
(47) |
Feb
(29) |
Mar
(29) |
Apr
(15) |
May
(10) |
Jun
(20) |
Jul
(25) |
Aug
(15) |
Sep
(20) |
Oct
(36) |
Nov
(33) |
Dec
(21) |
2011 |
Jan
(29) |
Feb
(42) |
Mar
(33) |
Apr
(38) |
May
(54) |
Jun
(27) |
Jul
(12) |
Aug
(6) |
Sep
(2) |
Oct
(7) |
Nov
(4) |
Dec
(7) |
2012 |
Jan
(11) |
Feb
(3) |
Mar
(27) |
Apr
(10) |
May
(27) |
Jun
(91) |
Jul
(38) |
Aug
(25) |
Sep
(11) |
Oct
(9) |
Nov
(37) |
Dec
(10) |
2013 |
Jan
(6) |
Feb
(14) |
Mar
(2) |
Apr
(12) |
May
(18) |
Jun
(9) |
Jul
(5) |
Aug
(1) |
Sep
(4) |
Oct
(49) |
Nov
(18) |
Dec
(50) |
2014 |
Jan
(57) |
Feb
(29) |
Mar
(6) |
Apr
(12) |
May
(12) |
Jun
(74) |
Jul
(26) |
Aug
(64) |
Sep
(23) |
Oct
(17) |
Nov
(70) |
Dec
(54) |
2015 |
Jan
(32) |
Feb
(10) |
Mar
(20) |
Apr
(8) |
May
(67) |
Jun
(59) |
Jul
(133) |
Aug
(76) |
Sep
(40) |
Oct
(19) |
Nov
(28) |
Dec
(52) |
2016 |
Jan
(49) |
Feb
(63) |
Mar
(41) |
Apr
(9) |
May
(24) |
Jun
(33) |
Jul
(44) |
Aug
(27) |
Sep
(46) |
Oct
(9) |
Nov
(26) |
Dec
(53) |
2017 |
Jan
(110) |
Feb
(23) |
Mar
(2) |
Apr
(16) |
May
(9) |
Jun
(28) |
Jul
(18) |
Aug
(23) |
Sep
(15) |
Oct
(32) |
Nov
(22) |
Dec
(48) |
2018 |
Jan
(149) |
Feb
(20) |
Mar
(49) |
Apr
(84) |
May
(21) |
Jun
(35) |
Jul
(44) |
Aug
(21) |
Sep
(38) |
Oct
(27) |
Nov
(35) |
Dec
(15) |
2019 |
Jan
(24) |
Feb
(27) |
Mar
(11) |
Apr
(13) |
May
(60) |
Jun
(73) |
Jul
(47) |
Aug
(21) |
Sep
(19) |
Oct
(4) |
Nov
(27) |
Dec
(46) |
2020 |
Jan
(47) |
Feb
(35) |
Mar
(39) |
Apr
(22) |
May
(106) |
Jun
(76) |
Jul
(102) |
Aug
(30) |
Sep
(8) |
Oct
(3) |
Nov
|
Dec
(3) |
2021 |
Jan
(25) |
Feb
(8) |
Mar
(20) |
Apr
(27) |
May
(23) |
Jun
(19) |
Jul
(18) |
Aug
(17) |
Sep
(7) |
Oct
(3) |
Nov
(10) |
Dec
(37) |
2022 |
Jan
(8) |
Feb
(46) |
Mar
(14) |
Apr
(8) |
May
(22) |
Jun
(17) |
Jul
|
Aug
|
Sep
|
Oct
(5) |
Nov
(10) |
Dec
(12) |
2023 |
Jan
(7) |
Feb
(1) |
Mar
(1) |
Apr
|
May
(10) |
Jun
(14) |
Jul
(29) |
Aug
(14) |
Sep
(8) |
Oct
(3) |
Nov
|
Dec
|
2024 |
Jan
(6) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
(6) |
Aug
(2) |
Sep
(5) |
Oct
(2) |
Nov
|
Dec
|
From: Antonio S. <sc...@te...> - 2008-11-11 11:00:51
|
Yes, its a mess. IUP 3 is not ready Best, scuri From: Bruce O. Benson [mailto:bb...@gm...] Sent: terça-feira, 11 de novembro de 2008 00:50 To: IUP discussion list. Subject: Re: [Iup-users] IUP3 won't make on Linux OK I'm missing something serious. I keep copying files over from iup and making symlinks all over the place to keep ahead of all the make errors for iup3. It's a big mess. Is this normal? On Mon, Nov 10, 2008 at 1:07 PM, Bruce O. Benson <bb...@gm...> wrote: Thanks for all the really great work. Also, the tecmake_compat.mak file was a nice improvement over the already helpful tecmake. On Mon, Nov 10, 2008 at 11:41 AM, Antonio Scuri <sc...@te...> wrote: > Sidebar: It would be sweet to have the important switches at the top > of tecmake_compact.mak: > 1 - to turn off Motif support...'cause once the GTK genie is out of > the bottle, Motif go bye-bye. Just notice that the GTK library will still be called iupgtk. 2. So I don't have to go down to line 455 > anymore, either. Yes, we tried to reduce to minimum but there are always something we miss. The next time the default configuration should work out of the box without the need to set TECTOOLS_HOME. Best, Scuri ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100 <http://moblin-contest.org/redirect.php?banner_id=100&url=/> &url=/ _______________________________________________ Iup-users mailing list Iup...@li... https://lists.sourceforge.net/lists/listinfo/iup-users -- Bruce O. Benson, mailto:bb...@gm... | http://www.tux.org Donating spare CPU to science: Folding@home Team Debian (#2019) -- Bruce O. Benson, mailto:bb...@gm... | http://www.tux.org Donating spare CPU to science: Folding@home Team Debian (#2019) |
From: Bruce O. B. <bb...@gm...> - 2008-11-11 02:50:26
|
OK I'm missing something serious. I keep copying files over from iup and making symlinks all over the place to keep ahead of all the make errors for iup3. It's a big mess. Is this normal? On Mon, Nov 10, 2008 at 1:07 PM, Bruce O. Benson <bb...@gm...> wrote: > Thanks for all the really great work. > Also, the tecmake_compat.mak file was a nice improvement over the already > helpful tecmake. > > > > On Mon, Nov 10, 2008 at 11:41 AM, Antonio Scuri <sc...@te...>wrote: > >> > Sidebar: It would be sweet to have the important switches at the top >> > of tecmake_compact.mak: >> > 1 - to turn off Motif support...'cause once the GTK genie is out of >> > the bottle, Motif go bye-bye. >> >> Just notice that the GTK library will still be called iupgtk. >> >> 2. So I don't have to go down to line 455 >> > anymore, either. >> >> Yes, we tried to reduce to minimum but there are always something we >> miss. >> The next time the default configuration should work out of the box without >> the need to set TECTOOLS_HOME. >> >> Best, >> Scuri >> >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Iup-users mailing list >> Iup...@li... >> https://lists.sourceforge.net/lists/listinfo/iup-users >> > > > > -- > Bruce O. Benson, mailto:bb...@gm... | http://www.tux.org > Donating spare CPU to science: Folding@home Team Debian (#2019) > > -- Bruce O. Benson, mailto:bb...@gm... | http://www.tux.org Donating spare CPU to science: Folding@home Team Debian (#2019) |
From: Antonio S. <sc...@te...> - 2008-11-11 01:42:44
|
> But it is not easy to calculate the code without modifiers from the > code with modifiers. > For instance, K_A is 65, but K_mA is IUPmxCODE(33) (not IUPmxCODE(65)). > There is no easy way to just subtract 512 from a IUPmxCODE to get the > original key. Yes, I forgot about that. I'm going to take a closer look on this, it should make sense in simply using the same codes with just an offset. Best, Scuri |
From: Bruce O. B. <bb...@gm...> - 2008-11-10 18:07:43
|
Thanks for all the really great work. Also, the tecmake_compat.mak file was a nice improvement over the already helpful tecmake. On Mon, Nov 10, 2008 at 11:41 AM, Antonio Scuri <sc...@te...>wrote: > > Sidebar: It would be sweet to have the important switches at the top > > of tecmake_compact.mak: > > 1 - to turn off Motif support...'cause once the GTK genie is out of > > the bottle, Motif go bye-bye. > > Just notice that the GTK library will still be called iupgtk. > > 2. So I don't have to go down to line 455 > > anymore, either. > > Yes, we tried to reduce to minimum but there are always something we > miss. > The next time the default configuration should work out of the box without > the need to set TECTOOLS_HOME. > > Best, > Scuri > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Iup-users mailing list > Iup...@li... > https://lists.sourceforge.net/lists/listinfo/iup-users > -- Bruce O. Benson, mailto:bb...@gm... | http://www.tux.org Donating spare CPU to science: Folding@home Team Debian (#2019) |
From: Bruce O. B. <bb...@gm...> - 2008-11-10 18:05:08
|
I think those pix were updated since I last looked. They are indeed comprehensive. On Mon, Nov 10, 2008 at 11:16 AM, Jeremy Cowgar <je...@co...> wrote: > Are those different GTK screen shots than the ones online in the Gallery > URL I gave? Hm, Ok, I checked it out. It seems to be a dialog containing > the controls instead of the individual Gtk controls. I do think, > however, the Gallery URL has better screen shots of Gtk than the image > from CVS. i.e It shows the Gtk controls in many different configurations. > > Jeremy > > Bruce O. Benson wrote: > > That's not what he meant. Those are the existing shots. > > In fact, the search for the GTK screenshots can elude the pursuer twice. > > > > First, the correct CVS repo (for 2.7), iup, must be checked out, not > > the one imagined (iup3). > > Then, the screenshots are found in /iup/html/en/images/*gtk* > > (not in /iup/html/en/screenshots). > > > > Sidebar: It would be sweet to have the important switches at the top > > of tecmake_compact.mak: > > 1 - to turn off Motif support...'cause once the GTK genie is out of > > the bottle, Motif go bye-bye. > > 2. So I don't have to go down to line 455 anymore, either. > > > > > > Enjoy, > > bb. > > > > On Sun, Nov 9, 2008 at 9:59 PM, Jeremy Cowgar <je...@co... > > <mailto:je...@co...>> wrote: > > > > You can look at: > > > > http://www.tecgraf.puc-rio.br/iup/ > > > > Then click on "Gallery" under the "Product" section. > > > > Jeremy > > > > Frederico Rodrigues Abraham wrote: > > > Where have you seen IUP3 GTK screenshots? > > > Can i take a look? > > > Thanks > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Iup-users mailing list > Iup...@li... > https://lists.sourceforge.net/lists/listinfo/iup-users > -- Bruce O. Benson, mailto:bb...@gm... | http://www.tux.org Donating spare CPU to science: Folding@home Team Debian (#2019) |
From: Otfried C. <otf...@ip...> - 2008-11-10 17:26:56
|
> In IUP 3, the keys were reorganized and it is simple to obtain the key > without the modifiers. See the definitions in "iupkey.h". > > /* IUP Extended Codes, range start at 128 */ > /* Modifiers use 128 interval */ > /* these definitions are specific to IUP */ > > #define isxkey(_c) ((_c) > 128) > #define IUPxCODE(_c) ((_c) + 128) /* Normal */ > #define IUPsxCODE(_c) ((_c) + 256) /* Shift */ > #define IUPcxCODE(_c) ((_c) + 384) /* Ctrl */ > #define IUPmxCODE(_c) ((_c) + 512) /* Alt */ > #define IUPyxCODE(_c) ((_c) + 640) /* Sys (Win or Apple) */ > > To obtain the key without the modifiers you just have to check for the > above intervals. This were not possible in IUP 2. But it is not easy to calculate the code without modifiers from the code with modifiers. For instance, K_A is 65, but K_mA is IUPmxCODE(33) (not IUPmxCODE(65)). There is no easy way to just subtract 512 from a IUPmxCODE to get the original key. Wouldn't it be simpler to define the code of a key with ALT to be the code of the key without modifiers, with an added offset? But you would need larger offsets then. What I'm now using is this: function UI:shortcut_cb(key) local mods = iup.GetGlobal("MODKEYSTATE") local shift = (mods:sub(1,1) == 'S') local control = (mods:sub(2,2) == 'C') local alt = (mods:sub(3,3) == 'A') local k = iupKeyCodeToName(key) -- compute key name k = k:sub(3) -- remove K_ from name if key >= 256 then -- remove modifier from key name k = k:sub(2) -- add modifiers if shift then k = "Shift+" .. k end if control then k = "Ctrl+" .. k end if alt then k = "Alt+" .. k end end print("KEY: ", key, k) -- lookup action and invoke it end This seems to work okay, but it requires the internal function iupKeyCodeToName. Otfried |
From: Antonio S. <sc...@te...> - 2008-11-10 16:42:13
|
> Sidebar: It would be sweet to have the important switches at the top > of tecmake_compact.mak: > 1 - to turn off Motif support...'cause once the GTK genie is out of > the bottle, Motif go bye-bye. Just notice that the GTK library will still be called iupgtk. 2. So I don't have to go down to line 455 > anymore, either. Yes, we tried to reduce to minimum but there are always something we miss. The next time the default configuration should work out of the box without the need to set TECTOOLS_HOME. Best, Scuri |
From: Antonio S. <sc...@te...> - 2008-11-10 16:34:44
|
Those are also on the official documentation in Guide/Samples/Results. The page in Product/Screenshots is not updated yet. Best, scuri > -----Original Message----- > From: Jeremy Cowgar [mailto:je...@co...] > Sent: segunda-feira, 10 de novembro de 2008 14:16 > To: IUP discussion list. > Subject: Re: [Iup-users] IUP3 won't make on Linux > > Are those different GTK screen shots than the ones online in the > Gallery > URL I gave? Hm, Ok, I checked it out. It seems to be a dialog > containing > the controls instead of the individual Gtk controls. I do think, > however, the Gallery URL has better screen shots of Gtk than the image > from CVS. i.e It shows the Gtk controls in many different > configurations. > > Jeremy > > Bruce O. Benson wrote: > > That's not what he meant. Those are the existing shots. > > In fact, the search for the GTK screenshots can elude the pursuer > twice. > > > > First, the correct CVS repo (for 2.7), iup, must be checked out, not > > the one imagined (iup3). > > Then, the screenshots are found in /iup/html/en/images/*gtk* > > (not in /iup/html/en/screenshots). > > > > Sidebar: It would be sweet to have the important switches at the top > > of tecmake_compact.mak: > > 1 - to turn off Motif support...'cause once the GTK genie is out of > > the bottle, Motif go bye-bye. > > 2. So I don't have to go down to line 455 anymore, either. > > > > > > Enjoy, > > bb. > > > > On Sun, Nov 9, 2008 at 9:59 PM, Jeremy Cowgar <je...@co... > > <mailto:je...@co...>> wrote: > > > > You can look at: > > > > http://www.tecgraf.puc-rio.br/iup/ > > > > Then click on "Gallery" under the "Product" section. > > > > Jeremy > > > > Frederico Rodrigues Abraham wrote: > > > Where have you seen IUP3 GTK screenshots? > > > Can i take a look? > > > Thanks > > > > > ----------------------------------------------------------------------- > -- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Iup-users mailing list > Iup...@li... > https://lists.sourceforge.net/lists/listinfo/iup-users |
From: Jeremy C. <je...@co...> - 2008-11-10 16:16:12
|
Are those different GTK screen shots than the ones online in the Gallery URL I gave? Hm, Ok, I checked it out. It seems to be a dialog containing the controls instead of the individual Gtk controls. I do think, however, the Gallery URL has better screen shots of Gtk than the image from CVS. i.e It shows the Gtk controls in many different configurations. Jeremy Bruce O. Benson wrote: > That's not what he meant. Those are the existing shots. > In fact, the search for the GTK screenshots can elude the pursuer twice. > > First, the correct CVS repo (for 2.7), iup, must be checked out, not > the one imagined (iup3). > Then, the screenshots are found in /iup/html/en/images/*gtk* > (not in /iup/html/en/screenshots). > > Sidebar: It would be sweet to have the important switches at the top > of tecmake_compact.mak: > 1 - to turn off Motif support...'cause once the GTK genie is out of > the bottle, Motif go bye-bye. > 2. So I don't have to go down to line 455 anymore, either. > > > Enjoy, > bb. > > On Sun, Nov 9, 2008 at 9:59 PM, Jeremy Cowgar <je...@co... > <mailto:je...@co...>> wrote: > > You can look at: > > http://www.tecgraf.puc-rio.br/iup/ > > Then click on "Gallery" under the "Product" section. > > Jeremy > > Frederico Rodrigues Abraham wrote: > > Where have you seen IUP3 GTK screenshots? > > Can i take a look? > > Thanks > |
From: Bruce O. B. <be...@us...> - 2008-11-10 16:08:06
|
That's not what he meant. Those are the existing shots. In fact, the search for the GTK screenshots can elude the pursuer twice. First, the correct CVS repo (for 2.7), iup, must be checked out, not the one imagined (iup3). Then, the screenshots are found in /iup/html/en/images/*gtk* (not in /iup/html/en/screenshots). Sidebar: It would be sweet to have the important switches at the top of tecmake_compact.mak: 1 - to turn off Motif support...'cause once the GTK genie is out of the bottle, Motif go bye-bye. 2. So I don't have to go down to line 455 anymore, either. Enjoy, bb. On Sun, Nov 9, 2008 at 9:59 PM, Jeremy Cowgar <je...@co...> wrote: > You can look at: > > http://www.tecgraf.puc-rio.br/iup/ > > Then click on "Gallery" under the "Product" section. > > Jeremy > > Frederico Rodrigues Abraham wrote: > > Where have you seen IUP3 GTK screenshots? > > Can i take a look? > > Thanks > > -- Fred > > > >> > >> After seeing the tantalizing GTK screenshots, I'm compelled, but not > >> able, to build IUP3 (from CVS) on Linux. > >> > >> benson@berti ~/src/iup3-cvs/iup3/src % make > >> make[1]: ../tecmake_compact.mak: No such file or directory > >> make[1]: *** No rule to make target `../tecmake_compact.mak'. Stop. > >> make: *** [iup] Error 2 > >> > >> > >> ...Even though the docs claim a light version of tecmake ships. > >> Also, there is no makefile at the top of the directory tree (which is > >> why I'm at the lower 'src' dir). > >> > >> I know these are in the regular tree, and probably work, but I > >> thought you'd want to know. > >> > >> > >> Thanks! > >> Bruce. > >> -- > >> > >> ------------------------------------------------------------------------ > >> > >> > ------------------------------------------------------------------------- > >> This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > >> Build the coolest Linux based applications with Moblin SDK & win great > prizes > >> Grand prize is a trip for two to an Open Source event anywhere in the > world > >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ > >> ------------------------------------------------------------------------ > >> > >> _______________________________________________ > >> Iup-users mailing list > >> Iup...@li... > >> https://lists.sourceforge.net/lists/listinfo/iup-users > >> > > > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Iup-users mailing list > > Iup...@li... > > https://lists.sourceforge.net/lists/listinfo/iup-users > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Iup-users mailing list > Iup...@li... > https://lists.sourceforge.net/lists/listinfo/iup-users > -- Bruce O. Benson, mailto:bb...@gm... | http://www.tux.org Donating spare CPU to science: Folding@home Team Debian (#2019) |
From: Antonio S. <sc...@te...> - 2008-11-10 12:25:58
|
> The problem is that I haven't found a good way to find out what key was > pressed in IUP. The problem is that IUP already preprocesses the key > and adds the modifier (but only one) and combines it all into a single > keycode. I would prefer a number or a string that describes the key > without any modifiers, and then I get the modifiers separately from the > global attribute MODKEYSTATE to build a string in a user-readable > format. In IUP 3, the keys were reorganized and it is simple to obtain the key without the modifiers. See the definitions in "iupkey.h". /* IUP Extended Codes, range start at 128 */ /* Modifiers use 128 interval */ /* these definitions are specific to IUP */ #define isxkey(_c) ((_c) > 128) #define IUPxCODE(_c) ((_c) + 128) /* Normal */ #define IUPsxCODE(_c) ((_c) + 256) /* Shift */ #define IUPcxCODE(_c) ((_c) + 384) /* Ctrl */ #define IUPmxCODE(_c) ((_c) + 512) /* Alt */ #define IUPyxCODE(_c) ((_c) + 640) /* Sys (Win or Apple) */ To obtain the key without the modifiers you just have to check for the above intervals. This were not possible in IUP 2. Best, Scuri |
From: Jeremy C. <je...@co...> - 2008-11-10 03:00:22
|
You can look at: http://www.tecgraf.puc-rio.br/iup/ Then click on "Gallery" under the "Product" section. Jeremy Frederico Rodrigues Abraham wrote: > Where have you seen IUP3 GTK screenshots? > Can i take a look? > Thanks > -- Fred > >> >> After seeing the tantalizing GTK screenshots, I'm compelled, but not >> able, to build IUP3 (from CVS) on Linux. >> >> benson@berti ~/src/iup3-cvs/iup3/src % make >> make[1]: ../tecmake_compact.mak: No such file or directory >> make[1]: *** No rule to make target `../tecmake_compact.mak'. Stop. >> make: *** [iup] Error 2 >> >> >> ...Even though the docs claim a light version of tecmake ships. >> Also, there is no makefile at the top of the directory tree (which is >> why I'm at the lower 'src' dir). >> >> I know these are in the regular tree, and probably work, but I >> thought you'd want to know. >> >> >> Thanks! >> Bruce. >> -- >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Iup-users mailing list >> Iup...@li... >> https://lists.sourceforge.net/lists/listinfo/iup-users >> > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > Iup-users mailing list > Iup...@li... > https://lists.sourceforge.net/lists/listinfo/iup-users > |
From: Frederico R. A. <fab...@te...> - 2008-11-10 02:56:08
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Where have you seen IUP3 GTK screenshots?<br> Can i take a look?<br> Thanks<br> -- Fred<br> <br> <blockquote cite="mid:ea1...@ma..." type="cite"><br> <div class="gmail_quote">After seeing the tantalizing GTK screenshots, I'm compelled, but not able, to build IUP3 (from CVS) on Linux.<br> <br> <span style="font-family: courier new,monospace;">benson@berti ~/src/iup3-cvs/iup3/src % make</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">make[1]: ../tecmake_compact.mak: No such file or directory</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">make[1]: *** No rule to make target `../tecmake_compact.mak'. Stop.</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">make: *** [iup] Error 2</span><br style="font-family: courier new,monospace;"> <br> <span><br> ...Even though the docs claim a light version of tecmake ships.<br> Also, there is no makefile at the top of the directory tree (which is why I'm at the lower 'src' dir).<br> <br> I know these are in the regular tree, and probably work, but I thought you'd want to know.<br> </span><br> <br> Thanks!<br> Bruce.<br> <font color="#888888">-- <br> </font></div> <br> <pre wrap=""><hr size="4" width="90%"> ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world <a class="moz-txt-link-freetext" href="http://moblin-contest.org/redirect.php?banner_id=100&url=/">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a></pre> <pre wrap=""><hr size="4" width="90%"> _______________________________________________ Iup-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Iup...@li...">Iup...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/iup-users">https://lists.sourceforge.net/lists/listinfo/iup-users</a> </pre> </blockquote> <br> </body> </html> |
From: Antonio S. <sc...@te...> - 2008-11-09 20:54:48
|
Yes, IUP 3 is not "ready to build". There are many things to do in order to build a full release, especially if you are going to build the IupLua binding. Otfried Cheong post a message to the list with a guide to building it. The makefile will build also the Motif library, if you does not have the motif-dev package installed, and want only the GTK library just ignore it. In the future only the GTK lib will be build in Linux. Regarding "tecmake_compact.mak", yes just copy from the "iup" module and it should work fine. Let me know if you have any problems. Best, scuri From: Bruce O. Benson [mailto:be...@us...] Sent: domingo, 9 de novembro de 2008 16:46 To: iup...@li... Subject: [Iup-users] IUP3 won't make on Linux After seeing the tantalizing GTK screenshots, I'm compelled, but not able, to build IUP3 (from CVS) on Linux. benson@berti ~/src/iup3-cvs/iup3/src % make make[1]: ../tecmake_compact.mak: No such file or directory make[1]: *** No rule to make target `../tecmake_compact.mak'. Stop. make: *** [iup] Error 2 ...Even though the docs claim a light version of tecmake ships. Also, there is no makefile at the top of the directory tree (which is why I'm at the lower 'src' dir). I know these are in the regular tree, and probably work, but I thought you'd want to know. Thanks! Bruce. -- |
From: Antonio S. <sc...@te...> - 2008-11-09 20:23:22
|
No. The documentation is only one. We are trying to let things as clear as possible with the "(since 3.0)" notation. Documentation is always the last to be updated, to avoid that we are updated everything in only one place, every time a new feature is implemented. Best, scuri > -----Original Message----- > From: Jeremy Cowgar [mailto:je...@co...] > Sent: sábado, 8 de novembro de 2008 22:09 > To: IUP discussion list. > Subject: [Iup-users] Docs for 2.7? > > Are there docs available that describe 2.7, not 3.0? When working with > 2.7, it's getting cumbersome to always check is this 3.0 or 2.7. I am > confused sometimes where controls are (Iup or IupControls). > > Thanks and sorry to complain because I really like Iup and know that a > lot of hard work goes into it. > > Jeremy > > > ----------------------------------------------------------------------- > -- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Iup-users mailing list > Iup...@li... > https://lists.sourceforge.net/lists/listinfo/iup-users |
From: Bruce O. B. <be...@us...> - 2008-11-09 18:46:00
|
After seeing the tantalizing GTK screenshots, I'm compelled, but not able, to build IUP3 (from CVS) on Linux. benson@berti ~/src/iup3-cvs/iup3/src % make make[1]: ../tecmake_compact.mak: No such file or directory make[1]: *** No rule to make target `../tecmake_compact.mak'. Stop. make: *** [iup] Error 2 ...Even though the docs claim a light version of tecmake ships. Also, there is no makefile at the top of the directory tree (which is why I'm at the lower 'src' dir). I know these are in the regular tree, and probably work, but I thought you'd want to know. Thanks! Bruce. -- |
From: Bruce O. B. <be...@us...> - 2008-11-09 01:16:59
|
After seeing the tantalizing GTK screenshots, I'm not able to build IUP3 (from CVS) on Linux. benson@berti ~/src/iup3-cvs/iup3/src % make make[1]: ../tecmake_compact.mak: No such file or directory make[1]: *** No rule to make target `../tecmake_compact.mak'. Stop. make: *** [iup] Error 2 ...Even though the docs claim a light version of tecmake ships. Also, there is no makefile at the top of the directory tree. Thanks! Bruce. -- Bruce O. Benson, mailto:bb...@gm... | http://www.tux.org Donating spare CPU to science: Folding@home Team Debian (#2019) |
From: Jeremy C. <je...@co...> - 2008-11-09 00:09:22
|
Are there docs available that describe 2.7, not 3.0? When working with 2.7, it's getting cumbersome to always check is this 3.0 or 2.7. I am confused sometimes where controls are (Iup or IupControls). Thanks and sorry to complain because I really like Iup and know that a lot of hard work goes into it. Jeremy |
From: Antonio S. <sc...@te...> - 2008-11-07 15:41:53
|
Request noted. As soon I have some time I'll take a look on this. iupKeyCodeToName is not part of the external API, but it is part of the "official" internal API, or the Internal SDK as documented. Best, scuri > -----Original Message----- > From: Otfried Cheong [mailto:otf...@ip...] > Sent: sexta-feira, 7 de novembro de 2008 13:07 > To: IUP discussion list. > Subject: Re: [Iup-users] IUP3: Formatting in IupText > > Otfried Cheong wrote: > > I see that there is a function iupKeyCodeToName in iup_key.c, but it > is > > not officially exposed. Also, I would need to apply the function to > the > > keycode without the modifiers, which I do not get in the callback. > > I've now played a bit with iupKeyCodeToName, and it seems that it > already does everything I need (I can simply strip off the modifier > which it contains and add my own modifier string). > > So my request for IUP3 would be simply to make iupKeyCodeToName part of > the official and supported API. > > Thanks again, > Otfried > > > > ----------------------------------------------------------------------- > -- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Iup-users mailing list > Iup...@li... > https://lists.sourceforge.net/lists/listinfo/iup-users |
From: Otfried C. <otf...@ip...> - 2008-11-07 15:07:16
|
Otfried Cheong wrote: > I see that there is a function iupKeyCodeToName in iup_key.c, but it is > not officially exposed. Also, I would need to apply the function to the > keycode without the modifiers, which I do not get in the callback. I've now played a bit with iupKeyCodeToName, and it seems that it already does everything I need (I can simply strip off the modifier which it contains and add my own modifier string). So my request for IUP3 would be simply to make iupKeyCodeToName part of the official and supported API. Thanks again, Otfried |
From: Otfried C. <otf...@ip...> - 2008-11-07 13:57:00
|
Antonio Scuri wrote: > Yes, in the folder "iup3/test" the file "text.c" has a few formatting > tests. Thank you, that clarifies a lot. I have another question, or perhaps it is a request: My application has a lot of different actions, some of which are on menus. I want to leave the choice of keyboard shortcuts entirely to the user. The idea is that the user can edit a small Lua file like this: shortcuts = { open = "Ctrl+O", quit = "Ctrl+Q", save = "Ctrl+S", save_as = "Ctrl+A" zoom_out = "Ctrl+Next", new_layer = "Ctrl+Shift+N", -- and so on } In my program, I have a global 'k_any' callback for the entire dialog, which looks up the key in the table and calls the corresponding action. The problem is that I haven't found a good way to find out what key was pressed in IUP. The problem is that IUP already preprocesses the key and adds the modifier (but only one) and combines it all into a single keycode. I would prefer a number or a string that describes the key without any modifiers, and then I get the modifiers separately from the global attribute MODKEYSTATE to build a string in a user-readable format. In IUP2, I solved the problem by simply modifying my copy of IUP to store the last keypress in a global variable. Under Motif, this is very easy: in iupmotKeyGetCode, I just call "XKeySymToString" and store the result in the global variable. (The code for Windows is more complicated.) Is there already a better way to do this? If not, would it be possible to make this available in IUP3, for instance as a global attribute that stores the last keypress, or by adding a second argument to the K_ANY callback that contains the key _without_ the modifiers? I see that there is a function iupKeyCodeToName in iup_key.c, but it is not officially exposed. Also, I would need to apply the function to the keycode without the modifiers, which I do not get in the callback. Would it be possible to apply this function to the keycode without modifiers during a key event and to store the resulting name in a global attribute? Thanks, Otfried |
From: Antonio S. <sc...@te...> - 2008-11-07 12:33:43
|
Yes, in the folder "iup3/test" the file "text.c" has a few formatting tests. Best, scuri > -----Original Message----- > From: Otfried Cheong [mailto:otf...@ip...] > Sent: sexta-feira, 7 de novembro de 2008 05:09 > To: IUP discussion list > Subject: [Iup-users] IUP3: Formatting in IupText > > Having spent about a day playing with IUP3, I'm very happy with it. > Everything I need already seems to work. The GTK driver looks so good, > and Unicode works well under Linux now. > > I haven't been able to figure out how to use the new text formatting > feature in IpeText. The documentation says that if FORMATTING=YES, > then > the text can be formatted - but I don't understand the documentation at > > http://www.tecgraf.puc-rio.br/iup/en/attrib/iup_formatting.html > > on how one can actually set the formatting. Do you have a small > example > that shows how to set a formatted text as the value of a IupText? > > Thanks, > Otfried > > > ----------------------------------------------------------------------- > -- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Iup-users mailing list > Iup...@li... > https://lists.sourceforge.net/lists/listinfo/iup-users |
From: Otfried C. <otf...@ip...> - 2008-11-07 07:09:18
|
Having spent about a day playing with IUP3, I'm very happy with it. Everything I need already seems to work. The GTK driver looks so good, and Unicode works well under Linux now. I haven't been able to figure out how to use the new text formatting feature in IpeText. The documentation says that if FORMATTING=YES, then the text can be formatted - but I don't understand the documentation at http://www.tecgraf.puc-rio.br/iup/en/attrib/iup_formatting.html on how one can actually set the formatting. Do you have a small example that shows how to set a formatted text as the value of a IupText? Thanks, Otfried |
From: Antonio S. <sc...@te...> - 2008-11-06 11:15:34
|
Our whishes are all for still in November. But there are many things to do. We spent some time releasing IUP 2.7, along with CD and IM new versions. But they were important and complementary to releasing IUP 3. Best Regards, Antonio Scuri > -----Original Message----- > From: Jeremy Cowgar [mailto:je...@co...] > Sent: quinta-feira, 6 de novembro de 2008 02:50 > To: IUP discussion list. > Subject: Re: [Iup-users] IUP 3.0 News > > Speaking of, any ETA? > > Jeremy > > Quoting Otfried Cheong <otf...@ip...>: > > Antonio Scuri wrote: > > > Still a long way to go, but a few more steps close to the end. > > > > > > IupTabs and menus (IupMenu, IupSubmenu and IupItem) are ready. > And finally > > > completely dynamic. A few new resources like images in > tabs/submenus, radio > > > and automatic toggle for menu items. BTW, IupTabs now is a native > control in > > > Windows, GTK and Motif. > > ----------------------------------------------------------------------- > -- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Iup-users mailing list > Iup...@li... > https://lists.sourceforge.net/lists/listinfo/iup-users |
From: Antonio S. <sc...@te...> - 2008-11-06 11:09:18
|
Hi, Thanks for the report. It will be useful. Best Regards, Antonio Scuri > -----Original Message----- > From: Otfried Cheong [mailto:otf...@ip...] > Sent: quinta-feira, 6 de novembro de 2008 01:58 > To: iup...@li... > Subject: Re: [Iup-users] IUP 3.0 News > > Antonio Scuri wrote: > > Still a long way to go, but a few more steps close to the end. > > > > IupTabs and menus (IupMenu, IupSubmenu and IupItem) are ready. And > finally > > completely dynamic. A few new resources like images in tabs/submenus, > radio > > and automatic toggle for menu items. BTW, IupTabs now is a native > control in > > Windows, GTK and Motif. > > Yesterday I finally had some time to try out IUP 3.0, and it looks > already very good. It's great to see that you took the time to clean > up > the code and the naming scheme, and that the manual now carefully > documents which features are only available starting from 3.0. > > I only need the core library (libiup) for my project, and this part > already looks good enough that I will try to work with it in my project > (unfortunately, no time for that right now...). I did have a few > problems compiling under Windows, and compiling the Lua bindings. I > will list how I solved them below, in case it helps others to try out > 3.0. > > I'm really looking forward to the final version :-) > > Otfried > > ------------------ compiling IUP under Windows -------------------- > > I used cygwin with -mno-cygwin, which may be the reason it didn't work > out of the box for me: > > The code uses ODS_HOTLIGHT, but this wasn't defined in my headers. I > had to add: > #define ODS_HOTLIGHT 64 > > In config.mak, the definition "_WIN32_WINNT=0x0500" needs to be changed > to 0x0501 (the code uses features that in my header files are only > enabled if _WIN32_WINNT>=0x0500). > > My mingw header "richtext.h" didn't define some constants used in the > code. I found a better version of "richtext.h" on the internet. > > Finally, in "iupwin_progressbar.c" and "iupwin_val.c", I had to add > #define SHRT_MAX 32767 > > ------------------- compiling LUA bindings ------------------------- > > scrlua5 is not in the iup3 module, and has to be checked out from the > iup module. I just copied the directory into my iup3 tree. In > addition, one needs include/iuplua.h from the iup module. > > (I guess the reason it's not in the iup3 module is that you want to > keep > a single source for srclua5 that will work with IUP 2 and IUP 3?) > > Compilation uses "bin2c", which is not part of the Lua distribution > anymore. I used bin2c.lua. > > In "iuplua.c", IUP_IDLE_ACTION needs to be "IDLE_ACTION" (twice) > > In "scanf.c", change included filenames: > #include "istrutil.h" > #include "ipredial.h" > --> > #include "iup_str.h" > #include "iup_predial.h" > > In iuplua_api.c: > add at the beginning: > #include "iupkey.h" > extern int IupReparent(Ihandle* child, Ihandle* parent); > (IupReparent is not yet in any header) > > change all "iupIsPointer" to "iupAttribIsPointer" > change all "iupIsInternal" to "iupAttribIsInternal" > change once: xCode --> IUPxCode > > This is all, the bindings compile now. > > However, the 'tabs' and 'val' widgets will not be included, as they > were > in the control library in IUP 2. This can be fixed like this: > - add the Lua files "tabs.lua" and "val.lua" in config.mak, > - copy the "iuptabslua_open" and "iupval_open" declarations from > "il_controls.h" to "il.h" > - add calls to the two open functions in iuplua.c > > It's still not quite perfect, as there are several new functions (like > IupListConvertXYToItem that are new in IUP3 and that are simply not yet > bound). > > ----------------------------------------------------------------------- > -------- > > > > ----------------------------------------------------------------------- > -- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Iup-users mailing list > Iup...@li... > https://lists.sourceforge.net/lists/listinfo/iup-users |