AF 1.5pre3: compilation

tildouf (tildouf@club-internet.fr)
Wed, 01 Jul 1998 12:39:25 +0000



--------------A6C67829BCDD973920ED8910
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

I have some problems about installation and use of AF 1.5pre3:

I compile with NO_ICON_BACKGROUND (more nice)

In ../src/afterstep:
--------------

1°) In Makefile (i'm not sure):
     I have to remove the two #ifdef NO_ICON_BACKGROUND (in SRCS and
OBS),
     otherwise i obtain an error, and i can't compile.

2°) I have to modify two files:

    a- borders.c

      line 249:

       #ifdef NO_ICON_BACKGROUND
                   else if ((t->flags & ICONIFIED) (!(t->flags &
SUPPRESSICON)))
                      w = t->icon_w;
       #endif

       I can't compile because i obtain error, so i modify the line such
as:

       #ifdef NO_ICON_BACKGROUND
                   else if ((t->flags & ICONIFIED)  != (t->flags &
SUPPRESSICON))
                      w = t->icon_w;             /* -^^^ - */  i replace
"(!" with   "!=" and i suppress ")"
       #endif

       and it work,    BUT IS IT CORRECT ?


      b- icons.c

         line 292:

         }                 (before line 294: /* resize the icon name
window */

         I can't compile because i obtain error (parse error before
...). So i remove it, and

         it work,        BUT IS IT CORRECT ?

  3°) I'm unable to change the color of FOREGROUND and BACKGROUND of the
icons
       For example, i iconify a program (such as
xiterm).                            OOOO
       I obtain an icon (pixmap) named "xiterm" (under the
icon).               O     O   -> pixmap

OOOO
       HOW can i change the color of the text,
                                                 and the background of
the text ?           [xiterm] -> text

   4°) The mini-pixmap give a very good look for then menus items, but:
        for the folders, they are drawed very near of the border (and
sometimes
        they are drawed out of menu items (for the last part of the
pixmap)

         I use pixmap 15x15.

         Can i change that (without redraw with gimp, and cut the right
part of the pixmap) ?

    5°) My update start menu doesn't work fine:

         I have to erase my ~/GNUstep/Library/Af... /tmp/startmenu.
         I run "update startmenu" ... I obtain startmenu of
/usr/share/afterstep
         I run again startmenu and i obtain a new startmenu file in ...
~/GNUstep/Library/Af .../tmp

         Is it the right way ?


     6°) With xiterm and -pixmap:

           I wasn't able to get a pixmap wich will no be redraw (on a
bad way) when
           i resize the xiterm window.

           But i find a new solution: choose a 64x64 pixmap, and when
you resize the
           xiterm window, the background (pixmap you choose) resize
fine.


     7°) I lose my glasses at home, and i doesn't now where i can .....
OOUPS ... sorry ...


     Thanks for the AfterStep's TEAM, for their work, and for a so
pretty and good

Window Manager !


     Tildouf

      A+


--------------A6C67829BCDD973920ED8910
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<HTML>
I have some problems about installation and use of AF 1.5pre3:

<P>I compile with NO_ICON_BACKGROUND (more nice)

<P>In ../src/afterstep:
<BR>--------------

<P>1°) In Makefile (i'm not sure):
<BR>     I have to remove the two #ifdef NO_ICON_BACKGROUND
(in SRCS and OBS),
<BR>     otherwise i obtain an error, and i can't compile.

<P>2°) I have to modify two files:
<BR> 
<BR>    a- <U>borders.c</U>
<BR> 
<BR>      line 249:

<P>       #ifdef NO_ICON_BACKGROUND
<BR>                  
else if ((t->flags & ICONIFIED) (!(t->flags & SUPPRESSICON)))
<BR>                     
w = t->icon_w;
<BR>       #endif

<P>       I can't compile because i obtain
error, so i modify the line such as:

<P>       #ifdef NO_ICON_BACKGROUND
<BR>                  
else if ((t->flags & ICONIFIED)  != (t->flags & SUPPRESSICON))
<BR>                     
w = t->icon_w;            
/* -^^^ - */  i replace "(!" with   "!=" and i suppress
")"
<BR>       #endif

<P>       and it work,   
BUT IS IT CORRECT ?
<BR> 

<P>      b-<U> icons.c</U>

<P>         line 292:

<P>         }                
(before line 294: /* resize the icon name window */
<BR> 
<BR>         I can't compile because
i obtain error (parse error before ...). So i remove it, and

<P>         it work,       
BUT IS IT CORRECT ?
<BR> 
<BR>  3°) I'm unable to change the color of FOREGROUND and BACKGROUND
of the icons
<BR>       For example, i iconify a program
(such as xiterm).                           
OOOO
<BR>       I obtain an icon (pixmap) named
"xiterm" (under the icon).              
O     O   -> pixmap
<BR>                                                                                                            
OOOO
<BR>       HOW can i change the color of
the text,
<BR>                                                
and the background of the text ?          
[xiterm] -> text

<P>   4°) The mini-pixmap give a very good look for then
menus items, but:
<BR>        for the folders, they are
drawed very near of the border (and sometimes
<BR>        they are drawed out of menu
items (for the last part of the pixmap)

<P>         I use pixmap 15x15.

<P>         Can i change that (without
redraw with gimp, and cut the right part of the pixmap) ?

<P>    5°) My update start menu doesn't work fine:
<BR> 
<BR>         I have to erase my
~/GNUstep/Library/Af... /tmp/startmenu.
<BR>         I run "update startmenu"
... I obtain startmenu of /usr/share/afterstep
<BR>         I run again startmenu
and i obtain a new startmenu file in ... ~/GNUstep/Library/Af .../tmp

<P>         Is it the right way
?
<BR> 

<P>     6°) With xiterm and -pixmap:

<P>           I wasn't
able to get a pixmap wich will no be redraw (on a bad way) when
<BR>           i resize
the xiterm window.

<P>           But i find
a new solution: choose a 64x64 pixmap, and when you resize the
<BR>           xiterm
window, the background (pixmap you choose) resize fine.
<BR> 

<P>     7°) I lose my glasses at home, and i doesn't
now where i can ..... OOUPS ... sorry ...
<BR> 

<P>     Thanks for the AfterStep's TEAM, for their
work, and for a so pretty and good
<BR>                                                                                                     
Window Manager !
<BR> 

<P>     Tildouf

<P>      A+
<BR> </HTML>

--------------A6C67829BCDD973920ED8910--


--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://wormhole.eosys.com/mailing-lists/AfterStep-Dev-Info.html
   FAQ:   http://www.cs.purdue.edu/homes/zamboni/afterstep/FAQ.html

   To unsubscribe: echo unsubscribe | mail afterstep-dev-request@eosys.com