!
! Motif
!
! Copyright (c) 1987-2012, The Open Group. All rights reserved.
!
! These libraries and programs are free software; you can
! redistribute them and/or modify them under the terms of the GNU
! Lesser General Public License as published by the Free Software
! Foundation; either version 2 of the License, or (at your option)
! any later version.
!
! These libraries and programs are distributed in the hope that
! they will be useful, but WITHOUT ANY WARRANTY; without even the
! implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
! PURPOSE. See the GNU Lesser General Public License for more
! details.
!
! You should have received a copy of the GNU Lesser General Public
! License along with these librararies and programs; if not, write
! to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
! Floor, Boston, MA 02110-1301 USA
!
!
! HISTORY
!
! $XConsortium: plane.uil /main/5 1995/07/14 09:40:53 drk $
!******************************************************************************
module plane
!**********************************************************************
! anim_XXX variables must be changed to adapt the new animation
! stuff, at least the number of icons must be the right one.
!**********************************************************************
value
anim_width : exported 800 ;
anim_height : exported 150 ;
! prefered values for default initial animation frame size,
! used in motifanim.uil for the geometry of the drawingarea
anim_number : exported 2 ;
! number of image in the animation, read by motifanim.c (by a
! MrmFetchLiteral) at run time
anim_step : exported 10 ;
! number of horizontal pixels add before next icon drawing,
! read by motifanim.c (by a MrmFetchLiteral) at run time
anim_backcolor : exported color('lightblue', background);
! used in motifanim.uil for the color of the drawingarea
!**********************************************************************
! The following can be generated by a animation icon editor
! (xfedor + emacs in my case...)
!**********************************************************************
value
planecolor1 : color('lightblue', background);
planecolor2 : color('black', foreground);
planecolor3 : color('blue', foreground);
planecolor4 : color('red', foreground);
planecolor5 : color('yellow', background);
plane_ct : color_table(planecolor1=' ',
planecolor2='.',
planecolor3='X',
planecolor4='o',
planecolor5='O');
! the following icon must have the syntax
! <NAME>icon<N> and must be exported since they are read
! by motifanim.c at run time.
! here we have : NAME=plane and N=[1,2]
planeicon1 : exported icon(color_table=plane_ct,
" ... ",
" ..... ",
" XXXX .. ... XXXX ",
"XXXXXX . . .. . X . ",
"XXXXXXX oooooo . . .... X . ",
"XXXXXXXX oooooooooooo.. . X X ",
"XXXXXXXXX ooooooooooooo... .. XX X X ",
"XXXXXXXXX ooooo ooo .. XX X XXXXX .... ",
"XXXXXXXXXX o o.ooXXXXX X XXXXXXX.... X .. ",
"XXXXXXXXXXX . .oo X X XXXXXXX .... X .. ",
"XXXXXXXXXXX X ooooX XXXXXXXXXXXX.... X .. ",
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX .... X .. ",
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.... X .. ",
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX .... X .. ",
"XXOOOOOOOOOXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.... XX.. ",
"XOOOOOOOOOOXXXXXXXXXOX XX XX XX XX XX XXOXOOOXXXX .... .....",
"XOOOOOOOOXXXXXXXXXOOXXXXXXXXXXXXXXXXXXXXOOXXXXXXXX.... XX.. ",
"XXXXXXXXXXXXXXXXOOOOOOOOOOOOOOOOOOOOOOOOXXXXXXXXX .... X .. ",
"XXXXXXXXXXXXXXOOXXXXXXXXXXXXXXXXXXXXOOXXXXXXXXXXXX.... X .. ",
" XXXXXXXXXXXOOOOOOOOOOOOOOOOOOOOOOOOXXXXXXXXXXXXX .... X .. ",
" XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.... X .. ",
" XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX .... X .. ",
" XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.... X .. ",
" XXXXXXXXXXXXXXXXXXXXXXX .... X .. ",
" X..X X.X. ",
" X..X X.X. ",
" X..X X.X. ",
" X..X ...... ",
" ............ ",
" ............ ",
" ...... .... ",
" ...... ",
" .... "
) ;
planeicon2 : exported icon(color_table=plane_ct,
" ",
" ",
" ",
" ",
" ",
" ",
" ... ",
" ..... ",
" XXXX .. ... XXXX ",
" XXXXXX . . .. . X . ",
" XXXXXXX o . . .... X . ",
" XXXXXXXX ooo .. . X X ",
" XXXXXXXXX ooooo ... .. XX X X ",
" XXXXXXXXX oooooooooooo .. XX X XXXXX .... ",
" XXXXXXXXXX oooooooooooo.ooXXXXX X XXXXXXX....X .. ",
" XXXXXXXXXXX ooooooooo. .oo X X XXXXXXX ....X .. ",
" XXXXXXXXXXX X ooooX XXXXXXXXXXXX....X .. ",
" XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ....X .. ",
" XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....X .. ",
" XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ....X .. ",
" XXOOOOOOOOOXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....XX.. ",
" XOOOOOOOOOOXXXXXXXXXOX XX XX XX XX XX XXOXOOOXXXX .........",
" XOOOOOOOOXXXXXXXXXOOXXXXXXXXXXXXXXXXXXXXOOXXXXXXXX....XX.. ",
" XXXXXXXXXXXXXXXXOOOOOOOOOOOOOOOOOOOOOOOOXXXXXXXXX ....X .. ",
" XXXXXXXXXXXXXXOOXXXXXXXXXXXXXXXXXXXXOOXXXXXXXXXXXX....X .. ",
" XXXXXXXXXXXOOOOOOOOOOOOOOOOOOOOOOOOXXXXXXXXXXXXX ....X .. ",
" XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....X .. ",
" XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ....X .. ",
" XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....X .. ",
" XXXXXXXXXXXXXXXXXXXXXXX ....X .. ",
" X..X X.X. ",
" X..X X.X. ",
" X..X X.X. ",
" X..X ...... ",
" ............ ",
" ............ ",
" ...... .... ",
" ...... ",
" .... ",
" "
);
end module ;