wmcube-1.0.2/0000755000076500007650000000000012664675661007751 5ustar wmcube-1.0.2/3D-objects/0000755000000000000000000000000012664675621013406 5ustar rootrootwmcube-1.0.2/3D-objects/spiral.wmc0000644000000000000000000000101007170155526015371 0ustar rootrootWMCUBE_COORDINATES 1 80 0 0 2 0 -90 25 3 -100 0 50 4 0 110 75 5 120 0 100 6 0 -130 125 7 -140 0 150 8 0 150 175 9 160 0 200 10 0 70 -25 11 -60 0 -50 12 0 -50 -75 13 40 0 -100 14 0 30 -125 15 -20 0 -150 16 0 -10 -175 17 0 0 -200 18 0 -160 200 19 -160 0 200 20 0 160 200 WMCUBE_LINES 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 1 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 9 17 18 17 19 17 20 9 18 18 19 19 20 20 9 wmcube-1.0.2/3D-objects/foo.wmc0000644000000000000000000000303207170155526014670 0ustar rootrootWMCUBE_COORDINATES 1 -190 110 50 2 -190 -90 50 3 -160 -90 50 4 -160 20 50 5 -90 20 50 6 -90 50 50 7 -160 50 50 8 -160 80 50 9 -90 80 50 10 -90 110 50 11 -190 110 0 12 -190 -90 0 13 -160 -90 0 14 -160 20 0 15 -90 20 0 16 -90 50 0 17 -160 50 0 18 -160 80 0 19 -90 80 0 20 -90 110 0 21 -50 110 50 22 60 110 50 23 60 -90 50 24 -50 -90 50 25 -20 -50 50 26 40 -50 50 27 40 70 50 28 -20 70 50 29 -50 110 0 30 60 110 0 31 60 -90 0 32 -50 -90 0 33 -20 -50 0 34 20 -50 0 35 20 70 0 36 -20 70 0 37 110 110 50 38 210 110 50 39 210 -90 50 40 110 -90 50 41 130 -50 50 42 190 -50 50 43 190 70 50 44 130 70 50 45 110 110 0 46 210 110 0 47 210 -90 0 48 110 -90 0 49 130 -50 0 50 190 -50 0 51 190 70 0 52 130 70 0 WMCUBE_LINES 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 1 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 11 1 11 2 12 3 13 4 14 5 15 6 16 7 17 8 18 9 19 10 20 21 22 22 23 23 24 24 21 25 26 26 27 27 28 28 25 29 30 30 31 31 32 32 29 33 34 34 35 35 36 36 33 21 29 22 30 23 31 24 32 25 33 26 34 27 35 28 36 37 38 38 39 39 40 40 37 41 42 42 43 43 44 44 41 45 46 46 47 47 48 48 45 49 50 50 51 51 52 52 49 37 45 38 46 39 47 40 48 41 49 42 50 43 51 44 52 wmcube-1.0.2/3D-objects/slackware1.wmc0000644000000000000000000000203012432625631016133 0ustar rootrootWMCUBE_COORDINATES 1 -14 -11 0 2 -6 -11 0 3 -5 -10 0 4 -5 -8 0 5 -7 -7 0 6 -9 -5 0 7 -10 -3 0 8 -11 0 0 9 -11 5 0 10 -10 9 0 11 -8 10 0 12 -7 11 0 13 -5 10 0 14 -3 8 0 15 -2 5 0 16 -2 -3 0 17 -1 -6 0 18 0 -8 0 19 2 -10 0 20 5 -11 0 21 8 -11 0 22 10 -10 0 23 12 -8 0 24 14 -5 0 25 15 -1 0 26 15 4 0 27 14 8 0 28 14 9 0 29 15 11 0 30 15 12 0 31 13 14 0 32 6 14 0 33 5 13 0 34 5 11 0 35 8 8 0 36 10 5 0 37 11 2 0 38 11 -2 0 39 10 -4 0 40 8 -6 0 41 5 -6 0 42 4 -5 0 43 3 -3 0 44 3 0 0 45 2 8 0 46 1 12 0 47 -2 15 0 48 -6 16 0 49 -10 15 0 50 -13 13 0 51 -15 8 0 52 -15 0 0 53 -14 -6 0 54 -15 -8 0 55 -15 -10 0 56 -21 -16 0 57 -13 -16 0 58 -13 -14 0 59 -19 -14 0 60 -19 20 0 61 -21 20 0 WMCUBE_LINES 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23 24 24 25 25 26 26 27 27 28 28 29 29 30 30 31 31 32 32 33 33 34 34 35 35 36 36 37 37 38 38 39 39 40 40 41 41 42 42 43 43 44 44 45 45 46 46 47 47 48 48 49 49 50 50 51 51 52 52 53 53 54 54 55 55 1 56 57 57 58 58 59 59 60 60 61 61 56 wmcube-1.0.2/3D-objects/2planes-solid.wmc0000644000000000000000000000034207174552304016561 0ustar rootrootWMCUBE_COORDINATES 1 -180 -180 180 2 180 -180 180 3 180 180 80 4 -180 180 80 5 -180 -180 -180 6 180 -180 -180 7 180 180 -80 8 -180 180 -80 WMCUBE_PLANES 1 2 3 1 3 4 2 1 4 2 4 3 5 6 7 5 7 8 6 5 7 7 5 8 wmcube-1.0.2/3D-objects/wmlogo.wmc0000644000000000000000000000126707170635647015430 0ustar rootrootWMCUBE_COORDINATES 1 30 -30 10 2 -30 -30 10 3 -30 20 10 4 -10 20 10 5 -10 0 10 6 10 0 10 7 10 -20 10 8 30 -20 10 9 30 -30 -10 10 -30 -30 -10 11 -30 20 -10 12 -10 20 -10 13 -10 0 -10 14 10 0 -10 15 10 -20 -10 16 30 -20 -10 17 30 0 0 18 26 -15 0 19 15 -26 0 20 0 -30 0 21 -15 -26 0 22 -26 -15 0 23 -30 0 0 24 -26 15 0 25 -15 26 0 26 0 30 0 27 15 26 0 28 26 15 0 WMCUBE_LINES 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 1 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 9 17 18 18 19 19 20 20 21 21 22 22 23 23 24 24 25 25 26 26 27 27 28 28 17 wmcube-1.0.2/3D-objects/e2.wmc0000644000000000000000000000261707170155526014423 0ustar rootrootWMCUBE_COORDINATES 1 -60 -120 30 2 80 -120 30 3 80 -60 30 4 0 -60 30 5 0 -20 30 6 40 -20 30 7 40 20 30 8 0 20 30 9 0 60 30 10 80 60 30 11 80 120 30 12 -60 120 30 13 -60 -120 -30 14 80 -120 -30 15 80 -60 -30 16 0 -60 -30 17 0 -20 -30 18 40 -20 -30 19 40 20 -30 20 0 20 -30 21 0 60 -30 22 80 60 -30 23 80 120 -30 24 -60 120 -30 25 -60 -10 0 26 -60 -40 0 27 -80 -10 0 28 -80 -40 0 29 -80 -10 -15 30 -80 -40 -15 31 -80 -20 -20 32 -80 -30 -20 33 -80 -20 -30 34 -80 -30 -30 35 -60 -60 0 36 -60 -90 0 37 -80 -60 0 38 -80 -90 0 39 -80 -60 -15 40 -80 -90 -15 41 -80 -70 -20 42 -80 -80 -20 43 -80 -70 -30 44 -80 -80 -30 45 -60 10 0 46 -60 40 0 47 -80 10 0 48 -80 40 0 49 -80 10 -15 50 -80 40 -15 51 -80 20 -20 52 -80 30 -20 53 -80 20 -30 54 -80 30 -30 55 -60 60 0 56 -60 90 0 57 -80 60 0 58 -80 90 0 59 -80 60 -15 60 -80 90 -15 61 -80 70 -20 62 -80 80 -20 63 -80 70 -30 64 -80 80 -30 WMCUBE_LINES 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 1 12 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23 24 13 24 1 13 2 14 3 15 4 16 5 17 6 18 7 19 8 20 9 21 10 22 11 23 12 24 25 26 27 28 25 27 26 28 27 29 28 30 29 31 30 32 31 33 32 34 33 34 35 36 37 38 35 37 36 38 37 39 38 40 39 41 40 42 41 43 42 44 43 44 45 46 47 48 45 47 46 48 47 49 48 50 49 51 50 52 51 53 52 54 53 54 55 56 57 58 55 57 56 58 57 59 58 60 59 61 60 62 61 63 62 64 63 64 wmcube-1.0.2/3D-objects/cube-solid.wmc0000644000000000000000000000037707174551532016145 0ustar rootrootWMCUBE_COORDINATES 1 -180 -180 180 2 180 -180 180 3 180 180 180 4 -180 180 180 5 -180 -180 -180 6 180 -180 -180 7 180 180 -180 8 -180 180 -180 WMCUBE_PLANES 1 2 3 1 3 4 2 6 7 2 7 3 5 1 4 5 4 8 5 2 1 5 6 2 4 3 8 3 7 8 6 5 8 6 8 7 wmcube-1.0.2/3D-objects/shield.wmc0000644000000000000000000000557307170155526015371 0ustar rootrootWMCUBE_COORDINATES 1 -76 112 -10 2 76 112 -10 3 -10 99 -10 4 10 99 -10 5 10 75 -10 6 33 75 -10 7 33 55 -10 8 10 55 -10 9 -10 55 -10 10 -33 55 -10 11 -33 75 -10 12 -10 75 -10 13 -55 20 -10 14 -10 20 -10 15 10 20 -10 16 55 20 -10 17 55 0 -10 18 10 0 -10 19 -10 0 -10 20 -55 0 -10 21 -76 0 -10 22 -72 -29 -10 23 -59 -56 -10 24 -34 -79 -10 25 0 -89 -10 26 35 -79 -10 27 59 -56 -10 28 72 -27 -10 29 76 0 -10 30 -53 -48 -10 31 -45 -42 -10 32 -36 -40 -10 33 -26 -42 -10 34 -19 -35 -10 35 -10 -32 -10 36 0 -30 -10 37 10 -32 -10 38 19 -35 -10 39 26 -42 -10 40 36 -40 -10 41 45 -42 -10 42 53 -48 -10 43 -76 112 20 44 76 112 20 45 -10 99 20 46 10 99 20 47 10 75 20 48 33 75 20 49 33 55 20 50 10 55 20 51 -10 55 20 52 -33 55 20 53 -33 75 20 54 10 75 20 55 -55 20 20 56 -10 20 20 57 10 20 20 58 55 20 20 59 55 0 20 60 10 0 20 61 -10 0 20 62 -55 0 20 63 -76 0 20 64 -72 -29 20 65 -59 -56 20 66 -34 -79 20 67 0 -89 20 68 35 -79 20 69 59 -56 20 70 72 -27 20 71 76 0 20 72 -53 -48 20 73 -45 -42 20 74 -36 -40 20 75 -26 -42 20 76 -19 -35 20 77 -10 -32 20 78 0 -30 20 79 10 -32 20 80 19 -35 20 81 26 -42 20 82 36 -40 20 83 45 -42 20 84 53 -48 20 WMCUBE_LINES 1 2 2 29 29 28 28 27 27 26 26 25 25 24 24 23 23 22 22 21 21 1 3 4 4 5 5 6 6 7 7 8 8 15 15 16 16 17 17 18 18 37 35 19 19 20 20 13 13 14 14 9 9 10 10 11 11 12 12 3 23 30 30 31 31 32 32 33 33 34 34 35 35 36 36 37 37 38 38 39 39 40 40 41 41 42 42 27 43 44 44 71 71 70 70 69 69 68 68 67 67 66 66 65 45 46 46 47 47 48 48 49 49 50 50 57 57 58 58 59 59 60 60 79 35 61 61 62 62 55 55 56 56 51 51 52 52 53 53 54 54 45 65 72 72 73 73 74 74 75 75 76 76 77 77 78 78 79 79 80 80 81 81 82 82 83 83 84 84 69 43 63 63 64 64 65 1 43 2 44 3 45 4 46 5 47 6 48 7 49 8 50 15 57 16 58 17 59 18 60 19 61 20 62 13 55 14 56 9 51 10 52 11 53 12 54 67 25 wmcube-1.0.2/3D-objects/X-lines.wmc0000644000175000001440000000127512471170543016145 0ustar cezaryusersWMCUBE_COORDINATES 1 30 -30 -10 2 10 -30 -10 3 -3 -10 -10 4 -20 -30 -10 5 -30 -30 -10 6 -8 -3 -10 7 -30 30 -10 8 -10 30 -10 9 3 10 -10 10 20 30 -10 11 30 30 -10 12 8 3 -10 13 30 -30 10 14 10 -30 10 15 -3 -10 10 16 -20 -30 10 17 -30 -30 10 18 -8 -3 10 19 -30 30 10 20 -10 30 10 21 3 10 10 22 20 30 10 23 30 30 10 24 8 3 10 WMCUBE_LINES 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 1 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23 24 24 13 1 13 2 14 3 15 4 16 5 17 6 18 7 19 8 20 9 21 10 22 11 23 12 24 wmcube-1.0.2/3D-objects/hyperpyramid.wmc0000644000000000000000000000057507170155526016633 0ustar rootrootWMCUBE_COORDINATES 1 300 0 0 2 -150 260 0 3 -150 -260 0 4 50 87 0 5 -100 0 0 6 50 -87 0 7 0 0 90 8 50 87 -250 9 -100 0 -250 10 50 -87 -250 11 0 0 -90 12 100 0 -50 13 -87 100 -50 14 -87 -100 -50 WMCUBE_LINES 1 4 4 2 2 5 5 3 3 6 6 1 1 7 2 7 3 7 4 7 5 7 6 7 4 8 5 9 6 10 8 11 9 11 10 11 1 12 8 12 10 12 4 12 6 12 11 12 4 13 2 13 5 13 8 13 9 13 11 13 5 14 3 14 6 14 11 14 9 14 10 14 wmcube-1.0.2/3D-objects/README0000644000000000000000000000254412432736740014264 0ustar rootrootThe object-files to be used with wmcube has the following format: WMCUBE_COORDINATES 1 50 -40 30 2 -50 50 -30 3 -20 70 -20 ^ ^ ^ ^ | | | \__ Z-coordinate relative the center | | \______ Y-coordinate relative the center | \___________ X-coordinate relative the center \_______________ Coordinate index The indexes must be 1,2,3...n on a object with n coordinates. The center of the object is the coordinate the object will revolve around (0,0,0); The next section is either (case sensitive): * WMCUBE_LINES 1 2 2 3 3 1 These are the coordinates wmcube will draw lines between. or * WMCUBE_PLANES 1 2 3 2 3 1 1 3 2 2 1 3 These are the coordinates wmcube will use as corner- coordinates for a plane. The tricky part is that the plane will be drawn only if you list the coordinates making up the plane in clockwise order. In the example above, the first two rows making up planes with coordinates 1 2 3 and 2 3 1 will NOT be drawn until the object has rotated some X degrees but the other two will be drawn at once. Its kinda hard to explain, just try and you will eventually understand how it works. Done! Save the file with a .wmc suffix (preferably) and try running wmcube with the -o option and it will tell you if something is wrong with the object. Otherwise enjoy and remember to send me all the cool objects you create :-) wmcube-1.0.2/3D-objects/4d.wmc0000644000000000000000000000073207170155526014420 0ustar rootrootWMCUBE_COORDINATES 1 -51 50 0 2 0 50 51 3 51 50 0 4 0 50 -51 5 74 0 0 6 37 0 64 7 -37 0 64 8 -74 0 0 9 -37 0 -64 10 37 0 -64 11 -51 -50 0 12 0 -50 51 13 51 -50 0 14 0 -50 -51 15 0 100 0 16 0 -100 0 WMCUBE_LINES 15 1 15 2 15 3 15 4 1 5 1 6 1 7 2 5 2 8 2 9 3 6 3 8 3 10 4 7 4 9 4 10 5 11 5 12 6 11 6 13 7 12 7 13 8 11 8 14 9 12 9 14 10 13 10 14 11 16 12 16 13 16 14 16 wmcube-1.0.2/3D-objects/ball-solid.wmc0000644000000000000000000000207307173653537016143 0ustar rootrootWMCUBE_COORDINATES 1 -100 -100 100 2 100 -100 100 3 100 100 100 4 -100 100 100 5 -100 -100 -100 6 100 -100 -100 7 100 100 -100 8 -100 100 -100 9 -50 -150 -50 10 50 -150 -50 11 150 -50 -50 12 150 50 -50 13 50 150 -50 14 -50 150 -50 15 -150 50 -50 16 -150 -50 -50 17 -150 -50 50 18 -50 -150 50 19 50 -150 50 20 150 -50 50 21 150 50 50 22 50 150 50 23 -50 150 50 24 -150 50 50 25 -50 -50 150 26 50 -50 150 27 50 50 150 28 -50 50 150 29 -50 -50 -150 30 50 -50 -150 31 50 50 -150 32 -50 50 -150 WMCUBE_PLANES 1 18 19 1 19 2 17 1 24 24 1 4 2 20 3 3 20 21 4 3 23 23 3 22 10 9 5 6 10 5 8 14 7 7 14 13 5 16 15 5 15 8 6 7 11 11 7 12 17 16 5 17 5 1 9 18 5 18 1 5 9 19 18 9 10 19 19 10 6 19 6 2 6 20 2 6 11 20 20 11 12 20 12 21 3 7 13 3 13 22 21 12 7 3 21 7 23 22 14 22 13 14 8 4 14 4 23 14 24 4 8 24 8 15 16 17 24 16 24 15 1 25 28 1 28 4 1 2 25 2 26 25 26 2 3 26 3 27 28 3 4 28 27 3 28 25 27 25 26 27 29 5 8 29 8 32 6 30 31 6 31 7 29 6 5 29 30 6 8 31 32 8 7 31 29 32 30 31 30 32 wmcube-1.0.2/3D-objects/X-planes.wmc0000644000175000001440000000140312471170575016313 0ustar cezaryusersWMCUBE_COORDINATES 1 30 -30 -10 2 10 -30 -10 3 -3 -10 -10 4 -20 -30 -10 5 -30 -30 -10 6 -8 -3 -10 7 -30 30 -10 8 -10 30 -10 9 3 10 -10 10 20 30 -10 11 30 30 -10 12 8 3 -10 13 30 -30 10 14 10 -30 10 15 -3 -10 10 16 -20 -30 10 17 -30 -30 10 18 -8 -3 10 19 -30 30 10 20 -10 30 10 21 3 10 10 22 20 30 10 23 30 30 10 24 8 3 10 WMCUBE_PLANES 1 2 7 7 8 1 4 5 10 10 11 4 13 20 19 19 14 13 23 22 17 17 16 23 1 12 24 24 13 1 12 11 23 23 24 12 3 2 14 14 15 3 4 3 15 15 16 4 7 6 18 18 19 7 6 5 17 17 18 6 8 20 21 21 9 8 9 21 22 22 10 9 1 13 14 14 2 1 4 16 17 17 5 4 10 22 23 23 11 10 7 19 20 20 8 7 wmcube-1.0.2/3D-objects/star.wmc0000644000000000000000000000162707170155526015066 0ustar rootrootWMCUBE_COORDINATES 1 -90 -90 90 2 90 -90 90 3 90 90 90 4 -90 90 90 5 -90 -90 -90 6 90 -90 -90 7 90 90 -90 8 -90 90 -90 9 -10 -350 -10 10 10 -350 -10 11 350 -10 -10 12 350 10 -10 13 10 350 -10 14 -10 350 -10 15 -350 10 -10 16 -350 -10 -10 17 -350 -10 10 18 -10 -350 10 19 10 -350 10 20 350 -10 10 21 350 10 10 22 10 350 10 23 -10 350 10 24 -350 10 10 25 -10 -10 350 26 10 -10 350 27 10 10 350 28 -10 10 350 29 -10 -10 -350 30 10 -10 -350 31 10 10 -350 32 -10 10 -350 WMCUBE_LINES 1 5 2 6 7 3 8 4 9 10 10 6 6 11 11 12 12 7 7 13 13 14 14 8 8 15 15 16 16 5 5 9 17 1 1 18 18 19 19 2 2 20 20 21 21 3 3 22 22 23 23 4 4 24 24 17 9 18 10 19 11 20 12 21 13 22 14 23 15 24 16 17 25 26 26 27 27 28 28 25 25 1 26 2 27 3 28 4 5 6 6 7 7 8 8 5 29 30 30 31 31 32 32 29 5 29 6 30 7 31 8 32 1 2 2 3 3 4 4 1 wmcube-1.0.2/3D-objects/ball.wmc0000644000000000000000000000154607170155526015027 0ustar rootrootWMCUBE_COORDINATES 1 -100 -100 100 2 100 -100 100 3 100 100 100 4 -100 100 100 5 -100 -100 -100 6 100 -100 -100 7 100 100 -100 8 -100 100 -100 9 -50 -150 -50 10 50 -150 -50 11 150 -50 -50 12 150 50 -50 13 50 150 -50 14 -50 150 -50 15 -150 50 -50 16 -150 -50 -50 17 -150 -50 50 18 -50 -150 50 19 50 -150 50 20 150 -50 50 21 150 50 50 22 50 150 50 23 -50 150 50 24 -150 50 50 25 -50 -50 150 26 50 -50 150 27 50 50 150 28 -50 50 150 29 -50 -50 -150 30 50 -50 -150 31 50 50 -150 32 -50 50 -150 WMCUBE_LINES 9 10 10 6 6 11 11 12 12 7 7 13 13 14 14 8 8 15 15 16 16 5 5 9 17 1 1 18 18 19 19 2 2 20 20 21 21 3 3 22 22 23 23 4 4 24 24 17 9 18 10 19 11 20 12 21 13 22 14 23 15 24 16 17 25 26 26 27 27 28 28 25 25 1 26 2 27 3 28 4 29 30 30 31 31 32 32 29 5 29 6 30 7 31 8 32 wmcube-1.0.2/3D-objects/slackware2.wmc0000644000000000000000000000432012432627162016141 0ustar rootrootWMCUBE_COORDINATES 1 -14 -11 5 2 -6 -11 5 3 -5 -10 5 4 -5 -8 5 5 -7 -7 5 6 -9 -5 5 7 -10 -3 5 8 -11 0 5 9 -11 5 5 10 -10 9 5 11 -8 10 5 12 -7 11 5 13 -5 10 5 14 -3 8 5 15 -2 5 5 16 -2 -3 5 17 -1 -6 5 18 0 -8 5 19 2 -10 5 20 5 -11 5 21 8 -11 5 22 10 -10 5 23 12 -8 5 24 14 -5 5 25 15 -1 5 26 15 4 5 27 14 8 5 28 14 9 5 29 15 11 5 30 15 12 5 31 13 14 5 32 6 14 5 33 5 13 5 34 5 11 5 35 8 8 5 36 10 5 5 37 11 2 5 38 11 -2 5 39 10 -4 5 40 8 -6 5 41 5 -6 5 42 4 -5 5 43 3 -3 5 44 3 0 5 45 2 8 5 46 1 12 5 47 -2 15 5 48 -6 16 5 49 -10 15 5 50 -13 13 5 51 -15 8 5 52 -15 0 5 53 -14 -6 5 54 -15 -8 5 55 -15 -10 5 56 -21 -16 5 57 -13 -16 5 58 -13 -14 5 59 -19 -14 5 60 -19 20 5 61 -21 20 5 62 -14 -11 -5 63 -6 -11 -5 64 -5 -10 -5 65 -5 -8 -5 66 -7 -7 -5 67 -9 -5 -5 68 -10 -3 -5 69 -11 0 -5 70 -11 5 -5 71 -10 9 -5 72 -8 10 -5 73 -7 11 -5 74 -5 10 -5 75 -3 8 -5 76 -2 5 -5 77 -2 -3 -5 78 -1 -6 -5 79 0 -8 -5 80 2 -10 -5 81 5 -11 -5 82 8 -11 -5 83 10 -10 -5 84 12 -8 -5 85 14 -5 -5 86 15 -1 -5 87 15 4 -5 88 14 8 -5 89 14 9 -5 90 15 11 -5 91 15 12 -5 92 13 14 -5 93 6 14 -5 94 5 13 -5 95 5 11 -5 96 8 8 -5 97 10 5 -5 98 11 2 -5 99 11 -2 -5 100 10 -4 -5 101 8 -6 -5 102 5 -6 -5 103 4 -5 -5 104 3 -3 -5 105 3 0 -5 106 2 8 -5 107 1 12 -5 108 -2 15 -5 109 -6 16 -5 110 -10 15 -5 111 -13 13 -5 112 -15 8 -5 113 -15 0 -5 114 -14 -6 -5 115 -15 -8 -5 116 -15 -10 -5 117 -21 -16 -5 118 -13 -16 -5 119 -13 -14 -5 120 -19 -14 -5 121 -19 20 -5 122 -21 20 -5 WMCUBE_LINES 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23 24 24 25 25 26 26 27 27 28 28 29 29 30 30 31 31 32 32 33 33 34 34 35 35 36 36 37 37 38 38 39 39 40 40 41 41 42 42 43 43 44 44 45 45 46 46 47 47 48 48 49 49 50 50 51 51 52 52 53 53 54 54 55 55 1 56 57 57 58 58 59 59 60 60 61 61 56 62 63 63 64 64 65 65 66 66 67 67 68 68 69 69 70 70 71 71 72 72 73 73 74 74 75 75 76 76 77 77 78 78 79 79 80 80 81 81 82 82 83 83 84 84 85 85 86 86 87 87 88 88 89 89 90 90 91 91 92 92 93 93 94 94 95 95 96 96 97 97 98 98 99 99 100 100 101 101 102 102 103 103 104 104 105 105 106 106 107 107 108 108 109 109 110 110 111 111 112 112 113 113 114 114 115 115 116 116 1 117 118 118 119 119 120 120 121 121 122 122 117 wmcube-1.0.2/3D-objects/multicube.wmc0000644000000000000000000000142007170155526016075 0ustar rootrootWMCUBE_COORDINATES 1 -40 40 40 2 -40 -40 40 3 40 -40 40 4 40 40 40 5 -60 20 20 6 -60 -20 20 7 60 -20 20 8 60 20 20 9 -20 60 20 10 -20 -60 20 11 20 -60 20 12 20 60 20 13 -40 40 -40 14 -40 -40 -40 15 40 -40 -40 16 40 40 -40 17 -60 20 -20 18 -60 -20 -20 19 60 -20 -20 20 60 20 -20 21 -20 60 -20 22 -20 -60 -20 23 20 -60 -20 24 20 60 -20 25 20 20 60 26 -20 20 60 27 20 -20 60 28 -20 -20 60 29 20 20 -60 30 -20 20 -60 31 20 -20 -60 32 -20 -20 -60 WMCUBE_LINES 1 2 2 3 3 4 4 1 5 6 6 7 7 8 8 5 9 10 10 11 11 12 12 9 13 14 14 15 15 16 16 13 1 13 2 14 3 15 4 16 17 18 18 19 19 20 20 17 8 20 5 17 6 18 7 19 21 22 22 23 23 24 24 21 12 24 23 11 9 21 10 22 25 26 26 28 27 28 27 25 25 29 26 30 28 31 27 32 29 30 30 32 31 32 31 29 wmcube-1.0.2/3D-objects/slackware3.wmc0000644000000000000000000000511612432627365016153 0ustar rootrootWMCUBE_COORDINATES 1 -14 -11 5 2 -6 -11 5 3 -5 -10 5 4 -5 -8 5 5 -7 -7 5 6 -9 -5 5 7 -10 -3 5 8 -11 0 5 9 -11 5 5 10 -10 9 5 11 -8 10 5 12 -7 11 5 13 -5 10 5 14 -3 8 5 15 -2 5 5 16 -2 -3 5 17 -1 -6 5 18 0 -8 5 19 2 -10 5 20 5 -11 5 21 8 -11 5 22 10 -10 5 23 12 -8 5 24 14 -5 5 25 15 -1 5 26 15 4 5 27 14 8 5 28 14 9 5 29 15 11 5 30 15 12 5 31 13 14 5 32 6 14 5 33 5 13 5 34 5 11 5 35 8 8 5 36 10 5 5 37 11 2 5 38 11 -2 5 39 10 -4 5 40 8 -6 5 41 5 -6 5 42 4 -5 5 43 3 -3 5 44 3 0 5 45 2 8 5 46 1 12 5 47 -2 15 5 48 -6 16 5 49 -10 15 5 50 -13 13 5 51 -15 8 5 52 -15 0 5 53 -14 -6 5 54 -15 -8 5 55 -15 -10 5 56 -21 -16 5 57 -13 -16 5 58 -13 -14 5 59 -19 -14 5 60 -19 20 5 61 -21 20 5 62 -14 -11 -5 63 -6 -11 -5 64 -5 -10 -5 65 -5 -8 -5 66 -7 -7 -5 67 -9 -5 -5 68 -10 -3 -5 69 -11 0 -5 70 -11 5 -5 71 -10 9 -5 72 -8 10 -5 73 -7 11 -5 74 -5 10 -5 75 -3 8 -5 76 -2 5 -5 77 -2 -3 -5 78 -1 -6 -5 79 0 -8 -5 80 2 -10 -5 81 5 -11 -5 82 8 -11 -5 83 10 -10 -5 84 12 -8 -5 85 14 -5 -5 86 15 -1 -5 87 15 4 -5 88 14 8 -5 89 14 9 -5 90 15 11 -5 91 15 12 -5 92 13 14 -5 93 6 14 -5 94 5 13 -5 95 5 11 -5 96 8 8 -5 97 10 5 -5 98 11 2 -5 99 11 -2 -5 100 10 -4 -5 101 8 -6 -5 102 5 -6 -5 103 4 -5 -5 104 3 -3 -5 105 3 0 -5 106 2 8 -5 107 1 12 -5 108 -2 15 -5 109 -6 16 -5 110 -10 15 -5 111 -13 13 -5 112 -15 8 -5 113 -15 0 -5 114 -14 -6 -5 115 -15 -8 -5 116 -15 -10 -5 117 -21 -16 -5 118 -13 -16 -5 119 -13 -14 -5 120 -19 -14 -5 121 -19 20 -5 122 -21 20 -5 WMCUBE_LINES 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23 24 24 25 25 26 26 27 27 28 28 29 29 30 30 31 31 32 32 33 33 34 34 35 35 36 36 37 37 38 38 39 39 40 40 41 41 42 42 43 43 44 44 45 45 46 46 47 47 48 48 49 49 50 50 51 51 52 52 53 53 54 54 55 55 1 56 57 57 58 58 59 59 60 60 61 61 56 62 63 63 64 64 65 65 66 66 67 67 68 68 69 69 70 70 71 71 72 72 73 73 74 74 75 75 76 76 77 77 78 78 79 79 80 80 81 81 82 82 83 83 84 84 85 85 86 86 87 87 88 88 89 89 90 90 91 91 92 92 93 93 94 94 95 95 96 96 97 97 98 98 99 99 100 100 101 101 102 102 103 103 104 104 105 105 106 106 107 107 108 108 109 109 110 110 111 111 112 112 113 113 114 114 115 115 116 116 1 117 118 118 119 119 120 120 121 121 122 122 117 1 62 2 63 3 64 4 65 5 66 6 67 7 68 8 69 9 70 10 71 11 72 12 73 13 74 14 75 15 76 16 77 17 78 18 79 19 80 20 81 21 82 22 83 23 84 24 85 25 86 26 87 27 88 28 89 29 90 30 91 31 92 32 93 33 94 34 95 35 96 36 97 37 98 38 99 39 100 40 101 41 102 42 103 43 104 44 105 45 106 46 107 47 108 48 109 49 110 50 111 51 112 52 113 53 114 54 115 55 116 56 117 57 118 58 119 59 120 60 121 61 122 wmcube-1.0.2/3D-objects/cross2.wmc0000644000000000000000000000111707170155526015322 0ustar rootrootWMCUBE_COORDINATES 1 -50 -50 50 2 50 -50 50 3 50 50 50 4 -50 50 50 5 -50 -50 -50 6 50 -50 -50 7 50 50 -50 8 -50 50 -50 9 -50 -150 -50 10 50 -150 -50 11 150 -50 -50 12 150 50 -50 13 50 150 -50 14 -50 150 -50 15 -150 50 -50 16 -150 -50 -50 17 -150 -50 50 18 -50 -150 50 19 50 -150 50 20 150 -50 50 21 150 50 50 22 50 150 50 23 -50 150 50 24 -150 50 50 WMCUBE_LINES 9 10 10 6 6 11 11 12 12 7 7 13 13 14 14 8 8 15 15 16 16 5 5 9 17 1 1 18 18 19 19 2 2 20 20 21 21 3 3 22 22 23 23 4 4 24 24 17 wmcube-1.0.2/3D-objects/cross.wmc0000644000000000000000000000121607170155526015240 0ustar rootrootWMCUBE_COORDINATES 1 -50 -50 50 2 50 -50 50 3 50 50 50 4 -50 50 50 5 -50 -50 -50 6 50 -50 -50 7 50 50 -50 8 -50 50 -50 9 -50 -150 -50 10 50 -150 -50 11 150 -50 -50 12 150 50 -50 13 50 150 -50 14 -50 150 -50 15 -150 50 -50 16 -150 -50 -50 17 -150 -50 50 18 -50 -150 50 19 50 -150 50 20 150 -50 50 21 150 50 50 22 50 150 50 23 -50 150 50 24 -150 50 50 WMCUBE_LINES 1 5 2 6 7 3 8 4 9 10 10 6 6 11 11 12 12 7 7 13 13 14 14 8 8 15 15 16 16 5 5 9 17 1 1 18 18 19 19 2 2 20 20 21 21 3 3 22 22 23 23 4 4 24 24 17 9 18 10 19 11 20 12 21 13 22 14 23 15 24 16 17 wmcube-1.0.2/3D-objects/cross4-solid.wmc0000644000000000000000000000207607174612261016437 0ustar rootrootWMCUBE_COORDINATES 1 -50 -50 50 2 50 -50 50 3 50 50 50 4 -50 50 50 5 -50 -50 -50 6 50 -50 -50 7 50 50 -50 8 -50 50 -50 9 -50 -300 -50 10 50 -300 -50 11 300 -50 -50 12 300 50 -50 13 50 300 -50 14 -50 300 -50 15 -300 50 -50 16 -300 -50 -50 17 -300 -50 50 18 -50 -300 50 19 50 -300 50 20 300 -50 50 21 300 50 50 22 50 300 50 23 -50 300 50 24 -300 50 50 25 -50 -50 300 26 50 -50 300 27 50 50 300 28 -50 50 300 29 -50 -50 -300 30 50 -50 -300 31 50 50 -300 32 -50 50 -300 WMCUBE_PLANES 1 18 19 1 19 2 17 1 24 24 1 4 2 20 3 3 20 21 4 3 23 23 3 22 10 9 5 6 10 5 8 14 7 7 14 13 5 16 15 5 15 8 6 7 11 11 7 12 17 16 5 17 5 1 9 18 5 18 1 5 9 19 18 9 10 19 19 10 6 19 6 2 6 20 2 6 11 20 20 11 12 20 12 21 3 7 13 3 13 22 21 12 7 3 21 7 23 22 14 22 13 14 8 4 14 4 23 14 24 4 8 24 8 15 16 17 24 16 24 15 1 25 28 1 28 4 1 2 25 2 26 25 26 2 3 26 3 27 28 3 4 28 27 3 28 25 27 25 26 27 29 5 8 29 8 32 6 30 31 6 31 7 29 6 5 29 30 6 8 31 32 8 7 31 29 32 30 32 31 30 wmcube-1.0.2/3D-objects/radioactive.wmc0000644000000000000000000000545407170155526016411 0ustar rootrootWMCUBE_COORDINATES 1 0 0 0 2 5 -19 0 3 -5 -19 0 4 -14 -14 0 5 -19 -5 0 6 -19 5 0 7 -14 14 0 8 -5 19 0 9 5 19 0 10 14 14 0 11 19 5 0 12 19 -5 0 13 14 -14 0 14 -30 -17 0 15 -34 -9 0 16 -35 0 0 17 -34 9 0 18 -30 17 0 19 0 35 0 20 9 34 0 21 17 30 0 22 25 25 0 23 30 17 0 24 30 -17 0 25 25 -25 0 26 17 -30 0 27 9 -34 0 28 0 -35 0 29 87 -50 0 30 71 -71 0 31 50 -87 0 32 26 -97 0 33 0 -100 0 34 -87 -50 0 35 -97 -26 0 36 -100 0 0 37 -97 26 0 38 -87 50 0 39 0 100 0 40 26 97 0 41 50 87 0 42 71 71 0 43 87 50 0 44 5 -19 20 45 -5 -19 20 46 -14 -14 20 47 -19 -5 20 48 -19 5 20 49 -14 14 20 50 -5 19 20 51 5 19 20 52 14 14 20 53 19 5 20 54 19 -5 20 55 14 -14 20 56 -30 -17 20 57 -34 -9 20 58 -35 0 20 59 -34 9 20 60 -30 17 20 61 0 35 20 62 9 34 20 63 17 30 20 64 25 25 20 65 30 17 20 66 30 -17 20 67 25 -25 20 68 17 -30 20 69 9 -34 20 70 0 -35 20 71 87 -50 20 72 71 -71 20 73 50 -87 20 74 26 -97 20 75 0 -100 20 76 -87 -50 20 77 -97 -26 20 78 -100 0 20 79 -97 26 20 80 -87 50 20 81 0 100 20 82 26 97 20 83 50 87 20 84 71 71 20 85 87 50 20 WMCUBE_LINES 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 2 24 25 25 26 26 27 27 28 28 33 33 32 32 31 31 30 30 29 29 24 19 20 20 21 21 22 22 23 23 43 43 42 42 41 41 40 40 39 39 19 14 15 15 16 16 17 17 18 18 38 38 37 37 36 36 35 35 34 34 14 44 45 45 46 46 47 47 48 48 49 49 50 50 51 51 52 52 53 53 54 54 55 55 44 76 77 77 78 78 79 79 80 80 60 56 76 56 57 57 58 58 59 59 60 61 62 62 63 63 64 64 65 81 82 82 83 83 84 84 85 85 65 61 81 66 67 67 68 68 69 69 70 71 72 72 73 73 74 74 75 71 66 75 70 75 33 71 29 85 43 81 39 80 38 76 34 66 24 28 70 56 14 60 18 61 19 65 23 wmcube-1.0.2/3D-objects/spaceshuttle.wmc0000644000000000000000000001050007170155526016607 0ustar rootrootWMCUBE_COORDINATES 1 -44 0 14 2 55 0 15 3 60 0 10 4 83 0 0 5 86 0 -3 6 85 0 -6 7 77 0 -10 8 45 0 -12 9 -44 0 14 10 -45 0 19 11 -45 0 19 12 -82 0 52 13 -92 0 52 14 -94 0 51 15 -80 0 22 16 -70 0 18 17 -68 -16 -13 18 -61 -58 -9 19 -54 -58 -9 20 -42 -56 -10 21 -13 -26 -12 22 47 -13 -10 23 -68 16 -13 24 -61 58 -9 25 -54 58 -9 26 -42 55 -10 27 -13 27 -12 28 47 13 -10 29 45 -13 -14 30 45 -13 9 31 45 -9 13 32 45 -4 15 33 45 4 15 34 45 9 13 35 45 13 9 36 45 13 -14 37 -45 -13 -14 38 -45 -13 9 39 -45 -9 13 40 -45 -4 15 41 -45 4 15 42 -45 9 13 43 -45 13 9 44 -45 13 -14 45 45 13 -4 46 48 13 -4 47 78 7 -4 48 85 3 -4 49 86 0 -4 50 45 -13 -4 51 48 -13 -4 52 78 -7 -4 53 85 -3 -4 54 86 0 -4 55 45 13 -12 56 -42 13 -15 57 -72 13 -14 58 45 -13 -12 59 -42 -13 -15 60 -72 -13 -14 61 45 13 -12 62 45 -13 -12 63 -72 13 -14 64 -72 -13 -14 65 -72 14 -14 66 -84 14 -13 67 -72 14 -12 68 -72 -14 -14 69 -84 -14 -13 70 -72 -14 -12 71 -84 14 -13 72 -84 -14 -13 73 -72 16 -12 74 -70 14 4 75 -69 2 16 76 -69 -2 16 77 -70 -15 4 78 -72 -16 -12 79 -56 57 -9 80 -56 16 -13 81 -56 -57 -9 82 -56 -16 -13 83 -93 0 48 84 -87 0 48 85 -70 0 23 86 -80 0 23 87 -69 15 4 88 -69 18 12 89 -69 10 20 90 -69 2 16 91 -69 -15 4 92 -69 -19 12 93 -69 -11 20 94 -69 -2 16 95 -69 15 4 96 -44 13 5 97 -69 2 16 98 -44 2 14 99 -69 18 12 100 -52 18 13 101 -69 10 20 102 -52 10 21 103 -52 18 13 104 -52 -10 21 105 -52 18 13 106 -44 13 5 107 -52 10 21 108 -44 2 14 109 -69 -15 4 110 -44 -13 5 111 -69 -2 16 112 -44 -2 14 113 -69 -19 12 114 -52 -19 13 115 -69 -11 20 116 -52 -10 21 117 -52 -19 13 118 -52 -10 21 119 -52 -19 13 120 -44 -13 5 121 -52 -10 21 122 -44 -2 14 123 -80 0 16 124 -81 3 14 125 -82 3 8 126 -83 0 6 127 -82 -3 8 128 -81 -3 14 129 -80 0 16 130 -80 0 16 131 -69 0 12 132 -83 0 6 133 -70 0 4 134 -82 3 11 135 -69 2 8 136 -82 -3 11 137 -69 -2 -8 138 -69 0 12 139 -69 2 8 140 -70 0 4 141 -69 -2 8 142 -69 0 12 143 -83 8 2 144 -84 13 -1 145 -85 13 -6 146 -85 8 -9 147 -85 3 -6 148 -84 3 -1 149 -83 8 2 150 -83 8 2 151 -72 7 -2 152 -85 8 -9 153 -73 7 -9 154 -84 13 -3 155 -73 10 -5 156 -84 3 -3 157 -73 4 -5 158 -72 7 -2 159 -73 10 -5 160 -73 7 -9 161 -73 4 -5 162 -72 7 -2 163 -83 -8 2 164 -84 -13 -1 165 -85 -13 -6 166 -85 -8 -9 167 -85 -4 -6 168 -84 -4 -1 169 -83 -8 2 170 -83 -8 2 171 -72 -7 -2 172 -85 -8 -9 173 -73 -7 -9 174 -84 -13 -3 175 -73 -10 -5 176 -84 -4 -3 177 -73 -4 -5 178 -72 -7 -2 179 -73 -10 -5 180 -73 -7 -9 181 -73 -4 -5 182 -72 -7 -2 183 61 2 10 184 60 5 10 185 57 5 13 186 58 3 13 187 61 2 10 188 61 -2 10 189 60 -5 10 190 57 -5 13 191 58 -3 13 192 61 -2 10 193 60 5 10 194 57 9 8 195 55 7 12 196 57 5 13 197 60 -5 10 198 57 -9 8 199 55 -7 12 200 57 -5 13 201 57 9 8 202 53 10 9 203 53 7 12 204 55 7 12 205 57 -9 8 206 53 -10 9 207 53 -7 12 208 55 -7 12 209 45 13 5 210 -45 13 4 211 45 -13 5 212 -45 -13 4 213 45 13 -12 214 48 13 -12 215 78 6 -9 216 85 3 -5 217 86 0 -4 218 45 -13 -12 219 48 -13 -12 220 78 -7 -9 221 85 -3 -5 222 86 0 -4 223 0 0 0 WMCUBE_LINES 2 1 3 2 4 3 5 4 6 5 7 6 8 7 10 9 12 11 13 12 14 13 15 14 16 15 18 17 19 18 20 19 21 20 22 21 24 23 25 24 26 25 27 26 28 27 30 29 31 30 32 31 33 32 34 33 35 34 36 35 38 37 39 38 40 39 41 40 42 41 43 42 44 43 46 45 47 46 48 47 49 48 51 50 52 51 53 52 54 53 56 55 57 56 59 58 60 59 62 61 64 63 66 65 67 66 69 68 70 69 72 71 74 73 75 74 76 75 77 76 78 77 80 79 82 81 84 83 85 84 86 85 88 87 89 88 90 89 92 91 93 92 94 93 96 95 98 97 100 99 102 101 104 103 106 105 108 107 110 109 112 111 114 113 116 115 118 117 120 119 122 121 124 123 125 124 126 125 127 126 128 127 129 128 131 130 133 132 135 134 137 136 139 138 140 139 141 140 142 141 144 143 145 144 146 145 147 146 148 147 149 148 151 150 153 152 155 154 157 156 159 158 160 159 161 160 162 161 164 163 165 164 166 165 167 166 168 167 169 168 171 170 173 172 175 174 177 176 179 178 180 179 181 180 182 181 184 183 185 184 186 185 187 186 189 188 190 189 191 190 192 191 194 193 195 194 196 195 198 197 199 198 200 199 202 201 203 202 204 203 206 205 207 206 208 207 210 209 212 211 214 213 215 214 216 215 217 216 219 218 220 219 221 220wmcube-1.0.2/3D-objects/jeep.wmc0000644000000000000000000000357307170155526015042 0ustar rootrootWMCUBE_COORDINATES 1 -150 -20 0 2 -150 50 0 3 -40 50 0 4 -40 20 0 5 30 20 0 6 30 60 0 7 20 130 0 8 30 50 0 9 160 50 0 10 160 -20 0 11 140 -20 0 12 130 0 0 13 90 0 0 14 80 -20 0 15 80 -40 0 16 100 -60 0 17 110 -60 0 18 140 -40 0 19 -70 -20 0 20 -70 -40 0 21 -90 -60 0 22 -110 -60 0 23 -130 -40 0 24 -130 -20 0 25 -120 0 0 26 -80 0 0 27 -150 50 0 28 -80 120 0 29 -80 50 0 30 90 40 0 31 170 40 0 32 180 30 0 33 180 10 0 34 160 10 0 35 80 -10 0 36 -80 -10 0 37 -150 -20 100 38 -150 50 100 39 -40 50 100 40 -40 20 100 41 30 20 100 42 30 60 100 43 20 130 100 44 30 50 100 45 160 50 100 46 160 -20 100 47 140 -20 100 48 130 0 100 49 90 0 100 50 80 -20 100 51 80 -40 100 52 100 -60 100 53 110 -60 100 54 140 -40 100 55 -70 -20 100 56 -70 -40 100 57 -90 -60 100 58 -110 -60 100 59 -130 -40 100 60 -130 -20 100 61 -120 0 100 62 -80 0 100 63 -150 50 100 64 -80 120 100 65 -80 50 100 66 90 40 100 67 170 40 100 68 180 30 100 69 180 10 100 70 160 10 100 71 80 -10 100 72 -80 -10 100 WMCUBE_LINES 1 2 2 3 3 4 4 5 5 6 6 7 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 35 36 19 20 20 21 21 22 22 23 23 24 24 1 24 25 25 26 27 28 28 29 30 31 31 32 32 33 33 34 18 11 37 38 38 39 39 40 40 41 41 42 42 43 44 45 45 46 46 47 47 48 48 49 49 50 50 51 51 52 52 53 53 54 71 72 55 56 56 57 57 58 58 59 59 60 60 37 60 61 61 62 63 64 64 65 66 67 67 68 68 69 69 70 54 47 1 37 2 38 3 39 4 40 5 41 6 42 7 43 8 44 9 45 10 46 11 47 35 71 36 72 24 60 28 64 wmcube-1.0.2/3D-objects/peace.wmc0000644000000000000000000000504507170155526015170 0ustar rootrootWMCUBE_COORDINATES 1 0 -120 10 2 -46 -111 10 3 -85 -85 10 4 -111 -46 10 5 -120 0 10 6 -111 46 10 7 -85 85 10 8 -46 111 10 9 0 120 10 10 46 111 10 11 85 85 10 12 111 46 10 13 120 0 10 14 111 -46 10 15 85 -85 10 16 46 -111 10 17 63 -77 10 18 38 -92 10 19 0 -100 10 20 -38 -92 10 21 -63 -77 10 22 -77 -63 10 23 -92 -38 10 24 -100 0 10 25 -92 38 10 26 -71 71 10 27 -38 92 10 28 -10 100 10 29 10 100 10 30 38 92 10 31 71 71 10 32 92 38 10 33 100 0 10 34 92 -38 10 35 77 -63 10 36 0 -14 10 37 -10 4 10 38 10 4 10 39 0 -120 -10 40 -46 -111 -10 41 -85 -85 -10 42 -111 -46 -10 43 -120 0 -10 44 -111 46 -10 45 -85 85 -10 46 -46 111 -10 47 0 120 -10 48 46 111 -10 49 85 85 -10 50 111 46 -10 51 120 0 -10 52 111 -46 -10 53 85 -85 -10 54 46 -111 -10 55 63 -77 -10 56 38 -92 -10 57 0 -100 -10 58 -38 -92 -10 59 -63 -77 -10 60 -77 -63 -10 61 -92 -38 -10 62 -100 0 -10 63 -92 38 -10 64 -71 71 -10 65 -38 92 -10 66 -10 100 -10 67 10 100 -10 68 38 92 -10 69 71 71 -10 70 92 38 -10 71 100 0 -10 72 92 -38 -10 73 77 -63 -10 74 0 -14 -10 75 -10 4 -10 76 10 4 -10 WMCUBE_LINES 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 1 36 17 17 18 18 19 19 20 20 21 21 36 22 23 23 24 24 25 25 26 26 27 27 28 28 37 37 22 38 29 29 30 30 31 31 32 32 33 33 34 34 35 35 38 39 40 40 41 41 42 42 43 43 44 44 45 45 46 46 47 47 48 48 49 49 50 50 51 51 52 52 53 53 54 54 39 76 67 67 68 68 69 69 70 70 71 71 72 72 73 73 76 74 55 55 56 56 57 57 58 58 59 59 74 75 60 60 61 61 62 62 63 63 64 64 65 65 66 66 75 wmcube-1.0.2/3D-objects/diamond.wmc0000644000000000000000000000113707173651677015537 0ustar rootrootWMCUBE_COORDINATES 1 -50 0 0 2 -35 0 35 3 0 0 50 4 35 0 35 5 50 0 0 6 35 0 -35 7 0 0 -50 8 -35 0 -35 9 -32 10 13 10 -13 10 32 11 13 10 32 12 32 10 13 13 32 10 -13 14 13 10 -32 15 -13 10 -32 16 -32 10 -13 17 0 -60 0 WMCUBE_LINES 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 1 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 9 1 9 1 8 2 10 2 9 3 11 3 10 4 12 4 11 5 13 5 12 6 14 6 13 7 15 7 14 8 16 8 15 17 1 17 2 17 3 17 4 17 5 17 6 17 7 17 8 wmcube-1.0.2/3D-objects/cube.wmc0000644000000000000000000000034407170625103015017 0ustar rootrootWMCUBE_COORDINATES 1 -180 -180 180 2 180 -180 180 3 180 180 180 4 -180 180 180 5 -180 -180 -180 6 180 -180 -180 7 180 180 -180 8 -180 180 -180 WMCUBE_LINES 1 2 2 3 3 4 4 1 5 6 6 7 7 8 8 5 1 5 2 6 3 7 4 8 wmcube-1.0.2/3D-objects/dice-solid.wmc0000644000000000000000000000144707174556072016136 0ustar rootrootWMCUBE_COORDINATES 1 -70 -120 120 2 70 -120 120 3 120 -70 120 4 120 70 120 5 70 120 120 6 -70 120 120 7 -120 70 120 8 -120 -70 120 9 -70 -120 -120 10 70 -120 -120 11 120 -70 -120 12 120 70 -120 13 70 120 -120 14 -70 120 -120 15 -120 70 -120 16 -120 -70 -120 17 -120 -120 70 18 120 -120 70 19 120 120 70 20 -120 120 70 21 -120 -120 -70 22 120 -120 -70 23 120 120 -70 24 -120 120 -70 WMCUBE_PLANES 17 1 8 2 18 3 7 6 20 5 4 19 21 16 9 10 11 22 12 13 23 15 24 14 1 2 3 1 3 4 1 4 5 1 5 6 1 6 7 1 7 8 18 22 11 18 11 12 18 12 23 18 23 19 18 19 4 18 4 3 21 17 8 21 8 7 21 7 20 21 20 24 21 24 15 21 15 16 9 10 22 9 22 18 9 18 2 9 2 1 9 1 17 9 17 21 6 5 19 6 19 23 6 23 13 6 13 14 6 14 24 6 24 20 9 11 10 9 12 11 9 13 12 9 14 13 9 15 14 9 16 15 wmcube-1.0.2/3D-objects/CONTRIBUTE0000644000000000000000000000167612664675621015021 0ustar rootrootThese are the people who have contributed by making objects for wmcube: FuzzyBear - 4d.wmc - crystal.wmc - starcube.wmc Peter Kokles - celtic.wmc - multicube.wmc - peace.wmc - radioactive.wmc - shield.wmc Jeff Frasca - spiral.wmc Axel Ahrens - hyperpyramid.wmc Aaron Benner - 8star.wmc - 8star-small.wmc Per Akergren - e.wmc - e2.wmc Adam Hapworth - foo.wmc - jeep.wmc tarzeau - spaceshuttle.wmc Rafael Garcia-Suarez - wmlogo.wmc Nicolas Mieville - diamond.wmc - gnustep.wmc Cezary M. Kruk - slackware1.wmc - slackware2.wmc - slackware3.wmc Three objects recommended by Doug Torrance - X-lines.wmc - X-planes.wmc - beryllium.wmc wmcube-1.0.2/3D-objects/cross3-solid.wmc0000644000000000000000000000207607171307523016435 0ustar rootrootWMCUBE_COORDINATES 1 -50 -50 50 2 50 -50 50 3 50 50 50 4 -50 50 50 5 -50 -50 -50 6 50 -50 -50 7 50 50 -50 8 -50 50 -50 9 -50 -150 -50 10 50 -150 -50 11 150 -50 -50 12 150 50 -50 13 50 150 -50 14 -50 150 -50 15 -150 50 -50 16 -150 -50 -50 17 -150 -50 50 18 -50 -150 50 19 50 -150 50 20 150 -50 50 21 150 50 50 22 50 150 50 23 -50 150 50 24 -150 50 50 25 -50 -50 150 26 50 -50 150 27 50 50 150 28 -50 50 150 29 -50 -50 -150 30 50 -50 -150 31 50 50 -150 32 -50 50 -150 WMCUBE_PLANES 1 18 19 1 19 2 17 1 24 24 1 4 2 20 3 3 20 21 4 3 23 23 3 22 10 9 5 6 10 5 8 14 7 7 14 13 5 16 15 5 15 8 6 7 11 11 7 12 17 16 5 17 5 1 9 18 5 18 1 5 9 19 18 9 10 19 19 10 6 19 6 2 6 20 2 6 11 20 20 11 12 20 12 21 3 7 13 3 13 22 21 12 7 3 21 7 23 22 14 22 13 14 8 4 14 4 23 14 24 4 8 24 8 15 16 17 24 16 24 15 1 25 28 1 28 4 1 2 25 2 26 25 26 2 3 26 3 27 28 3 4 28 27 3 28 25 27 25 26 27 29 5 8 29 8 32 6 30 31 6 31 7 29 6 5 29 30 6 8 31 32 8 7 31 29 32 30 32 31 30 wmcube-1.0.2/3D-objects/celtic.wmc0000644000000000000000000000132407170155526015352 0ustar rootrootWMCUBE_COORDINATES 1 -40 40 40 2 -40 -40 40 3 40 -40 40 4 40 40 40 5 -60 20 20 6 -60 -20 20 7 60 -20 20 8 60 20 20 9 -20 60 20 10 -20 -60 20 11 20 -60 20 12 20 60 20 13 -40 40 -40 14 -40 -40 -40 15 40 -40 -40 16 40 40 -40 17 -60 20 -20 18 -60 -20 -20 19 60 -20 -20 20 60 20 -20 21 -20 60 -20 22 -20 -60 -20 23 20 -60 -20 24 20 60 -20 25 20 20 60 26 -20 20 60 27 20 -20 60 28 -20 -20 60 29 20 20 -60 30 -20 20 -60 31 20 -20 -60 32 -20 -20 -60 WMCUBE_LINES 8 18 20 6 5 19 7 17 8 20 7 19 5 17 6 18 8 7 20 19 5 6 17 18 25 26 26 28 28 27 27 25 29 30 30 32 32 31 31 29 25 32 28 29 26 31 27 30 9 23 11 21 10 24 12 22 24 12 23 11 9 21 10 22 11 10 9 12 23 22 24 21 wmcube-1.0.2/3D-objects/starcube.wmc0000644000000000000000000000125207170155526015717 0ustar rootrootWMCUBE_COORDINATES 1 -100 -100 100 2 100 -100 100 3 100 100 100 4 -100 100 100 5 -100 -100 -100 6 100 -100 -100 7 100 100 -100 8 -100 100 -100 9 75 0 0 10 0 75 0 11 0 0 75 12 -75 0 0 13 0 -75 0 14 0 0 -75 15 -75 -75 75 16 75 -75 75 17 75 75 75 18 -75 75 75 19 -75 -75 -75 20 75 -75 -75 21 75 75 -75 22 -75 75 -75 WMCUBE_LINES 1 2 2 3 3 4 4 1 5 6 6 7 7 8 8 5 1 5 2 6 3 7 4 8 9 15 9 18 9 19 9 22 10 15 10 16 10 19 10 20 11 19 11 20 11 21 11 22 12 16 12 17 12 20 12 21 13 17 13 18 13 21 13 22 14 15 14 16 14 17 14 18 wmcube-1.0.2/3D-objects/cross2-solid.wmc0000644000000000000000000000144707170637432016441 0ustar rootrootWMCUBE_COORDINATES 1 -50 -50 50 2 50 -50 50 3 50 50 50 4 -50 50 50 5 -50 -50 -50 6 50 -50 -50 7 50 50 -50 8 -50 50 -50 9 -50 -150 -50 10 50 -150 -50 11 150 -50 -50 12 150 50 -50 13 50 150 -50 14 -50 150 -50 15 -150 50 -50 16 -150 -50 -50 17 -150 -50 50 18 -50 -150 50 19 50 -150 50 20 150 -50 50 21 150 50 50 22 50 150 50 23 -50 150 50 24 -150 50 50 WMCUBE_PLANES 1 18 19 1 19 2 17 1 24 24 1 4 1 2 4 2 3 4 2 20 3 3 20 21 4 3 23 23 3 22 10 9 5 6 10 5 8 14 7 7 14 13 5 16 15 5 15 8 5 8 6 8 7 6 6 7 11 11 7 12 17 16 5 17 5 1 9 18 5 18 1 5 9 19 18 9 10 19 19 10 6 19 6 2 6 20 2 6 11 20 20 11 12 20 12 21 3 7 13 3 13 22 21 12 7 3 21 7 23 22 14 22 13 14 8 4 14 4 23 14 24 4 8 24 8 15 16 17 24 16 24 15 wmcube-1.0.2/3D-objects/cross3.wmc0000644000000000000000000000162707170155526015331 0ustar rootrootWMCUBE_COORDINATES 1 -50 -50 50 2 50 -50 50 3 50 50 50 4 -50 50 50 5 -50 -50 -50 6 50 -50 -50 7 50 50 -50 8 -50 50 -50 9 -50 -150 -50 10 50 -150 -50 11 150 -50 -50 12 150 50 -50 13 50 150 -50 14 -50 150 -50 15 -150 50 -50 16 -150 -50 -50 17 -150 -50 50 18 -50 -150 50 19 50 -150 50 20 150 -50 50 21 150 50 50 22 50 150 50 23 -50 150 50 24 -150 50 50 25 -50 -50 150 26 50 -50 150 27 50 50 150 28 -50 50 150 29 -50 -50 -150 30 50 -50 -150 31 50 50 -150 32 -50 50 -150 WMCUBE_LINES 1 5 2 6 7 3 8 4 9 10 10 6 6 11 11 12 12 7 7 13 13 14 14 8 8 15 15 16 16 5 5 9 17 1 1 18 18 19 19 2 2 20 20 21 21 3 3 22 22 23 23 4 4 24 24 17 9 18 10 19 11 20 12 21 13 22 14 23 15 24 16 17 25 26 26 27 27 28 28 25 25 1 26 2 27 3 28 4 5 6 6 7 7 8 8 5 29 30 30 31 31 32 32 29 5 29 6 30 7 31 8 32 1 2 2 3 3 4 4 1 wmcube-1.0.2/3D-objects/gnustep.wmc0000644000000000000000000000200407173651677015603 0ustar rootrootWMCUBE_COORDINATES 1 50 0 -10 2 46 19 -10 3 35 35 -10 4 19 46 -10 5 0 50 -10 6 -19 46 -10 7 -35 35 -10 8 -46 19 -10 9 -50 0 -10 10 -46 -19 -10 11 -35 -35 -10 12 -19 -46 -10 13 0 -50 -10 14 19 -46 -10 15 35 -35 -10 16 46 -19 -10 17 -25 35 -10 18 -25 0 -10 19 25 0 -10 20 25 -35 -10 21 50 0 10 22 46 19 10 23 35 35 10 24 19 46 10 25 0 50 10 26 -19 46 10 27 -35 35 10 28 -46 19 10 29 -50 0 10 30 -46 -19 10 31 -35 -35 10 32 -19 -46 10 33 0 -50 10 34 19 -46 10 35 35 -35 10 36 46 -19 10 37 -25 35 10 38 -25 0 10 39 25 0 10 40 25 -35 10 WMCUBE_LINES 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 1 7 17 17 18 18 19 19 20 20 15 21 22 22 23 23 24 24 25 25 26 26 27 27 28 28 29 29 30 30 31 31 32 32 33 33 34 34 35 35 36 36 21 27 37 37 38 38 39 39 40 40 35 17 37 18 38 19 39 20 40 1 21 2 22 3 23 4 24 5 25 6 26 7 27 8 28 9 29 10 30 11 31 12 32 13 33 14 34 15 35 16 36 wmcube-1.0.2/3D-objects/e.wmc0000644000000000000000000000113007170155526014326 0ustar rootrootWMCUBE_COORDINATES 1 -60 -120 30 2 80 -120 30 3 80 -60 30 4 0 -60 30 5 0 -20 30 6 40 -20 30 7 40 20 30 8 0 20 30 9 0 60 30 10 80 60 30 11 80 120 30 12 -60 120 30 13 -60 -120 -30 14 80 -120 -30 15 80 -60 -30 16 0 -60 -30 17 0 -20 -30 18 40 -20 -30 19 40 20 -30 20 0 20 -30 21 0 60 -30 22 80 60 -30 23 80 120 -30 24 -60 120 -30 WMCUBE_LINES 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 1 12 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23 24 13 24 1 13 2 14 3 15 4 16 5 17 6 18 7 19 8 20 9 21 10 22 11 23 12 24 wmcube-1.0.2/3D-objects/pyramid.wmc0000644000000000000000000000023407170155526015553 0ustar rootrootWMCUBE_COORDINATES 1 -150 -150 -150 2 150 -150 -150 3 150 150 -150 4 -150 150 -150 5 0 0 250 WMCUBE_LINES 1 2 2 3 3 4 4 1 1 5 2 5 3 5 4 5 wmcube-1.0.2/3D-objects/crystal.wmc0000644000000000000000000000160607170155526015573 0ustar rootrootWMCUBE_COORDINATES 1 0 0 0 2 150 0 0 3 0 150 0 4 0 0 150 5 -150 0 0 6 0 -150 0 7 0 0 -150 8 100 -30 -30 9 100 -30 30 10 100 30 30 11 100 30 -30 12 30 100 -30 13 30 100 30 14 -30 100 30 15 -30 100 -30 16 -100 -30 -30 17 -100 -30 30 18 -100 30 30 19 -100 30 -30 20 30 -100 -30 21 30 -100 30 22 -30 -100 30 23 -30 -100 -30 24 30 -30 100 25 30 30 100 26 -30 30 100 27 -30 -30 100 28 30 -30 -100 29 30 30 -100 30 -30 30 -100 31 -30 -30 -100 WMCUBE_LINES 1 11 1 8 1 9 1 10 1 15 1 12 1 13 1 14 1 18 1 19 1 16 1 17 1 20 1 21 1 22 1 23 1 27 1 24 1 25 1 26 1 31 1 28 1 29 1 30 2 8 2 9 2 10 2 11 3 15 3 12 3 13 3 14 4 27 4 24 4 25 4 26 5 16 5 17 5 18 5 19 6 20 6 21 6 22 6 23 7 31 7 28 7 29 7 30 1 2 1 3 1 4 1 5 1 6 1 7 wmcube-1.0.2/3D-objects/beryllium.wmc0000644000175000001440000000213612471170622016625 0ustar cezaryusersWMCUBE_COORDINATES 1 200 -200 000 2 200 200 400 3 600 -200 400 4 600 200 000 5 530 130 330 6 530 -130 070 7 270 130 070 8 270 -130 330 9 0 0 0 10 0 0 0 11 -600 -200 000 12 -600 200 400 13 -200 -200 400 14 -200 200 000 15 -270 130 330 16 -270 -130 070 17 -530 130 070 18 -530 -130 330 19 0 0 0 20 0 0 0 21 -200 200 -400 22 -200 600 000 23 200 200 000 24 200 600 -400 25 130 530 -070 26 130 270 -330 27 -130 530 -330 28 -130 270 -070 29 0 0 0 30 0 0 0 31 -200 -600 -400 32 -200 -200 000 33 200 -600 000 34 200 -200 -400 35 130 -270 -070 36 130 -530 -330 37 -130 -270 -330 38 -130 -530 -070 WMCUBE_PLANES 2 5 3 5 4 3 2 4 5 6 1 3 6 4 1 6 3 4 7 2 1 7 4 2 7 1 4 8 1 2 8 2 3 8 3 1 12 15 13 15 14 13 12 14 15 16 11 13 16 14 11 16 13 14 17 12 11 17 14 12 17 11 14 18 11 12 18 12 13 18 13 11 22 25 23 25 24 23 22 24 25 26 21 23 26 24 21 26 23 24 27 22 21 27 24 22 27 21 24 28 21 22 28 22 23 28 23 21 32 35 33 35 34 33 32 34 35 36 31 33 36 34 31 36 33 34 37 32 31 37 34 32 37 31 34 38 31 32 38 32 33 38 33 31 wmcube-1.0.2/3D-objects/8star-small.wmc0000644000000000000000000000106307170155526016256 0ustar rootrootWMCUBE_COORDINATES 1 -50 -50 0 2 50 -50 0 3 50 50 0 4 -50 50 0 5 0 0 71 6 0 0 -71 7 0 82 58 8 82 0 58 9 0 -82 58 10 -82 0 58 11 0 82 -58 12 82 0 -58 13 0 -82 -58 14 -82 0 -58 WMCUBE_LINES 2 8 2 9 2 12 2 13 4 7 4 10 4 11 4 14 1 9 1 10 1 13 1 14 3 7 3 8 3 11 3 12 5 7 5 8 5 9 5 10 6 11 6 12 6 13 6 14 wmcube-1.0.2/3D-objects/8star.wmc0000644000000000000000000000106307170155526015150 0ustar rootrootWMCUBE_COORDINATES 1 -10 -10 0 2 10 -10 0 3 10 10 0 4 -10 10 0 5 0 0 21 6 0 0 -21 7 0 82 58 8 82 0 58 9 0 -82 58 10 -82 0 58 11 0 82 -58 12 82 0 -58 13 0 -82 -58 14 -82 0 -58 WMCUBE_LINES 2 8 2 9 2 12 2 13 4 7 4 10 4 11 4 14 1 9 1 10 1 13 1 14 3 7 3 8 3 11 3 12 5 7 5 8 5 9 5 10 6 11 6 12 6 13 6 14 wmcube-1.0.2/README0000644000076500007650000000447212664675446010641 0ustar wmcube 1.0.2 --------------------------------------------------------------- Author: Cezary M. Kruk c.kruk@bigfoot.com http://linux-bsd-unix.strefa.pl Contributors: Doug Torrance wmCube 0.98 --------------------------------------------------------------- Author: Robert Kling robkli-8@student.luth.se http://boombox.campus.luth.se Contributors: Thorsten Jens Jakob Borg Dan Price Brian Joseph Czapiga Tai-hwa Liang Jared Smolens Description --------------------------------------------------------------- wmcube is a dockapp displaying a realtime rotating 3D object (plugin) together with the current CPU load. The speed of the rotation depends on the CPU load. Commands --------------------------------------------------------------- Display help: $ wmcube -h Run cube.wmc plugin from the current or default directory: $ wmcube -o cube.wmc & Run random plugin from the default directory: $ wmcube & Run random plugin from the current directory: $ wmcube -o . & Run sample.wmc plugin from the selected directory: $ wmcube -o ~/myplugins/sample.wmc & (The default directory is set to /usr/share/wmcube.) Mouse actions --------------------------------------------------------------- Display the next plugin (works with the directories including the plugins): click the center of the dockapp Zoom the plugin out or in: click - or + Hide or show CPU usage: click XX% Files --------------------------------------------------------------- 3D-objects 3D object files (plugins) COPYING GNU General Public License Version 3 CHANGES description of the changes INSTALL installation instructions README this file THANKS my thanks to other people Bugs --------------------------------------------------------------- If you discover any bugs in this software, please send a bugreport to c.kruk@bigfoot.com and describe the problem as detailed as you can. Copyright --------------------------------------------------------------- wmcube (C) 2014-2016 by Cezary M. Kruk, WrocÅ‚aw, Poland wmCube (C) 2000-2001 by Robert Kling, Lulea, Sweden wmcube-1.0.2/COPYING0000644000000000000000000010451310641054620012527 0ustar rootroot GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . wmcube-1.0.2/INSTALL0000644000076500007650000000175412664423702010774 0ustar Requirements -------------------------------------------------------------- - Linux (glibc at least 2.1) tested on various distributions or Solaris 8 Sparc/x86 (should work on Solaris 2.x and 7), or OpenBSD, or FreeBSD 3-stable, 4-stable, or NetBSD - root access To be able to install the application system-wide you need the root access. Disclaimer -------------------------------------------------------------- I tested the current version of wmcube just on Linux. The Makefiles for FreeBSD, NetBDS, OpenBSD, and Solaris were prepared in 2000 by different contributors and I can not guarantee that they still work as they should. So customizing them to your needs is up to you. Installation -------------------------------------------------------------- 1) $ tar -zxf wmcube-1.0.2.tar.gz 2) $ cd wmcube-1.0.2/wmcube 3) $ make # if you run Linux or: $ make -f Makefile.XXX # for XXX OS running Optional: 4) $ su - 5) # make install 6) # exit wmcube-1.0.2/wmgeneral/0000755000076500007650000000000012664646455011731 5ustar wmcube-1.0.2/wmgeneral/list.h0000600000076500007650000000332212664646455013045 0ustar /* Generic single linked list to keep various information Copyright (C) 1993, 1994 Free Software Foundation, Inc. Author: Kresten Krab Thorup Modified by Douglas Torrance This file is part of GNU CC. GNU CC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. GNU CC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* As a special exception, if you link this library with files compiled with GCC to produce an executable, this does not cause the resulting executable to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU General Public License. */ #ifndef __LIST_H_ #define __LIST_H_ typedef struct LinkedList { void *head; struct LinkedList *tail; } LinkedList; LinkedList* list_cons(void* head, LinkedList* tail); int list_length(LinkedList* list); void* list_nth(int index, LinkedList* list); void list_remove_head(LinkedList** list); LinkedList *list_remove_elem(LinkedList* list, void* elem); void list_mapcar(LinkedList* list, void(*function)(void*)); LinkedList*list_find(LinkedList* list, void* elem); void list_free(LinkedList* list); #endif wmcube-1.0.2/wmgeneral/list.c0000600000076500007650000000700212664646434013034 0ustar /* Generic single linked list to keep various information Copyright (C) 1993, 1994 Free Software Foundation, Inc. Author: Kresten Krab Thorup Many modifications by Alfredo K. Kojima Modified by Douglas Torrance This file is part of GNU CC. GNU CC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. GNU CC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* As a special exception, if you link this library with files compiled with GCC to produce an executable, this does not cause the resulting executable to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU General Public License. */ #include "list.h" #ifdef HAVE_SYS_TYPES_H # include #endif #include /* Return a cons cell produced from (head . tail) */ LinkedList* list_cons(void* head, LinkedList* tail) { LinkedList* cell; cell = (LinkedList*)malloc(sizeof(LinkedList)); cell->head = head; cell->tail = tail; return cell; } /* Return the length of a list, list_length(NULL) returns zero */ int list_length(LinkedList* list) { int i = 0; while(list) { i += 1; list = list->tail; } return i; } /* Return the Nth element of LIST, where N count from zero. If N larger than the list length, NULL is returned */ void* list_nth(int index, LinkedList* list) { while(index-- != 0) { if(list->tail) list = list->tail; else return 0; } return list->head; } /* Remove the element at the head by replacing it by its successor */ void list_remove_head(LinkedList** list) { if (!*list) return; if ((*list)->tail) { LinkedList* tail = (*list)->tail; /* fetch next */ *(*list) = *tail; /* copy next to list head */ free(tail); /* free next */ } else /* only one element in list */ { free(*list); (*list) = 0; } } /* Remove the element with `car' set to ELEMENT */ /* void list_remove_elem(LinkedList** list, void* elem) { while (*list) { if ((*list)->head == elem) list_remove_head(list); *list = (*list ? (*list)->tail : NULL); } }*/ LinkedList * list_remove_elem(LinkedList* list, void* elem) { LinkedList *tmp; if (list) { if (list->head == elem) { tmp = list->tail; free(list); return tmp; } list->tail = list_remove_elem(list->tail, elem); return list; } return NULL; } /* Return element that has ELEM as car */ LinkedList* list_find(LinkedList* list, void* elem) { while(list) { if (list->head == elem) return list; list = list->tail; } return NULL; } /* Free list (backwards recursive) */ void list_free(LinkedList* list) { if(list) { list_free(list->tail); free(list); } } /* Map FUNCTION over all elements in LIST */ void list_mapcar(LinkedList* list, void(*function)(void*)) { while(list) { (*function)(list->head); list = list->tail; } } wmcube-1.0.2/wmgeneral/misc.c0000600000076500007650000000703307170155525013010 0ustar /* dock.c- built-in Dock module for WindowMaker * * WindowMaker window manager * * Copyright (c) 1997 Alfredo K. Kojima * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include #include "list.h" #include "misc.h" /* *---------------------------------------------------------------------- * parse_command-- * Divides a command line into a argv/argc pair. *---------------------------------------------------------------------- */ #define PRC_ALPHA 0 #define PRC_BLANK 1 #define PRC_ESCAPE 2 #define PRC_DQUOTE 3 #define PRC_EOS 4 #define PRC_SQUOTE 5 typedef struct { short nstate; short output; } DFA; static DFA mtable[9][6] = { {{3,1},{0,0},{4,0},{1,0},{8,0},{6,0}}, {{1,1},{1,1},{2,0},{3,0},{5,0},{1,1}}, {{1,1},{1,1},{1,1},{1,1},{5,0},{1,1}}, {{3,1},{5,0},{4,0},{1,0},{5,0},{6,0}}, {{3,1},{3,1},{3,1},{3,1},{5,0},{3,1}}, {{-1,-1},{0,0},{0,0},{0,0},{0,0},{0,0}}, /* final state */ {{6,1},{6,1},{7,0},{6,1},{5,0},{3,0}}, {{6,1},{6,1},{6,1},{6,1},{5,0},{6,1}}, {{-1,-1},{0,0},{0,0},{0,0},{0,0},{0,0}}, /* final state */ }; char* next_token(char *word, char **next) { char *ptr; char *ret, *t; int state, ctype; t = ret = malloc(strlen(word)+1); ptr = word; state = 0; *t = 0; while (1) { if (*ptr==0) ctype = PRC_EOS; else if (*ptr=='\\') ctype = PRC_ESCAPE; else if (*ptr=='"') ctype = PRC_DQUOTE; else if (*ptr=='\'') ctype = PRC_SQUOTE; else if (*ptr==' ' || *ptr=='\t') ctype = PRC_BLANK; else ctype = PRC_ALPHA; if (mtable[state][ctype].output) { *t = *ptr; t++; *t = 0; } state = mtable[state][ctype].nstate; ptr++; if (mtable[state][0].output<0) { break; } } if (*ret==0) t = NULL; else t = strdup(ret); free(ret); if (ctype==PRC_EOS) *next = NULL; else *next = ptr; return t; } extern void parse_command(char *command, char ***argv, int *argc) { LinkedList *list = NULL; char *token, *line; int count, i; line = command; do { token = next_token(line, &line); if (token) { list = list_cons(token, list); } } while (token!=NULL && line!=NULL); count = list_length(list); *argv = malloc(sizeof(char*)*count); i = count; while (list!=NULL) { (*argv)[--i] = list->head; list_remove_head(&list); } *argc = count; } extern pid_t execCommand(char *command) { pid_t pid; char **argv; int argc; parse_command(command, &argv, &argc); if (argv==NULL) { return 0; } if ((pid=fork())==0) { char **args; int i; args = malloc(sizeof(char*)*(argc+1)); if (!args) exit(10); for (i=0; i extern void parse_command(char *, char ***, int *); extern pid_t execCommand(char *); #endif /* __MISC_H */ wmcube-1.0.2/wmgeneral/wmgeneral.c0000600000076500007650000003157207170155525014043 0ustar /* Best viewed with vim5, using ts=4 wmgeneral was taken from wmppp. It has a lot of routines which most of the wm* programs use. ------------------------------------------------------------ Author: Martijn Pieterse (pieterse@xs4all.nl) --- CHANGES: --- 14/09/1998 (Dave Clark, clarkd@skyia.com) * Updated createXBMfromXPM routine * Now supports >256 colors 11/09/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Removed a bug from parse_rcfile. You could not use "start" in a command if a label was also start. * Changed the needed geometry string. We don't use window size, and don't support negative positions. 03/09/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Added parse_rcfile2 02/09/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Added -geometry support (untested) 28/08/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Added createXBMfromXPM routine * Saves a lot of work with changing xpm's. 02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl) * changed the read_rc_file to parse_rcfile, as suggested by Marcelo E. Magallon * debugged the parse_rc file. 30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Ripped similar code from all the wm* programs, and put them in a single file. */ #include #include #include #include #include #include #include #include #include #include "wmgeneral.h" /*****************/ /* X11 Variables */ /*****************/ Window Root; int screen; int x_fd; int d_depth; XSizeHints mysizehints; XWMHints mywmhints; Pixel back_pix, fore_pix; char *Geometry = ""; Window iconwin, win; GC NormalGC; XpmIcon wmgen; Pixmap pixmask; /*****************/ /* Mouse Regions */ /*****************/ typedef struct { int enable; int top; int bottom; int left; int right; } MOUSE_REGION; MOUSE_REGION mouse_region[MAX_MOUSE_REGION]; /***********************/ /* Function Prototypes */ /***********************/ static void GetXPM(XpmIcon *, char **); static Pixel GetColor(char *); void RedrawWindow(void); void AddMouseRegion(int, int, int, int, int); int CheckMouseRegion(int, int); /*******************************************************************************\ |* parse_rcfile *| \*******************************************************************************/ void parse_rcfile(const char *filename, rckeys *keys) { char *p,*q; char temp[128]; char *tokens = " :\t\n"; FILE *fp; int i,key; fp = fopen(filename, "r"); if (fp) { while (fgets(temp, 128, fp)) { key = 0; q = strdup(temp); q = strtok(q, tokens); while (key >= 0 && keys[key].label) { if ((!strcmp(q, keys[key].label))) { p = strstr(temp, keys[key].label); p += strlen(keys[key].label); p += strspn(p, tokens); if ((i = strcspn(p, "#\n"))) p[i] = 0; free(*keys[key].var); *keys[key].var = strdup(p); key = -1; } else key++; } free(q); } fclose(fp); } } /*******************************************************************************\ |* parse_rcfile2 *| \*******************************************************************************/ void parse_rcfile2(const char *filename, rckeys2 *keys) { char *p; char temp[128]; char *tokens = " :\t\n"; FILE *fp; int i,key; char *family = NULL; fp = fopen(filename, "r"); if (fp) { while (fgets(temp, 128, fp)) { key = 0; while (key >= 0 && keys[key].label) { if ((p = strstr(temp, keys[key].label))) { p += strlen(keys[key].label); p += strspn(p, tokens); if ((i = strcspn(p, "#\n"))) p[i] = 0; free(*keys[key].var); *keys[key].var = strdup(p); key = -1; } else key++; } } fclose(fp); } free(family); } /*******************************************************************************\ |* GetXPM *| \*******************************************************************************/ static void GetXPM(XpmIcon *wmgen, char *pixmap_bytes[]) { XWindowAttributes attributes; int err; /* For the colormap */ XGetWindowAttributes(display, Root, &attributes); wmgen->attributes.valuemask |= (XpmReturnPixels | XpmReturnExtensions); err = XpmCreatePixmapFromData(display, Root, pixmap_bytes, &(wmgen->pixmap), &(wmgen->mask), &(wmgen->attributes)); if (err != XpmSuccess) { fprintf(stderr, "Not enough free colorcells.\n"); exit(1); } } /*******************************************************************************\ |* GetColor *| \*******************************************************************************/ static Pixel GetColor(char *name) { XColor color; XWindowAttributes attributes; XGetWindowAttributes(display, Root, &attributes); color.pixel = 0; if (!XParseColor(display, attributes.colormap, name, &color)) { fprintf(stderr, "wm.app: can't parse %s.\n", name); } else if (!XAllocColor(display, attributes.colormap, &color)) { fprintf(stderr, "wm.app: can't allocate %s.\n", name); } return color.pixel; } /*******************************************************************************\ |* flush_expose *| \*******************************************************************************/ static int flush_expose(Window w) { XEvent dummy; int i=0; while (XCheckTypedWindowEvent(display, w, Expose, &dummy)) i++; return i; } /*******************************************************************************\ |* RedrawWindow *| \*******************************************************************************/ void RedrawWindow(void) { flush_expose(iconwin); XCopyArea(display, wmgen.pixmap, iconwin, NormalGC, 0,0, wmgen.attributes.width, wmgen.attributes.height, 0,0); flush_expose(win); XCopyArea(display, wmgen.pixmap, win, NormalGC, 0,0, wmgen.attributes.width, wmgen.attributes.height, 0,0); } /*******************************************************************************\ |* RedrawWindowXY *| \*******************************************************************************/ void RedrawWindowXY(int x, int y) { flush_expose(iconwin); XCopyArea(display, wmgen.pixmap, iconwin, NormalGC, x,y, wmgen.attributes.width, wmgen.attributes.height, 0,0); flush_expose(win); XCopyArea(display, wmgen.pixmap, win, NormalGC, x,y, wmgen.attributes.width, wmgen.attributes.height, 0,0); } /*******************************************************************************\ |* AddMouseRegion *| \*******************************************************************************/ void AddMouseRegion(int index, int left, int top, int right, int bottom) { if (index < MAX_MOUSE_REGION) { mouse_region[index].enable = 1; mouse_region[index].top = top; mouse_region[index].left = left; mouse_region[index].bottom = bottom; mouse_region[index].right = right; } } /*******************************************************************************\ |* CheckMouseRegion *| \*******************************************************************************/ int CheckMouseRegion(int x, int y) { int i; int found; found = 0; for (i=0; i= mouse_region[i].left && y <= mouse_region[i].bottom && y >= mouse_region[i].top) found = 1; } if (!found) return -1; return (i-1); } /*******************************************************************************\ |* createXBMfromXPM *| \*******************************************************************************/ void createXBMfromXPM(char *xbm, char **xpm, int sx, int sy) { int i,j,k; int width, height, numcol, depth; int zero=0; unsigned char bwrite; int bcount; int curpixel; sscanf(*xpm, "%d %d %d %d", &width, &height, &numcol, &depth); for (k=0; k!=depth; k++) { zero <<=8; zero |= xpm[1][k]; } for (i=numcol+1; i < numcol+sy+1; i++) { bcount = 0; bwrite = 0; for (j=0; j>= 1; curpixel=0; for (k=0; k!=depth; k++) { curpixel <<=8; curpixel |= xpm[i][j+k]; } if ( curpixel != zero ) { bwrite += 128; } bcount++; if (bcount == 8) { *xbm = bwrite; xbm++; bcount = 0; bwrite = 0; } } } } /*******************************************************************************\ |* copyXPMArea *| \*******************************************************************************/ void copyXPMArea(int x, int y, int sx, int sy, int dx, int dy) { XCopyArea(display, wmgen.pixmap, wmgen.pixmap, NormalGC, x, y, sx, sy, dx, dy); } /*******************************************************************************\ |* copyXBMArea *| \*******************************************************************************/ void copyXBMArea(int x, int y, int sx, int sy, int dx, int dy) { XCopyArea(display, wmgen.mask, wmgen.pixmap, NormalGC, x, y, sx, sy, dx, dy); } /*******************************************************************************\ |* setMaskXY *| \*******************************************************************************/ void setMaskXY(int x, int y) { XShapeCombineMask(display, win, ShapeBounding, x, y, pixmask, ShapeSet); XShapeCombineMask(display, iconwin, ShapeBounding, x, y, pixmask, ShapeSet); } /*******************************************************************************\ |* openXwindow *| \*******************************************************************************/ void openXwindow(int argc, char *argv[], char *pixmap_bytes[], char *pixmask_bits, int pixmask_width, int pixmask_height) { unsigned int borderwidth = 1; XClassHint classHint; char *display_name = NULL; char *wname = argv[0]; XTextProperty name; XGCValues gcv; unsigned long gcm; char *geometry = NULL; int dummy=0; int i, wx, wy; for (i=1; argv[i]; i++) { if (!strcmp(argv[i], "-display")) { display_name = argv[i+1]; i++; } if (!strcmp(argv[i], "-geometry")) { geometry = argv[i+1]; i++; } } if (!(display = XOpenDisplay(display_name))) { fprintf(stderr, "%s: can't open display %s\n", wname, XDisplayName(display_name)); exit(1); } screen = DefaultScreen(display); Root = RootWindow(display, screen); d_depth = DefaultDepth(display, screen); x_fd = XConnectionNumber(display); /* Convert XPM to XImage */ GetXPM(&wmgen, pixmap_bytes); /* Create a window to hold the stuff */ mysizehints.flags = USSize | USPosition; mysizehints.x = 0; mysizehints.y = 0; back_pix = GetColor("white"); fore_pix = GetColor("black"); XWMGeometry(display, screen, Geometry, NULL, borderwidth, &mysizehints, &mysizehints.x, &mysizehints.y,&mysizehints.width,&mysizehints.height, &dummy); mysizehints.width = 64; mysizehints.height = 64; win = XCreateSimpleWindow(display, Root, mysizehints.x, mysizehints.y, mysizehints.width, mysizehints.height, borderwidth, fore_pix, back_pix); iconwin = XCreateSimpleWindow(display, win, mysizehints.x, mysizehints.y, mysizehints.width, mysizehints.height, borderwidth, fore_pix, back_pix); /* Activate hints */ XSetWMNormalHints(display, win, &mysizehints); classHint.res_name = wname; classHint.res_class = wname; XSetClassHint(display, win, &classHint); XSelectInput(display, win, ButtonPressMask | ExposureMask | ButtonReleaseMask | PointerMotionMask | StructureNotifyMask); XSelectInput(display, iconwin, ButtonPressMask | ExposureMask | ButtonReleaseMask | PointerMotionMask | StructureNotifyMask); if (XStringListToTextProperty(&wname, 1, &name) == 0) { fprintf(stderr, "%s: can't allocate window name\n", wname); exit(1); } XSetWMName(display, win, &name); /* Create GC for drawing */ gcm = GCForeground | GCBackground | GCGraphicsExposures; gcv.foreground = fore_pix; gcv.background = back_pix; gcv.graphics_exposures = 0; NormalGC = XCreateGC(display, Root, gcm, &gcv); /* ONLYSHAPE ON */ pixmask = XCreateBitmapFromData(display, win, pixmask_bits, pixmask_width, pixmask_height); XShapeCombineMask(display, win, ShapeBounding, 0, 0, pixmask, ShapeSet); XShapeCombineMask(display, iconwin, ShapeBounding, 0, 0, pixmask, ShapeSet); /* ONLYSHAPE OFF */ mywmhints.initial_state = WithdrawnState; mywmhints.icon_window = iconwin; mywmhints.icon_x = mysizehints.x; mywmhints.icon_y = mysizehints.y; mywmhints.window_group = win; mywmhints.flags = StateHint | IconWindowHint | IconPositionHint | WindowGroupHint; XSetWMHints(display, win, &mywmhints); XSetCommand(display, win, argv, argc); XMapWindow(display, win); if (geometry) { if (sscanf(geometry, "+%d+%d", &wx, &wy) != 2) { fprintf(stderr, "Bad geometry string.\n"); exit(1); } XMoveWindow(display, win, wx, wy); } } wmcube-1.0.2/CHANGES0000644000076500007650000000447412664675661010755 0ustar wmcube 1.0.2 (February 28, 2016): * Two following patches by Douglas Torrance: avoiding hyphen-used-as-minus-sign Lintian warning as well as removing inline keywords and allowing builds using gcc5. wmcube 1.0.1 (February 19, 2015): * Applied a few patches written by Doug Torrance (see: THANKS file). * Updated Makefile (Makefile.LINUX) file according to the modifications by Doug Torrance. * Added three new objects -- X-lines.wmc, X-planes.wmc, and beryllium.wmc -- all of them recommended by Doug Torrance. * Added updated version of wmcube.1 manual page borrowed from Debian. * Added THANKS file. wmcube 1.0.0 (November 26, 2014): * Default color scheme changed to the gray one. * Added red, green, and blue color schemes (you may combine them in order to get cyan, magenta, and yellow ones). * Added smooth font. * Program installs the plugins in /usr/share/wmcube directory. * Added the recognition of the plugins directory. * Added three versions of Slackware Linux logo. * Updated Makefiles. * Updated the documentation. * The name of the program changed from wmCube to wmcube. * Licence changed to GNU GPL v. 3. * The program since this version is maintained by Cezary M. Kruk. wmCube 0.98: * Added solid flat-shading to 3d-engine. * New tag in object-files (WMCUBE_PLANES) for solid objects. wmCube 0.97: * NetBSD support. * New improved automatic scaling of objects. * Click cpu-load to hide/reveal usage. * More bundled objects. * Bugfixes in object-loading. * Bugfixes in intro-sequence. * Bugfixes in Linux SMP. * Removed scanning directory for objects in Solaris (doesnt work). wmCube 0.96: * Solaris (Sparc/x86) support. * OpenBSD support. * FreeBSD support. * More bundled objects. * Possibility to change object at run-time by clicking the app (scans the specified directory for objects). wmCube 0.95: * You can now design and use other objects than the default cube. * SMP-support: Commandline option to choose which cpu to monitor. * Commandline option to leave out "nice" processes when calculating cpu-load (thanks to Thorsten Jens). * Commandline option to invert the relationship between rotation- speed and cpu-load. * Commandline option not to display cpu-load. * Improvements in the cpu-load calculation (thanks to Jakob Borg). wmCube 0.90: * Initial release. wmcube-1.0.2/THANKS0000644000000000000000000000166112664650344012423 0ustar rootroot I would like to thank to Douglas Torrance for his contribution to wmcube including: * a set of patches: - remove_inline_keywords.patch -- removes inline keywords; allows builds using gcc5. - manpage_escape_hyphens.patch -- avoids hyphen-used-as-minus-sign Lintian warning. - 30_bts-386850_fix_smp.patch -- fixes smp support, reading all the fields in /proc/stat; - 40_bts-357072_long_uptime_fix.patch -- fixes execution on machine with long uptime; - fix_-Wunused-result_v2.patch -- fixes -Wunused-result compiler warnings; - fix_cppcheck_warnings.patch -- fixes warnings found by cppcheck; - fix_grammar.patch -- fixes grammar in error message; - freebsd_sysctl.patch -- uses sysctl instead of kvm to get cpu stats on kfreebsd; * a few updates in Makefile (Makefile.LINUX) file; * three new objects: - X-lines.wmc, - X-planes.wmc, - beryllium.wmc; * wmcube.1 manual page. wmcube-1.0.2/wmcube/0000755000000000000000000000000012664675641012775 5ustar rootrootwmcube-1.0.2/wmcube/wmcubegreen.xpm0000644000000000000000000005352312435221243016013 0ustar rootroot/* XPM */ static char * wmcubegreen_xpm[] = { "160 133 32 1", " c #0000FF", "+ c #000000", "@ c #00D21E", "# c #00A818", "$ c #808080", "% c #004A05", "& c #00D01D", "* c #00CC22", "= c #00C81C", "- c #00BE1F", "; c #00B81E", "> c #00B419", ", c #00AE19", "' c #007E09", ") c #00A217", "! c #009C16", "~ c #009615", "{ c #009014", "] c #008C14", "^ c #008613", "/ c #008012", "( c #007A11", "_ c #007410", ": c #00700D", "< c #006E10", "[ c #00680F", "} c #00620E", "| c #005C0F", "1 c #005C0D", "2 c #00580C", "3 c #00520C", "4 c #004E0B", " ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ @#", " +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++%%++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++%%++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$++++++%%%%%%+++++++++++++++++++++++++++++++++%%%%%%++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$++++++%%%%%%+++++++++++++++++++++++++++++++++%%%%%%++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++%%++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++%%++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ + &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ + ********************************************************", " $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ + ========================================================", " + --------------------------------------------------------", " + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;", " + >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>", " + ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ########################################################", "++@@@+++++'++'@@@'+'@@@'+'+++'+'@@@'+'@@@'+'@@@'+'@@@'+'@@@'+++++++@@+@+++++++ ))))))))))))))))))))))))))))))))))))))))))))))))))))))))", "+@+++@++++@++++++@+++++@+@+++@+@+++++@+++++++++@+@+++@+@+++@+++++++@@+@+++++++ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!", "+@+++@++++@++++++@+++++@+@+++@+@+++++@+++++++++@+@+++@+@+++@+++++++++@++++++++ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~", "+'+++'++++'++'@@@'++@@@'+'@@@'+'@@@'+'@@@'+++++'+%@@@%+'@@@'+++++++++@++++++++ {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{", "+@+++@++++@++@+++++++++@+++++@+++++@+@+++@+++++@+@+++@+++++@+++++++++@++++++++ ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]", "+@+++@++++@++@+++++++++@+++++@+++++@+@+++@+++++@+@+++@+++++@+++@++++@+@@++++++ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", "++@@@+++++@++'@@@'+'@@@'+++++'+'@@@'+'@@@'+++++'+'@@@'+'@@@'+++'++++@+@@++++++ ////////////////////////////////////////////////////////", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ((((((((((((((((((((((((((((((((((((((((((((((((((((((((", " ________________________________________________________", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", "+%@@@%+'@@@++'@@@'+'@@@++'@@@'+'@@@'+'@@@'+'+++'+++'+++++++'+'+++'+'+++++@+++@+'@@@++'@@@'+'@@@'+'@@@'+'@@@'+'@@@'+'@@@'+'+++'+'+++'+'+++'+'+++'+'+++'+'@@@' ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++++@+++@+++@+++++++@+@+++@+@+++++@@+@@+@+++@+@+++@+@+++@+@+++@+@+++@+@+++++++@+++@+++@+@+++@+@+++@+@+++@+@+++@+++++@ ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++++@+++@+++@+++++++@+@++@++@+++++@+@+@+@+++@+@+++@+@+++@+@+++@+@+++@+@+++++++@+++@+++@+@+++@+@+++@++@+@++@+++@+++++@ ", "+'@@@'+'@@@++'+++++'+++'+'@@@++'@@@++'+@@'+'@@@'+++'+++++++'+'@@%++'+++++'+++'+'+++'+'+++'+'@@@'+'@++'+'@@@++'@@@'+++'+++'+++'+'+++'+'+++'++%@%++'@@@'+'@@@' ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++@+@+++@+++@+++++++@+@++@++@+++++@+++@+@+++@+@+++@+@+++++@+@+@+@+++@+++++@+++@+++@+++@+@'+'@+@+@+@++@+@++++++@+@++++ ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++@+@+++@+++@+++++++@+@+++@+@+++++@+++@+@+++@+@+++@+@+++++@++@@+@+++@+++++@+++@+++@+++@++@'@++@@+@@+@+++@+++++@+@++++ ", "+'+++'+'@@@++'@@@'+@@@@++'@@@'+@+++++'@@@'+'+++'+++@+++'@@@'+'+++'+'@@@%+'+++'+@+++@+'@@@'+'+++++'@@@'+'+++'+'@@@'+++'+++%@@@@+++@+++@+++@+'+++@+'@@@'+'@@@' ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", " ::::::::::::::::::::::::::::::::::::::::::::::::::::::::", "+++++++++++++ <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<", "+++''++++++++ [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[", "+++''++++++++ }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}", "+'''''''''''' ||||||||||||||||||||||||||||||||||||||||||||||||||||||||", "+'''''''''''' 11111111111111111111111111111111111111111111111111111111", "+++''++++++++ 22222222222222222222222222222222222222222222222222222222", "+++''++++++++ 33333333333333333333333333333333333333333333333333333333", "+++++++++++++ 44444444444444444444444444444444444444444444444444444444", "+++++++++++++ ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", "++@@@+++++@+++@@@++@@@@@+++++@+@@@@@++@@@++@@@@@++@@@+++@@@++++++++@@+@+++++++ ", "+@+++@+++@@++@+++@++++@+++++@@+@+++++@++++++++@++@+++@+@+++@+++++++@@+@+++++++ ", "+@++@@++++@++++++@+++@@++++@+@+@@@@++@++++++++@++@+++@+@+++@+++++++++@++++++++ ", "+@+@+@++++@+++++@++++++@++@++@+@+++@+@@@@++++@++++@@@+++@@@@+++++++++@++++++++ ", "+@@++@++++@++++@+++++++@+@@@@@+++++@+@+++@+++@+++@+++@+++++@+++++++++@++++++++ ", "+@+++@++++@+++@++++@+++@+++++@+@+++@+@+++@++@++++@+++@+++++@++++++++@+@@++++++ ", "++@@@+++++@++@@@@@++@@@++++++@++@@@+++@@@+++@+++++@@@+++@@@++++@++++@+@@++++++ ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", " ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", "+++@+++@@@@+++@@@++@@@@++@@@@@+@@@@@++@@@++@+++@+++@+++++++@+@+++@+@+++++@+++@+@+++@++@@@++@@@@+++@@@++@@@@+++@@@++@@@@@+@+++@+@+++@+@+++@+@+++@+@+++@+@@@@@ ", "++@+@++@+++@+@+++@+@+++@+@+++++@+++++@+++@+@+++@+++@+++++++@+@++@++@+++++@@+@@+@+++@+@+++@+@+++@+@+++@+@+++@+@+++@+++@+++@+++@+@+++@+@+++@+@+++@+@+++@+++++@ ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++++@+++@+++@+++++++@+@+@+++@+++++@+@+@+@@++@+@+++@+@+++@+@+++@+@+++@+@+++++++@+++@+++@+@+++@+@+++@++@+@+++@+@+++++@+ ", "+@@@@@+@@@@++@+++++@+++@+@@@@++@@@@++@++@@+@@@@@+++@+++++++@+@@++++@+++++@+++@+@+@+@+@+++@+@@@@++@+++@+@@@@+++@@@++++@+++@+++@+@+++@+@+++@+++@+++++@+++++@++ ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++@+@+++@+++@+++++++@+@+@+++@+++++@+++@+@++@@+@+++@+@+++++@+++@+@+@+++++++@+++@+++@+++@+@+++@+@+@+@++@+@++++@++++@+++ ", "+@+++@+@+++@+@+++@+@+++@+@+++++@+++++@+++@+@+++@+++@+++@+++@+@++@++@+++++@+++@+@+++@+@+++@+@+++++@+++@+@++@++@+++@+++@+++@+++@++@+@++@@+@@+@+++@+++@+++@++++ ", "+@+++@+@@@@+++@@@++@@@@++@@@@@+@++++++@@@++@+++@+++@++++@@@++@+++@+@@@@@+@+++@+@+++@++@@@++@++++++@@@++@+++@++@@@++++@++++@@@++++@+++@+++@+@+++@+++@+++@@@@@ ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++@+++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", " ", "+++++++++++++ ", "+++''++++++++ ", "+++''++++++++ ", "+'''''''''''' ", "+'''''''''''' ", "+++''++++++++ ", "+++''++++++++ ", "+++++++++++++ ", "+++++++++++++ "}; wmcube-1.0.2/wmcube/wmcubemagenta.xpm0000644000000000000000000005352512435221255016334 0ustar rootroot/* XPM */ static char * wmcubemagenta_xpm[] = { "160 133 32 1", " c #0000FF", "+ c #000000", "@ c #A300D2", "# c #8200A8", "$ c #808080", "% c #34004A", "& c #A200D0", "* c #A300CC", "= c #9B00C8", "- c #9800BE", "; c #9300B8", "> c #8C00B4", ", c #8700AE", "' c #59007E", ") c #7E00A2", "! c #79009C", "~ c #740096", "{ c #700090", "] c #6D008C", "^ c #680086", "/ c #630080", "( c #5F007A", "_ c #5A0074", ": c #540070", "< c #55006E", "[ c #510068", "} c #4C0062", "| c #4A005C", "1 c #47005C", "2 c #440058", "3 c #400052", "4 c #3D004E", " ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ @#", " +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++%%++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++%%++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$++++++%%%%%%+++++++++++++++++++++++++++++++++%%%%%%++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$++++++%%%%%%+++++++++++++++++++++++++++++++++%%%%%%++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++%%++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++%%++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ + &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ + ********************************************************", " $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ + ========================================================", " + --------------------------------------------------------", " + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;", " + >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>", " + ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ########################################################", "++@@@+++++'++'@@@'+'@@@'+'+++'+'@@@'+'@@@'+'@@@'+'@@@'+'@@@'+++++++@@+@+++++++ ))))))))))))))))))))))))))))))))))))))))))))))))))))))))", "+@+++@++++@++++++@+++++@+@+++@+@+++++@+++++++++@+@+++@+@+++@+++++++@@+@+++++++ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!", "+@+++@++++@++++++@+++++@+@+++@+@+++++@+++++++++@+@+++@+@+++@+++++++++@++++++++ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~", "+'+++'++++'++'@@@'++@@@'+'@@@'+'@@@'+'@@@'+++++'+%@@@%+'@@@'+++++++++@++++++++ {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{", "+@+++@++++@++@+++++++++@+++++@+++++@+@+++@+++++@+@+++@+++++@+++++++++@++++++++ ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]", "+@+++@++++@++@+++++++++@+++++@+++++@+@+++@+++++@+@+++@+++++@+++@++++@+@@++++++ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", "++@@@+++++@++'@@@'+'@@@'+++++'+'@@@'+'@@@'+++++'+'@@@'+'@@@'+++'++++@+@@++++++ ////////////////////////////////////////////////////////", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ((((((((((((((((((((((((((((((((((((((((((((((((((((((((", " ________________________________________________________", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", "+%@@@%+'@@@++'@@@'+'@@@++'@@@'+'@@@'+'@@@'+'+++'+++'+++++++'+'+++'+'+++++@+++@+'@@@++'@@@'+'@@@'+'@@@'+'@@@'+'@@@'+'@@@'+'+++'+'+++'+'+++'+'+++'+'+++'+'@@@' ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++++@+++@+++@+++++++@+@+++@+@+++++@@+@@+@+++@+@+++@+@+++@+@+++@+@+++@+@+++++++@+++@+++@+@+++@+@+++@+@+++@+@+++@+++++@ ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++++@+++@+++@+++++++@+@++@++@+++++@+@+@+@+++@+@+++@+@+++@+@+++@+@+++@+@+++++++@+++@+++@+@+++@+@+++@++@+@++@+++@+++++@ ", "+'@@@'+'@@@++'+++++'+++'+'@@@++'@@@++'+@@'+'@@@'+++'+++++++'+'@@%++'+++++'+++'+'+++'+'+++'+'@@@'+'@++'+'@@@++'@@@'+++'+++'+++'+'+++'+'+++'++%@%++'@@@'+'@@@' ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++@+@+++@+++@+++++++@+@++@++@+++++@+++@+@+++@+@+++@+@+++++@+@+@+@+++@+++++@+++@+++@+++@+@'+'@+@+@+@++@+@++++++@+@++++ ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++@+@+++@+++@+++++++@+@+++@+@+++++@+++@+@+++@+@+++@+@+++++@++@@+@+++@+++++@+++@+++@+++@++@'@++@@+@@+@+++@+++++@+@++++ ", "+'+++'+'@@@++'@@@'+@@@@++'@@@'+@+++++'@@@'+'+++'+++@+++'@@@'+'+++'+'@@@%+'+++'+@+++@+'@@@'+'+++++'@@@'+'+++'+'@@@'+++'+++%@@@@+++@+++@+++@+'+++@+'@@@'+'@@@' ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", " ::::::::::::::::::::::::::::::::::::::::::::::::::::::::", "+++++++++++++ <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<", "+++''++++++++ [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[", "+++''++++++++ }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}", "+'''''''''''' ||||||||||||||||||||||||||||||||||||||||||||||||||||||||", "+'''''''''''' 11111111111111111111111111111111111111111111111111111111", "+++''++++++++ 22222222222222222222222222222222222222222222222222222222", "+++''++++++++ 33333333333333333333333333333333333333333333333333333333", "+++++++++++++ 44444444444444444444444444444444444444444444444444444444", "+++++++++++++ ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", "++@@@+++++@+++@@@++@@@@@+++++@+@@@@@++@@@++@@@@@++@@@+++@@@++++++++@@+@+++++++ ", "+@+++@+++@@++@+++@++++@+++++@@+@+++++@++++++++@++@+++@+@+++@+++++++@@+@+++++++ ", "+@++@@++++@++++++@+++@@++++@+@+@@@@++@++++++++@++@+++@+@+++@+++++++++@++++++++ ", "+@+@+@++++@+++++@++++++@++@++@+@+++@+@@@@++++@++++@@@+++@@@@+++++++++@++++++++ ", "+@@++@++++@++++@+++++++@+@@@@@+++++@+@+++@+++@+++@+++@+++++@+++++++++@++++++++ ", "+@+++@++++@+++@++++@+++@+++++@+@+++@+@+++@++@++++@+++@+++++@++++++++@+@@++++++ ", "++@@@+++++@++@@@@@++@@@++++++@++@@@+++@@@+++@+++++@@@+++@@@++++@++++@+@@++++++ ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", " ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", "+++@+++@@@@+++@@@++@@@@++@@@@@+@@@@@++@@@++@+++@+++@+++++++@+@+++@+@+++++@+++@+@+++@++@@@++@@@@+++@@@++@@@@+++@@@++@@@@@+@+++@+@+++@+@+++@+@+++@+@+++@+@@@@@ ", "++@+@++@+++@+@+++@+@+++@+@+++++@+++++@+++@+@+++@+++@+++++++@+@++@++@+++++@@+@@+@+++@+@+++@+@+++@+@+++@+@+++@+@+++@+++@+++@+++@+@+++@+@+++@+@+++@+@+++@+++++@ ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++++@+++@+++@+++++++@+@+@+++@+++++@+@+@+@@++@+@+++@+@+++@+@+++@+@+++@+@+++++++@+++@+++@+@+++@+@+++@++@+@+++@+@+++++@+ ", "+@@@@@+@@@@++@+++++@+++@+@@@@++@@@@++@++@@+@@@@@+++@+++++++@+@@++++@+++++@+++@+@+@+@+@+++@+@@@@++@+++@+@@@@+++@@@++++@+++@+++@+@+++@+@+++@+++@+++++@+++++@++ ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++@+@+++@+++@+++++++@+@+@+++@+++++@+++@+@++@@+@+++@+@+++++@+++@+@+@+++++++@+++@+++@+++@+@+++@+@+@+@++@+@++++@++++@+++ ", "+@+++@+@+++@+@+++@+@+++@+@+++++@+++++@+++@+@+++@+++@+++@+++@+@++@++@+++++@+++@+@+++@+@+++@+@+++++@+++@+@++@++@+++@+++@+++@+++@++@+@++@@+@@+@+++@+++@+++@++++ ", "+@+++@+@@@@+++@@@++@@@@++@@@@@+@++++++@@@++@+++@+++@++++@@@++@+++@+@@@@@+@+++@+@+++@++@@@++@++++++@@@++@+++@++@@@++++@++++@@@++++@+++@+++@+@+++@+++@+++@@@@@ ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++@+++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", " ", "+++++++++++++ ", "+++''++++++++ ", "+++''++++++++ ", "+'''''''''''' ", "+'''''''''''' ", "+++''++++++++ ", "+++''++++++++ ", "+++++++++++++ ", "+++++++++++++ "}; wmcube-1.0.2/wmcube/wmcubecyan.xpm0000644000000000000000000005352212435221226015645 0ustar rootroot/* XPM */ static char * wmcubecyan_xpm[] = { "160 133 32 1", " c #0000FF", "+ c #000000", "@ c #00D2CB", "# c #00A8A2", "$ c #808080", "% c #004A42", "& c #00D0C9", "* c #00CCCA", "= c #00C8C1", "- c #00BEBC", "; c #00B8B6", "> c #00B4AE", ", c #00AEA8", "' c #007E71", ") c #00A29C", "! c #009C96", "~ c #009691", "{ c #00908B", "] c #008C87", "^ c #008681", "/ c #00807B", "( c #007A76", "_ c #007470", ": c #007069", "< c #006E6A", "[ c #006864", "} c #00625F", "| c #005C5B", "1 c #005C59", "2 c #005855", "3 c #00524F", "4 c #004E4B", " ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ @#", " +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++%%++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++%%++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$++++++%%%%%%+++++++++++++++++++++++++++++++++%%%%%%++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$++++++%%%%%%+++++++++++++++++++++++++++++++++%%%%%%++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++%%++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++%%++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ + &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ + ********************************************************", " $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ + ========================================================", " + --------------------------------------------------------", " + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;", " + >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>", " + ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ########################################################", "++@@@+++++'++'@@@'+'@@@'+'+++'+'@@@'+'@@@'+'@@@'+'@@@'+'@@@'+++++++@@+@+++++++ ))))))))))))))))))))))))))))))))))))))))))))))))))))))))", "+@+++@++++@++++++@+++++@+@+++@+@+++++@+++++++++@+@+++@+@+++@+++++++@@+@+++++++ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!", "+@+++@++++@++++++@+++++@+@+++@+@+++++@+++++++++@+@+++@+@+++@+++++++++@++++++++ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~", "+'+++'++++'++'@@@'++@@@'+'@@@'+'@@@'+'@@@'+++++'+%@@@%+'@@@'+++++++++@++++++++ {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{", "+@+++@++++@++@+++++++++@+++++@+++++@+@+++@+++++@+@+++@+++++@+++++++++@++++++++ ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]", "+@+++@++++@++@+++++++++@+++++@+++++@+@+++@+++++@+@+++@+++++@+++@++++@+@@++++++ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", "++@@@+++++@++'@@@'+'@@@'+++++'+'@@@'+'@@@'+++++'+'@@@'+'@@@'+++'++++@+@@++++++ ////////////////////////////////////////////////////////", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ((((((((((((((((((((((((((((((((((((((((((((((((((((((((", " ________________________________________________________", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", "+%@@@%+'@@@++'@@@'+'@@@++'@@@'+'@@@'+'@@@'+'+++'+++'+++++++'+'+++'+'+++++@+++@+'@@@++'@@@'+'@@@'+'@@@'+'@@@'+'@@@'+'@@@'+'+++'+'+++'+'+++'+'+++'+'+++'+'@@@' ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++++@+++@+++@+++++++@+@+++@+@+++++@@+@@+@+++@+@+++@+@+++@+@+++@+@+++@+@+++++++@+++@+++@+@+++@+@+++@+@+++@+@+++@+++++@ ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++++@+++@+++@+++++++@+@++@++@+++++@+@+@+@+++@+@+++@+@+++@+@+++@+@+++@+@+++++++@+++@+++@+@+++@+@+++@++@+@++@+++@+++++@ ", "+'@@@'+'@@@++'+++++'+++'+'@@@++'@@@++'+@@'+'@@@'+++'+++++++'+'@@%++'+++++'+++'+'+++'+'+++'+'@@@'+'@++'+'@@@++'@@@'+++'+++'+++'+'+++'+'+++'++%@%++'@@@'+'@@@' ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++@+@+++@+++@+++++++@+@++@++@+++++@+++@+@+++@+@+++@+@+++++@+@+@+@+++@+++++@+++@+++@+++@+@'+'@+@+@+@++@+@++++++@+@++++ ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++@+@+++@+++@+++++++@+@+++@+@+++++@+++@+@+++@+@+++@+@+++++@++@@+@+++@+++++@+++@+++@+++@++@'@++@@+@@+@+++@+++++@+@++++ ", "+'+++'+'@@@++'@@@'+@@@@++'@@@'+@+++++'@@@'+'+++'+++@+++'@@@'+'+++'+'@@@%+'+++'+@+++@+'@@@'+'+++++'@@@'+'+++'+'@@@'+++'+++%@@@@+++@+++@+++@+'+++@+'@@@'+'@@@' ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", " ::::::::::::::::::::::::::::::::::::::::::::::::::::::::", "+++++++++++++ <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<", "+++''++++++++ [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[", "+++''++++++++ }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}", "+'''''''''''' ||||||||||||||||||||||||||||||||||||||||||||||||||||||||", "+'''''''''''' 11111111111111111111111111111111111111111111111111111111", "+++''++++++++ 22222222222222222222222222222222222222222222222222222222", "+++''++++++++ 33333333333333333333333333333333333333333333333333333333", "+++++++++++++ 44444444444444444444444444444444444444444444444444444444", "+++++++++++++ ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", "++@@@+++++@+++@@@++@@@@@+++++@+@@@@@++@@@++@@@@@++@@@+++@@@++++++++@@+@+++++++ ", "+@+++@+++@@++@+++@++++@+++++@@+@+++++@++++++++@++@+++@+@+++@+++++++@@+@+++++++ ", "+@++@@++++@++++++@+++@@++++@+@+@@@@++@++++++++@++@+++@+@+++@+++++++++@++++++++ ", "+@+@+@++++@+++++@++++++@++@++@+@+++@+@@@@++++@++++@@@+++@@@@+++++++++@++++++++ ", "+@@++@++++@++++@+++++++@+@@@@@+++++@+@+++@+++@+++@+++@+++++@+++++++++@++++++++ ", "+@+++@++++@+++@++++@+++@+++++@+@+++@+@+++@++@++++@+++@+++++@++++++++@+@@++++++ ", "++@@@+++++@++@@@@@++@@@++++++@++@@@+++@@@+++@+++++@@@+++@@@++++@++++@+@@++++++ ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", " ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", "+++@+++@@@@+++@@@++@@@@++@@@@@+@@@@@++@@@++@+++@+++@+++++++@+@+++@+@+++++@+++@+@+++@++@@@++@@@@+++@@@++@@@@+++@@@++@@@@@+@+++@+@+++@+@+++@+@+++@+@+++@+@@@@@ ", "++@+@++@+++@+@+++@+@+++@+@+++++@+++++@+++@+@+++@+++@+++++++@+@++@++@+++++@@+@@+@+++@+@+++@+@+++@+@+++@+@+++@+@+++@+++@+++@+++@+@+++@+@+++@+@+++@+@+++@+++++@ ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++++@+++@+++@+++++++@+@+@+++@+++++@+@+@+@@++@+@+++@+@+++@+@+++@+@+++@+@+++++++@+++@+++@+@+++@+@+++@++@+@+++@+@+++++@+ ", "+@@@@@+@@@@++@+++++@+++@+@@@@++@@@@++@++@@+@@@@@+++@+++++++@+@@++++@+++++@+++@+@+@+@+@+++@+@@@@++@+++@+@@@@+++@@@++++@+++@+++@+@+++@+@+++@+++@+++++@+++++@++ ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++@+@+++@+++@+++++++@+@+@+++@+++++@+++@+@++@@+@+++@+@+++++@+++@+@+@+++++++@+++@+++@+++@+@+++@+@+@+@++@+@++++@++++@+++ ", "+@+++@+@+++@+@+++@+@+++@+@+++++@+++++@+++@+@+++@+++@+++@+++@+@++@++@+++++@+++@+@+++@+@+++@+@+++++@+++@+@++@++@+++@+++@+++@+++@++@+@++@@+@@+@+++@+++@+++@++++ ", "+@+++@+@@@@+++@@@++@@@@++@@@@@+@++++++@@@++@+++@+++@++++@@@++@+++@+@@@@@+@+++@+@+++@++@@@++@++++++@@@++@+++@++@@@++++@++++@@@++++@+++@+++@+@+++@+++@+++@@@@@ ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++@+++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", " ", "+++++++++++++ ", "+++''++++++++ ", "+++''++++++++ ", "+'''''''''''' ", "+'''''''''''' ", "+++''++++++++ ", "+++''++++++++ ", "+++++++++++++ ", "+++++++++++++ "}; wmcube-1.0.2/wmcube/Makefile.OPENBSD0000644000000000000000000000250512664423712015516 0ustar rootrootCC = gcc OS = -DOPENBSD VERSION = 1.0.2 LIBDIR = -L/usr/X11R6/lib -L./libdocapp/ # Edit OSLIBS as appropriate to include OS specific libraries. OSLIBS = LIBS = -lXpm -lXext -lX11 -lm $(OSLIBS) INCLUDES = -I/usr/X11R6/include CFLAGS = -Wall -O2 $(OS) $(INCLUDES) PREFIX = /usr BINDIR = $(PREFIX)/bin DOCDIR = $(PREFIX)/doc/wmcube-$(VERSION) MANDIR = $(PREFIX)/man/man1 OBJDIR = $(PREFIX)/share/wmcube OBJS = wmcube.o \ ../wmgeneral/wmgeneral.o \ ../wmgeneral/misc.o \ ../wmgeneral/list.o .c.o: $(CC) $(CFLAGS) $(INCDIR) -c $< -o $*.o wmcube: $(OBJS) $(CC) -o wmcube $^ -lXext $(LIBDIR) $(LIBS) $> all:: wmcube clean:: for i in $(OBJS) ; do \ rm -f $$i ; \ done rm -f wmcube rm -f *~ install:: wmcube cp -f wmcube $(BINDIR) chmod 755 $(BINDIR)/wmcube chown root:root $(BINDIR)/wmcube mkdir -p $(DOCDIR) cp -p ../CHANGES ../COPYING ../INSTALL ../README ../THANKS $(DOCDIR) cp -pr ../3D-objects $(DOCDIR) cp -p wmcube.1 $(MANDIR) mkdir -p $(OBJDIR) cp -p ../3D-objects/* $(OBJDIR) @echo "wmcube installation finished..." uninstall:: rm -f $(BINDIR)/wmcube rm -f $(DOCDIR)/3D-objects/* if [ -d $(DOCDIR)/3D-objects ]; then rmdir $(DOCDIR)/3D-objects; fi rm -f $(DOCDIR)/* if [ -d $(DOCDIR) ]; then rmdir $(DOCDIR); fi rm -f $(MANDIR)/wmcube.1 rm -f $(OBJDIR)/* if [ -d $(OBJDIR) ]; then rmdir $(OBJDIR); fi wmcube-1.0.2/wmcube/Makefile.LINUX0000644000000000000000000000252612664423715015331 0ustar rootrootCC = gcc OS = -DLINUX VERSION = 1.0.2 LIBDIR = -L/usr/X11R6/lib LIBDIR = -L/usr/X11R6/lib INCDIR = -I/usr/X11R6/share/include PREFIX = /usr BINDIR = $(PREFIX)/bin DOCDIR = $(PREFIX)/doc/wmcube-$(VERSION) MANDIR = $(PREFIX)/man/man1 OBJDIR = $(PREFIX)/share/wmcube # Edit OSLIBS as appropriate to include OS specific libraries. OSLIBS = LIBS = -lXpm -lXext -lX11 -lm $(OSLIBS) CFLAGS = -Wall -O2 OBJS = wmcube.o \ ../wmgeneral/wmgeneral.o \ ../wmgeneral/misc.o \ ../wmgeneral/list.o .c.o: $(CC) $(OS) $(CPPFLAGS) $(CFLAGS) $(INCDIR) -c $< -o $*.o wmcube: $(OBJS) $(CC) $(LDFLAGS) -o wmcube $^ -lXext $(LIBDIR) $(LIBS) all:: wmcube clean:: for i in $(OBJS) ; do \ rm -f $$i ; \ done rm -f wmcube rm -f *~ install:: wmcube cp -f wmcube $(BINDIR) chmod 755 $(BINDIR)/wmcube chown root:root $(BINDIR)/wmcube mkdir -p $(DOCDIR) cp -p ../CHANGES ../COPYING ../INSTALL ../README ../THANKS $(DOCDIR) cp -pr ../3D-objects $(DOCDIR) cp -p wmcube.1 $(MANDIR) mkdir -p $(OBJDIR) cp -p ../3D-objects/* $(OBJDIR) @echo "wmcube installation finished..." uninstall:: rm -f $(BINDIR)/wmcube rm -f $(DOCDIR)/3D-objects/* if [ -d $(DOCDIR)/3D-objects ]; then rmdir $(DOCDIR)/3D-objects; fi rm -f $(DOCDIR)/* if [ -d $(DOCDIR) ]; then rmdir $(DOCDIR); fi rm -f $(MANDIR)/wmcube.1 rm -f $(OBJDIR)/* if [ -d $(OBJDIR) ]; then rmdir $(OBJDIR); fi wmcube-1.0.2/wmcube/wmcube.xpm0000644000000000000000000005365012435221363014776 0ustar rootroot/* XPM */ static char * wmcube_xpm[] = { "160 133 38 1", " c #0000FF", ". c #000000", "o c #808080", "O c #C0C0C0", "+ c #808080", "@ c #B40404", "# c #ACACAC", "$ c #383838", "% c #F4F4F4", "& c #404040", "! c #8C8C8C", "A c #A8A8A8", "B c #A4A4A4", "C c #A0A0A0", "D c #9C9C9C", "E c #989898", "F c #949494", "G c #909090", "H c #8C8C8C", "I c #888888", "J c #848484", "K c #808080", "L c #7C7C7C", "M c #767676", "N c #747474", "P c #707070", "Q c #6C6C6C", "R c #686868", "S c #646464", "T c #606060", "U c #5C5C5C", "V c #585858", "W c #545454", "Y c #505050", "Z c #4C4C4C", "1 c #484848", "2 c #444444", "3 c #404040", " ...................................................................... O!", " .............o.......................................................o ", " .............o.......................................................o ", " .............o.......................................................o ", " ........................................................ .............o.......................................................o ", " .......................................................o .............o.......................................................o ", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o...............................................&&......o..........................", " .......................................................o .............o...............................................&&......o..........................", " .......................................................o .............o......&&&&&&.................................&&&&&&....o..........................", " .......................................................o .............o......&&&&&&.................................&&&&&&....o..........................", " .......................................................o .............o...............................................&&......o..........................", " .......................................................o .............o...............................................&&......o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o .............o.......................................................o..........................", " .......................................................o oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo..........................", " .......................................................o . OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO", " .......................................................o . AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", " .......................................................o . BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB", " oooooooooooooooooooooooooooooooooooooooooooooooooooooooo . CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC", " . EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE", " . FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF", " . GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG", " . HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH", ".............................................................................. IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII", "..OOO.....+..+OOO+.+OOO+.+...+.+OOO+.+OOO+.+OOO+.+OOO+.+OOO+.......OO.O....... JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ", ".O...O....O......O.....O.O...O.O.....O.........O.O...O.O...O.......OO.O....... KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK", ".O...O....O......O.....O.O...O.O.....O.........O.O...O.O...O.........O........ LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL", ".+...+....+..+OOO+..OOO+.+OOO+.+OOO+.+OOO+.....+.&OOO&.+OOO+.........O........ MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM", ".O...O....O..O.........O.....O.....O.O...O.....O.O...O.....O.........O........ NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN", ".O...O....O..O.........O.....O.....O.O...O.....O.O...O.....O...O....O.OO...... PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP", "..OOO.....O..+OOO+.+OOO+.....+.+OOO+.+OOO+.....+.+OOO+.+OOO+...+....O.OO...... QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ", ".............................................................................. RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR", " SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS", "............................................................................................................................................................ ", ".&OOO&.+OOO..+OOO+.+OOO..+OOO+.+OOO+.+OOO+.+...+...+.......+.+...+.+.....O...O.+OOO..+OOO+.+OOO+.+OOO+.+OOO+.+OOO+.+OOO+.+...+.+...+.+...+.+...+.+...+.+OOO+ ", ".O...O.O...O.O.....O...O.O.....O.....O.....O...O...O.......O.O...O.O.....OO.OO.O...O.O...O.O...O.O...O.O...O.O.......O...O...O.O...O.O...O.O...O.O...O.....O ", ".O...O.O...O.O.....O...O.O.....O.....O.....O...O...O.......O.O..O..O.....O.O.O.O...O.O...O.O...O.O...O.O...O.O.......O...O...O.O...O.O...O..O.O..O...O.....O ", ".+OOO+.+OOO..+.....+...+.+OOO..+OOO..+.OO+.+OOO+...+.......+.+OO&..+.....+...+.+...+.+...+.+OOO+.+O..+.+OOO..+OOO+...+...+...+.+...+.+...+..&O&..+OOO+.+OOO+ ", ".O...O.O...O.O.....O...O.O.....O.....O...O.O...O...O.......O.O..O..O.....O...O.O...O.O...O.O.....O.O.O.O...O.....O...O...O...O.O+.+O.O.O.O..O.O......O.O.... ", ".O...O.O...O.O.....O...O.O.....O.....O...O.O...O...O.......O.O...O.O.....O...O.O...O.O...O.O.....O..OO.O...O.....O...O...O...O..O+O..OO.OO.O...O.....O.O.... ", ".+...+.+OOO..+OOO+.OOOO..+OOO+.O.....+OOO+.+...+...O...+OOO+.+...+.+OOO&.+...+.O...O.+OOO+.+.....+OOO+.+...+.+OOO+...+...&OOOO...O...O...O.+...O.+OOO+.+OOO+ ", "............................................................................................................................................................ ", " TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT", "............. UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU", "...++........ VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV", "...++........ WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW", ".++++++++++++ YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY", ".++++++++++++ ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ", "...++........ 11111111111111111111111111111111111111111111111111111111", "...++........ 22222222222222222222222222222222222222222222222222222222", "............. 33333333333333333333333333333333333333333333333333333333", "............. ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", ".............................................................................. ", "..OOO.....O...OOO..OOOOO.....O.OOOOO..OOO..OOOOO..OOO...OOO........OO.O....... ", ".O...O...OO..O...O....O.....OO.O.....O........O..O...O.O...O.......OO.O....... ", ".O..OO....O......O...OO....O.O.OOOO..O........O..O...O.O...O.........O........ ", ".O.O.O....O.....O......O..O..O.O...O.OOOO....O....OOO...OOOO.........O........ ", ".OO..O....O....O.......O.OOOOO.....O.O...O...O...O...O.....O.........O........ ", ".O...O....O...O....O...O.....O.O...O.O...O..O....O...O.....O........O.OO...... ", "..OOO.....O..OOOOO..OOO......O..OOO...OOO...O.....OOO...OOO....O....O.OO...... ", ".............................................................................. ", " ", "............................................................................................................................................................ ", "...O...OOOO...OOO..OOOO..OOOOO.OOOOO..OOO..O...O...O.......O.O...O.O.....O...O.O...O..OOO..OOOO...OOO..OOOO...OOO..OOOOO.O...O.O...O.O...O.O...O.O...O.OOOOO ", "..O.O..O...O.O...O.O...O.O.....O.....O...O.O...O...O.......O.O..O..O.....OO.OO.O...O.O...O.O...O.O...O.O...O.O...O...O...O...O.O...O.O...O.O...O.O...O.....O ", ".O...O.O...O.O.....O...O.O.....O.....O.....O...O...O.......O.O.O...O.....O.O.O.OO..O.O...O.O...O.O...O.O...O.O.......O...O...O.O...O.O...O..O.O...O.O.....O. ", ".OOOOO.OOOO..O.....O...O.OOOO..OOOO..O..OO.OOOOO...O.......O.OO....O.....O...O.O.O.O.O...O.OOOO..O...O.OOOO...OOO....O...O...O.O...O.O...O...O.....O.....O.. ", ".O...O.O...O.O.....O...O.O.....O.....O...O.O...O...O.......O.O.O...O.....O...O.O..OO.O...O.O.....O...O.O.O.......O...O...O...O.O...O.O.O.O..O.O....O....O... ", ".O...O.O...O.O...O.O...O.O.....O.....O...O.O...O...O...O...O.O..O..O.....O...O.O...O.O...O.O.....O...O.O..O..O...O...O...O...O..O.O..OO.OO.O...O...O...O.... ", ".O...O.OOOO...OOO..OOOO..OOOOO.O......OOO..O...O...O....OOO..O...O.OOOOO.O...O.O...O..OOO..O......OOO..O...O..OOO....O....OOO....O...O...O.O...O...O...OOOOO ", "....................................................................................................O....................................................... ", " ", "............. ", "...++........ ", "...++........ ", ".++++++++++++ ", ".++++++++++++ ", "...++........ ", "...++........ ", "............. ", "............. "}; wmcube-1.0.2/wmcube/wmcubeyellow.xpm0000644000000000000000000005352412435221300016221 0ustar rootroot/* XPM */ static char * wmcubeyellow_xpm[] = { "160 133 32 1", " c #0000FF", "+ c #000000", "@ c #D2CB00", "# c #A8A200", "$ c #808080", "% c #4A4200", "& c #D0C900", "* c #CCCA00", "= c #C8C100", "- c #BEBC00", "; c #B8B600", "> c #B4AE00", ", c #AEA800", "' c #7E7100", ") c #A29C00", "! c #9C9600", "~ c #969100", "{ c #908B00", "] c #8C8700", "^ c #868100", "/ c #807B00", "( c #7A7600", "_ c #747000", ": c #706900", "< c #6E6A00", "[ c #686400", "} c #625F00", "| c #5C5B00", "1 c #5C5900", "2 c #585500", "3 c #524F00", "4 c #4E4B00", " ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ @#", " +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++%%++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++%%++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$++++++%%%%%%+++++++++++++++++++++++++++++++++%%%%%%++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$++++++%%%%%%+++++++++++++++++++++++++++++++++%%%%%%++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++%%++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++%%++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ + &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ + ********************************************************", " $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ + ========================================================", " + --------------------------------------------------------", " + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;", " + >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>", " + ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ########################################################", "++@@@+++++'++'@@@'+'@@@'+'+++'+'@@@'+'@@@'+'@@@'+'@@@'+'@@@'+++++++@@+@+++++++ ))))))))))))))))))))))))))))))))))))))))))))))))))))))))", "+@+++@++++@++++++@+++++@+@+++@+@+++++@+++++++++@+@+++@+@+++@+++++++@@+@+++++++ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!", "+@+++@++++@++++++@+++++@+@+++@+@+++++@+++++++++@+@+++@+@+++@+++++++++@++++++++ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~", "+'+++'++++'++'@@@'++@@@'+'@@@'+'@@@'+'@@@'+++++'+%@@@%+'@@@'+++++++++@++++++++ {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{", "+@+++@++++@++@+++++++++@+++++@+++++@+@+++@+++++@+@+++@+++++@+++++++++@++++++++ ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]", "+@+++@++++@++@+++++++++@+++++@+++++@+@+++@+++++@+@+++@+++++@+++@++++@+@@++++++ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", "++@@@+++++@++'@@@'+'@@@'+++++'+'@@@'+'@@@'+++++'+'@@@'+'@@@'+++'++++@+@@++++++ ////////////////////////////////////////////////////////", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ((((((((((((((((((((((((((((((((((((((((((((((((((((((((", " ________________________________________________________", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", "+%@@@%+'@@@++'@@@'+'@@@++'@@@'+'@@@'+'@@@'+'+++'+++'+++++++'+'+++'+'+++++@+++@+'@@@++'@@@'+'@@@'+'@@@'+'@@@'+'@@@'+'@@@'+'+++'+'+++'+'+++'+'+++'+'+++'+'@@@' ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++++@+++@+++@+++++++@+@+++@+@+++++@@+@@+@+++@+@+++@+@+++@+@+++@+@+++@+@+++++++@+++@+++@+@+++@+@+++@+@+++@+@+++@+++++@ ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++++@+++@+++@+++++++@+@++@++@+++++@+@+@+@+++@+@+++@+@+++@+@+++@+@+++@+@+++++++@+++@+++@+@+++@+@+++@++@+@++@+++@+++++@ ", "+'@@@'+'@@@++'+++++'+++'+'@@@++'@@@++'+@@'+'@@@'+++'+++++++'+'@@%++'+++++'+++'+'+++'+'+++'+'@@@'+'@++'+'@@@++'@@@'+++'+++'+++'+'+++'+'+++'++%@%++'@@@'+'@@@' ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++@+@+++@+++@+++++++@+@++@++@+++++@+++@+@+++@+@+++@+@+++++@+@+@+@+++@+++++@+++@+++@+++@+@'+'@+@+@+@++@+@++++++@+@++++ ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++@+@+++@+++@+++++++@+@+++@+@+++++@+++@+@+++@+@+++@+@+++++@++@@+@+++@+++++@+++@+++@+++@++@'@++@@+@@+@+++@+++++@+@++++ ", "+'+++'+'@@@++'@@@'+@@@@++'@@@'+@+++++'@@@'+'+++'+++@+++'@@@'+'+++'+'@@@%+'+++'+@+++@+'@@@'+'+++++'@@@'+'+++'+'@@@'+++'+++%@@@@+++@+++@+++@+'+++@+'@@@'+'@@@' ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", " ::::::::::::::::::::::::::::::::::::::::::::::::::::::::", "+++++++++++++ <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<", "+++''++++++++ [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[", "+++''++++++++ }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}", "+'''''''''''' ||||||||||||||||||||||||||||||||||||||||||||||||||||||||", "+'''''''''''' 11111111111111111111111111111111111111111111111111111111", "+++''++++++++ 22222222222222222222222222222222222222222222222222222222", "+++''++++++++ 33333333333333333333333333333333333333333333333333333333", "+++++++++++++ 44444444444444444444444444444444444444444444444444444444", "+++++++++++++ ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", "++@@@+++++@+++@@@++@@@@@+++++@+@@@@@++@@@++@@@@@++@@@+++@@@++++++++@@+@+++++++ ", "+@+++@+++@@++@+++@++++@+++++@@+@+++++@++++++++@++@+++@+@+++@+++++++@@+@+++++++ ", "+@++@@++++@++++++@+++@@++++@+@+@@@@++@++++++++@++@+++@+@+++@+++++++++@++++++++ ", "+@+@+@++++@+++++@++++++@++@++@+@+++@+@@@@++++@++++@@@+++@@@@+++++++++@++++++++ ", "+@@++@++++@++++@+++++++@+@@@@@+++++@+@+++@+++@+++@+++@+++++@+++++++++@++++++++ ", "+@+++@++++@+++@++++@+++@+++++@+@+++@+@+++@++@++++@+++@+++++@++++++++@+@@++++++ ", "++@@@+++++@++@@@@@++@@@++++++@++@@@+++@@@+++@+++++@@@+++@@@++++@++++@+@@++++++ ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", " ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", "+++@+++@@@@+++@@@++@@@@++@@@@@+@@@@@++@@@++@+++@+++@+++++++@+@+++@+@+++++@+++@+@+++@++@@@++@@@@+++@@@++@@@@+++@@@++@@@@@+@+++@+@+++@+@+++@+@+++@+@+++@+@@@@@ ", "++@+@++@+++@+@+++@+@+++@+@+++++@+++++@+++@+@+++@+++@+++++++@+@++@++@+++++@@+@@+@+++@+@+++@+@+++@+@+++@+@+++@+@+++@+++@+++@+++@+@+++@+@+++@+@+++@+@+++@+++++@ ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++++@+++@+++@+++++++@+@+@+++@+++++@+@+@+@@++@+@+++@+@+++@+@+++@+@+++@+@+++++++@+++@+++@+@+++@+@+++@++@+@+++@+@+++++@+ ", "+@@@@@+@@@@++@+++++@+++@+@@@@++@@@@++@++@@+@@@@@+++@+++++++@+@@++++@+++++@+++@+@+@+@+@+++@+@@@@++@+++@+@@@@+++@@@++++@+++@+++@+@+++@+@+++@+++@+++++@+++++@++ ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++@+@+++@+++@+++++++@+@+@+++@+++++@+++@+@++@@+@+++@+@+++++@+++@+@+@+++++++@+++@+++@+++@+@+++@+@+@+@++@+@++++@++++@+++ ", "+@+++@+@+++@+@+++@+@+++@+@+++++@+++++@+++@+@+++@+++@+++@+++@+@++@++@+++++@+++@+@+++@+@+++@+@+++++@+++@+@++@++@+++@+++@+++@+++@++@+@++@@+@@+@+++@+++@+++@++++ ", "+@+++@+@@@@+++@@@++@@@@++@@@@@+@++++++@@@++@+++@+++@++++@@@++@+++@+@@@@@+@+++@+@+++@++@@@++@++++++@@@++@+++@++@@@++++@++++@@@++++@+++@+++@+@+++@+++@+++@@@@@ ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++@+++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", " ", "+++++++++++++ ", "+++''++++++++ ", "+++''++++++++ ", "+'''''''''''' ", "+'''''''''''' ", "+++''++++++++ ", "+++''++++++++ ", "+++++++++++++ ", "+++++++++++++ "}; wmcube-1.0.2/wmcube/wmcube.10000644000175000001440000000365012664675577015073 0ustar cezaryusers.\" -*- nroff -*- .TH WMCUBE 1 "February 28, 2016" "Version 1.0.2" "3D object CPU Load display applet" .SH NAME wmcube \-\- spinning 3D object that shows the current CPU load .SH SYNOPSIS wmcube [\fI\,OPTIONS\/\fR] .SH DESCRIPTION .I wmcube is a dockapp that displays a realtime rotating 3D-object which indicates current CPU load. The higher the load, the faster the object spins. .SH OPTIONS .TP \fB\-o\fR load external 3D object (plugin). .TP \fB\-d\fR x rotate x degrees/step when the CPU is idle (default 1). .TP \fB\-r\fR x rotate 1 degree faster every x percent of the CPU usage (default 25). .TP \fB\-c\fR x which CPU (0, 1, 2...) to monitor (default average over all). .TP \fB\-f\fR use smooth font (default OFF). .TP \fB\-n\fR exclude "nice" processes (default OFF). .TP \fB\-b\fR draw the cube in a brighter color (default OFF). .TP \fB\-i\fR invert cube speed (default OFF). .TP \fB\-p\fR do not display the CPU load (default OFF). .TP \fB\-R\fR use red image. .TP \fB\-G\fR use green image. .TP \fB\-B\fR use blue image. .TP \fB\-h\fR display this help. .SH TIPS & TRICKS By combining together \-RG, \-RB, or \-GB switches you get yellow, magenta, or cyan images. Combining \-RGB switches produces the gray image \-\- the same as without any swiches. .SH PROGRAM AUTHORS wmcube 1.0.2: .IP (C) 2014-2016 Cezary M. Kruk <\fIc.kruk@bigfoot.com\fP> .IP (C) 2015-2016 Doug Torrance <\fIdtorrance@piedmont.edu\fP> .LP wmCube 0.98: .IP (C) 2000 Robert Kling .SH MANPAGE AUTHORS Evelyn Mitchell \-\- manpage for the Debian prepackaged version of wmcube. .LP Filip Van Raemdonck \-\- manpage for version 0.98 of wmcube. .LP Sandro Tosi \-\- manpage for version 0.99-pre1 of wmcube. .LP Doug Torrance \-\- manpage for version 1.0.0. .LP Cezary M. Kruk \-\- manpage for version 1.0.2. .SH SEE ALSO .BR fvwm (1), wmaker (1) wmcube-1.0.2/wmcube/wmcubeblue.xpm0000644000000000000000000005352212435221213015636 0ustar rootroot/* XPM */ static char * wmcubeblue_xpm[] = { "160 133 32 1", " c #0000FF", "+ c #000000", "@ c #005ED2", "# c #004BA8", "$ c #808080", "% c #00264A", "& c #005DD0", "* c #0056CC", "= c #0059C8", "- c #0050BE", "; c #004EB8", "> c #0050B4", ", c #004EAE", "' c #00417E", ") c #0048A2", "! c #00469C", "~ c #004396", "{ c #004090", "] c #003F8C", "^ c #003C86", "/ c #003980", "( c #00377A", "_ c #003474", ": c #003570", "< c #00316E", "[ c #002E68", "} c #002C62", "| c #00275C", "1 c #00295C", "2 c #002758", "3 c #002552", "4 c #00234E", " ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ @#", " +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++%%++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++%%++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$++++++%%%%%%+++++++++++++++++++++++++++++++++%%%%%%++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$++++++%%%%%%+++++++++++++++++++++++++++++++++%%%%%%++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++%%++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++%%++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ + &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ + ********************************************************", " $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ + ========================================================", " + --------------------------------------------------------", " + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;", " + >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>", " + ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ########################################################", "++@@@+++++'++'@@@'+'@@@'+'+++'+'@@@'+'@@@'+'@@@'+'@@@'+'@@@'+++++++@@+@+++++++ ))))))))))))))))))))))))))))))))))))))))))))))))))))))))", "+@+++@++++@++++++@+++++@+@+++@+@+++++@+++++++++@+@+++@+@+++@+++++++@@+@+++++++ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!", "+@+++@++++@++++++@+++++@+@+++@+@+++++@+++++++++@+@+++@+@+++@+++++++++@++++++++ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~", "+'+++'++++'++'@@@'++@@@'+'@@@'+'@@@'+'@@@'+++++'+%@@@%+'@@@'+++++++++@++++++++ {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{", "+@+++@++++@++@+++++++++@+++++@+++++@+@+++@+++++@+@+++@+++++@+++++++++@++++++++ ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]", "+@+++@++++@++@+++++++++@+++++@+++++@+@+++@+++++@+@+++@+++++@+++@++++@+@@++++++ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", "++@@@+++++@++'@@@'+'@@@'+++++'+'@@@'+'@@@'+++++'+'@@@'+'@@@'+++'++++@+@@++++++ ////////////////////////////////////////////////////////", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ((((((((((((((((((((((((((((((((((((((((((((((((((((((((", " ________________________________________________________", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", "+%@@@%+'@@@++'@@@'+'@@@++'@@@'+'@@@'+'@@@'+'+++'+++'+++++++'+'+++'+'+++++@+++@+'@@@++'@@@'+'@@@'+'@@@'+'@@@'+'@@@'+'@@@'+'+++'+'+++'+'+++'+'+++'+'+++'+'@@@' ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++++@+++@+++@+++++++@+@+++@+@+++++@@+@@+@+++@+@+++@+@+++@+@+++@+@+++@+@+++++++@+++@+++@+@+++@+@+++@+@+++@+@+++@+++++@ ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++++@+++@+++@+++++++@+@++@++@+++++@+@+@+@+++@+@+++@+@+++@+@+++@+@+++@+@+++++++@+++@+++@+@+++@+@+++@++@+@++@+++@+++++@ ", "+'@@@'+'@@@++'+++++'+++'+'@@@++'@@@++'+@@'+'@@@'+++'+++++++'+'@@%++'+++++'+++'+'+++'+'+++'+'@@@'+'@++'+'@@@++'@@@'+++'+++'+++'+'+++'+'+++'++%@%++'@@@'+'@@@' ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++@+@+++@+++@+++++++@+@++@++@+++++@+++@+@+++@+@+++@+@+++++@+@+@+@+++@+++++@+++@+++@+++@+@'+'@+@+@+@++@+@++++++@+@++++ ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++@+@+++@+++@+++++++@+@+++@+@+++++@+++@+@+++@+@+++@+@+++++@++@@+@+++@+++++@+++@+++@+++@++@'@++@@+@@+@+++@+++++@+@++++ ", "+'+++'+'@@@++'@@@'+@@@@++'@@@'+@+++++'@@@'+'+++'+++@+++'@@@'+'+++'+'@@@%+'+++'+@+++@+'@@@'+'+++++'@@@'+'+++'+'@@@'+++'+++%@@@@+++@+++@+++@+'+++@+'@@@'+'@@@' ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", " ::::::::::::::::::::::::::::::::::::::::::::::::::::::::", "+++++++++++++ <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<", "+++''++++++++ [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[", "+++''++++++++ }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}", "+'''''''''''' ||||||||||||||||||||||||||||||||||||||||||||||||||||||||", "+'''''''''''' 11111111111111111111111111111111111111111111111111111111", "+++''++++++++ 22222222222222222222222222222222222222222222222222222222", "+++''++++++++ 33333333333333333333333333333333333333333333333333333333", "+++++++++++++ 44444444444444444444444444444444444444444444444444444444", "+++++++++++++ ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", "++@@@+++++@+++@@@++@@@@@+++++@+@@@@@++@@@++@@@@@++@@@+++@@@++++++++@@+@+++++++ ", "+@+++@+++@@++@+++@++++@+++++@@+@+++++@++++++++@++@+++@+@+++@+++++++@@+@+++++++ ", "+@++@@++++@++++++@+++@@++++@+@+@@@@++@++++++++@++@+++@+@+++@+++++++++@++++++++ ", "+@+@+@++++@+++++@++++++@++@++@+@+++@+@@@@++++@++++@@@+++@@@@+++++++++@++++++++ ", "+@@++@++++@++++@+++++++@+@@@@@+++++@+@+++@+++@+++@+++@+++++@+++++++++@++++++++ ", "+@+++@++++@+++@++++@+++@+++++@+@+++@+@+++@++@++++@+++@+++++@++++++++@+@@++++++ ", "++@@@+++++@++@@@@@++@@@++++++@++@@@+++@@@+++@+++++@@@+++@@@++++@++++@+@@++++++ ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", " ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", "+++@+++@@@@+++@@@++@@@@++@@@@@+@@@@@++@@@++@+++@+++@+++++++@+@+++@+@+++++@+++@+@+++@++@@@++@@@@+++@@@++@@@@+++@@@++@@@@@+@+++@+@+++@+@+++@+@+++@+@+++@+@@@@@ ", "++@+@++@+++@+@+++@+@+++@+@+++++@+++++@+++@+@+++@+++@+++++++@+@++@++@+++++@@+@@+@+++@+@+++@+@+++@+@+++@+@+++@+@+++@+++@+++@+++@+@+++@+@+++@+@+++@+@+++@+++++@ ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++++@+++@+++@+++++++@+@+@+++@+++++@+@+@+@@++@+@+++@+@+++@+@+++@+@+++@+@+++++++@+++@+++@+@+++@+@+++@++@+@+++@+@+++++@+ ", "+@@@@@+@@@@++@+++++@+++@+@@@@++@@@@++@++@@+@@@@@+++@+++++++@+@@++++@+++++@+++@+@+@+@+@+++@+@@@@++@+++@+@@@@+++@@@++++@+++@+++@+@+++@+@+++@+++@+++++@+++++@++ ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++@+@+++@+++@+++++++@+@+@+++@+++++@+++@+@++@@+@+++@+@+++++@+++@+@+@+++++++@+++@+++@+++@+@+++@+@+@+@++@+@++++@++++@+++ ", "+@+++@+@+++@+@+++@+@+++@+@+++++@+++++@+++@+@+++@+++@+++@+++@+@++@++@+++++@+++@+@+++@+@+++@+@+++++@+++@+@++@++@+++@+++@+++@+++@++@+@++@@+@@+@+++@+++@+++@++++ ", "+@+++@+@@@@+++@@@++@@@@++@@@@@+@++++++@@@++@+++@+++@++++@@@++@+++@+@@@@@+@+++@+@+++@++@@@++@++++++@@@++@+++@++@@@++++@++++@@@++++@+++@+++@+@+++@+++@+++@@@@@ ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++@+++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", " ", "+++++++++++++ ", "+++''++++++++ ", "+++''++++++++ ", "+'''''''''''' ", "+'''''''''''' ", "+++''++++++++ ", "+++''++++++++ ", "+++++++++++++ ", "+++++++++++++ "}; wmcube-1.0.2/wmcube/wmcube.c0000644000000000000000000010573212664675641014433 0ustar rootroot/* wmcube.c Version 1.0.2 (2016-02-28) Cezary M. Kruk http://linux-bsd-unix.strefa.pl Contributions: A few patches, three new objects, and other updates by Doug Torrance A small improvement of the manpage by Doug Torrance (2016-02-28) Versions 0.98 (2000-10-23) Robert Kling http://boombox.campus.luth.se/projects.php Contributions: -n option patch by Thorsten Jens (2000-05-12) Various bugfixes and optimizations by Jakob Borg (2000-05-13) Solaris Port by Dan Price (2000-07-16) OpenBSD Port by Brian Joseph Czapiga (2000-07-19) FreeBSD Port by Tai-hwa Liang (2000-07-20) NetBSD Port by Jared Smolens (2000-09-23) This software is licensed through the GNU General Public Licence. See http://www.BenSinclair.com/dockapp/ for more Window Maker dockapps. If you want to port wmcube to another OS the system specific code is sectioned the bottom of this file. See instructions there. */ #define CK_WMCUBE_VERSION "1.0.2" #define CK_REV_YEAR "2014-2016" #define CK_REV_DATE "2016-02-28" #define DT_REV_YEAR "2015-2016" #define RK_WMCUBE_VERSION "0.98" #define RK_REV_YEAR "2000" #define RK_REV_DATE "2000-10-23" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef FREEBSD #include #include #include #endif #include "../wmgeneral/wmgeneral.h" #include "../wmgeneral/misc.h" #include "wmcube.xpm" #include "wmcubered.xpm" #include "wmcubegreen.xpm" #include "wmcubeblue.xpm" #include "wmcubecyan.xpm" #include "wmcubemagenta.xpm" #include "wmcubeyellow.xpm" char wmcube_mask_bits[64*64]; int wmcube_mask_width = 64; int wmcube_mask_height = 64; #define CHAR_WIDTH 5 #define CHAR_HEIGHT 7 #define PI 3.1415926535 //**** Graphics *********************************** void putpixel(int x, int y, int c); void line(int x1, int y1, int x2, int y2, int c); void hline(int x1, int x2, int y, int c); void triangle(int x1, int y1, int x2, int y2, int x3, int y3, int c); void BlitString(char *name, int x, int y); void BlitNum(int num, int x, int y); void clearscr(); void draw(); void set_plugin(); void startup_seq(); int red = 0; int green = 0; int blue = 0; //**** 3d specific ******************************** void setupobj(char *filename) ; void setUpAngles(); void rotate(int xang, int yang, int zang); int normal(float p1[], float p2[], float p3[]); int luminate(float p1[], float p2[], float p3[]); void sortz(int nofelements); //**** Application Management, I/O etc. *********** void print_help(); int loadobj(char *filename); void mem_alloc_error(void *block); int scan4objects(char *dir); int next_object(); void die(); //**** System specific functions ****************** int init_calc_cpu(); int calc_cpu_total(); //**** Global variables *************************** int xcenter, ycenter, zoff; double cost[361], sint[361]; double acost[100]; float **matrix; float **rmatrix; int **planes; int *plane_color; int *zorder; int *cline; int nofcoords, noflines, nofplanes; char *objects[1000]; int nof_objects = 0; int show_load = 1; int use_nice = 1; int which_cpu = -1; int planesORlines = 1; char *pname; int font = 0; int but_stat = -1; float lum_vector[3] = { 0, 0, 100 }; // Lightsource vector char obj_filename[256]; char *plugin = {""}; int main(int argc, char **argv) { int j, i = 0, rot_speed = 0, cpu_usage = 0, rot_step = 1; long screen_speed = 10000; // microseconds between screen updates (approx.) long cpu_update = 490000; // microseconds between cpu update (approx.) int loop = 0; XEvent Event; char *rotdiv = {"25"}; char *rotstep = {"1"}; int rot; int cube_color = 1; int c = 0; int invert_speed = 0; pname = strrchr(argv[0], '/'); if (pname == NULL) pname = argv[0]; srand((unsigned)time(NULL)); opterr = 0; while ((c = getopt (argc, argv, "o:d:r:c:fnbipRGBh")) != -1) { switch (c) { case 'o': plugin = optarg; break; case 'd': rotstep = optarg; break; case 'r': rotdiv = optarg; break; case 'c': which_cpu = atoi(optarg); break; case 'f': font = 40; break; case 'n': use_nice = 0; break; case 'b': cube_color = 2; break; case 'i': invert_speed = 1; break; case 'p': show_load = 0; break; case 'R': red = 1; break; case 'G': green = 1; break; case 'B': blue = 1; break; case 'h': print_help(); return 1; case '?': print_help(); return 1; default: abort(); } } set_plugin(); /* * Validate that wmcube can run on this system given the parameters, * then setup the statistics gathering subsystem. */ if (init_calc_cpu() != 0) die(); /* * Scan directory for .wmc files and choose one randomly. If the user * specified a particular file, load that one. */ #ifndef SOLARIS // scan4objects doesnt work on Solaris, load object immediatly scan4objects(obj_filename); if (nof_objects != 0) next_object(); else #endif setupobj(obj_filename); /* * Various initializion stuff for the 3d-engine etc. */ setUpAngles(); rot = atoi(rotdiv); if ((rot >= 1) && (rot <=100)) ; else rot = 25; rot_step = atoi(rotstep); if (rot_step < 0) rot_step = -rot_step; if (calc_cpu_total() == -1) die(); cpu_update /= screen_speed; if ((red == 0) && (green == 0) && (blue == 0)) { createXBMfromXPM(wmcube_mask_bits, wmcube_xpm, wmcube_mask_width, wmcube_mask_height); openXwindow(argc, argv, wmcube_xpm, wmcube_mask_bits, wmcube_mask_width, wmcube_mask_height); } else if ((red == 1) && (green == 0) && (blue == 0)) { createXBMfromXPM(wmcube_mask_bits, wmcubered_xpm, wmcube_mask_width, wmcube_mask_height); openXwindow(argc, argv, wmcubered_xpm, wmcube_mask_bits, wmcube_mask_width, wmcube_mask_height); } else if ((red == 0) && (green == 1) && (blue == 0)) { createXBMfromXPM(wmcube_mask_bits, wmcubegreen_xpm, wmcube_mask_width, wmcube_mask_height); openXwindow(argc, argv, wmcubegreen_xpm, wmcube_mask_bits, wmcube_mask_width, wmcube_mask_height); } else if ((red == 0) && (green == 0) && (blue == 1)) { createXBMfromXPM(wmcube_mask_bits, wmcubeblue_xpm, wmcube_mask_width, wmcube_mask_height); openXwindow(argc, argv, wmcubeblue_xpm, wmcube_mask_bits, wmcube_mask_width, wmcube_mask_height); } else if ((red == 1) && (green == 1) && (blue == 0)) { createXBMfromXPM(wmcube_mask_bits, wmcubeyellow_xpm, wmcube_mask_width, wmcube_mask_height); openXwindow(argc, argv, wmcubeyellow_xpm, wmcube_mask_bits, wmcube_mask_width, wmcube_mask_height); } else if ((red == 0) && (green == 1) && (blue == 1)) { createXBMfromXPM(wmcube_mask_bits, wmcubecyan_xpm, wmcube_mask_width, wmcube_mask_height); openXwindow(argc, argv, wmcubecyan_xpm, wmcube_mask_bits, wmcube_mask_width, wmcube_mask_height); } else if ((red == 1) && (green == 0) && (blue == 1)) { createXBMfromXPM(wmcube_mask_bits, wmcubemagenta_xpm, wmcube_mask_width, wmcube_mask_height); openXwindow(argc, argv, wmcubemagenta_xpm, wmcube_mask_bits, wmcube_mask_width, wmcube_mask_height); } else if ((red == 1) && (green == 1) && (blue == 1)) { createXBMfromXPM(wmcube_mask_bits, wmcube_xpm, wmcube_mask_width, wmcube_mask_height); openXwindow(argc, argv, wmcube_xpm, wmcube_mask_bits, wmcube_mask_width, wmcube_mask_height); } startup_seq(); if (calc_cpu_total() == -1) die(); // index, left, top, right, bottom AddMouseRegion(1, 45, 45, 58, 58); // + Zoom In AddMouseRegion(5, 5, 45, 20, 58); // - Zoom Out AddMouseRegion(3, 21, 45, 45, 58); // Show cpu-load AddMouseRegion(2, 5, 5, 55, 45); // Everywhere else (almost) to change object /* * Main loop begins here */ while (1) { i = (i+rot_speed+rot_step) % 360; clearscr(); rotate(i,i,i); draw(cube_color); if (show_load) { BlitNum(cpu_usage,24,49); BlitString("%",38,49); } RedrawWindow(); if (loop++ == cpu_update) { loop = 0; /* * call calc_cpu_total to update statistics. If some * sort of bad event occurs, calc_cpu_total will return * -1, and we exit. */ if ((cpu_usage = calc_cpu_total()) == -1) { die(); } rot_speed = abs( invert_speed*(100 / rot) - cpu_usage / rot); } // X Events while (XPending(display)) { XNextEvent(display, &Event); switch (Event.type) { case Expose: RedrawWindow(); break; case DestroyNotify: XCloseDisplay(display); exit(0); break; case ButtonPress: j = CheckMouseRegion(Event.xbutton.x, Event.xbutton.y); but_stat = j; break; case ButtonRelease: j = CheckMouseRegion(Event.xbutton.x, Event.xbutton.y); switch(j) { case 1: if (zoff > 750) { BlitString("ö",48,48); RedrawWindow(); zoff -= 150; } break; case 2: next_object(); break; case 3: if (show_load == 1) show_load = 0; else show_load = 1; ycenter = 15 - 2*show_load; break; case 5: BlitString("ä",11,49); RedrawWindow(); zoff += 150; break; } } break; } usleep(screen_speed); } /* * Free up memory used by the object (dirty...) */ free(matrix); free(rmatrix); free(cline); return 1; } //**** Graphics *********************************** //************************************************* void set_plugin() { strcpy(obj_filename,plugin); if (access (obj_filename, R_OK) == -1) { strcpy(obj_filename,"/usr/share/wmcube/"); strcat(obj_filename,plugin); } } void startup_seq() { char *tmp = malloc(32); int oldzoff = 3600; sprintf(tmp,"%s",CK_WMCUBE_VERSION); RedrawWindow(); BlitString("WMCUBE",13,22); BlitString(tmp,15,31); RedrawWindow(); RedrawWindow(); usleep(3000000); RedrawWindow(); zoff = 1200; for (;zoff < oldzoff; zoff += 35) { rotate((zoff-1200)/8,0,0); clearscr(); BlitString("WMCUBE",13,22); BlitString(tmp,15,31); draw(1); RedrawWindow(); usleep(9000); } free(tmp); zoff = 3600; } void draw(int color) { int i; if (planesORlines) { sortz(nofplanes); for (i = 0; i < nofplanes; i++) { if (normal(rmatrix[planes[zorder[i]][0]], rmatrix[planes[zorder[i]][1]], rmatrix[planes[zorder[i]][2]]) > 0) { triangle(xcenter+rmatrix[planes[zorder[i]][0]][0], ycenter+rmatrix[planes[zorder[i]][0]][1], xcenter+rmatrix[planes[zorder[i]][1]][0], ycenter+rmatrix[planes[zorder[i]][1]][1], xcenter+rmatrix[planes[zorder[i]][2]][0], ycenter+rmatrix[planes[zorder[i]][2]][1], plane_color[zorder[i]]); } } } else { for (i = 0; i < noflines; i += 2) line(xcenter+rmatrix[cline[i ]-1][0], ycenter+rmatrix[cline[i ]-1][1], xcenter+rmatrix[cline[i+1]-1][0], ycenter+rmatrix[cline[i+1]-1][1],color); } } void putpixel(int x, int y,int c) { if ((x > 4) && (x < 59) && (y > 4) && (y < 59)) copyXPMArea(160-c,0,1,1,x,y); } void hline(int x1, int x2, int y, int c) { if ((y > 4) && (y < 59)) { if (x1 <= 4) x1 = 5; else if (x1 > 57) return; if (x2 > 57) x2 = 57; else if (x2 <= 4) return; copyXPMArea(105, 56+c + 9*(c/18), x2-x1, 1, x1, y); } } void triangle(int x1, int y1, int x2, int y2, int x3, int y3, int c) // Draws a filled triangle { int k,k2,x,x_2,i, tmp1; int x1t, x2t; if (y3> 6) > (x2t = x_2 >> 6)) hline(x2t, x1t, i, c); else hline(x1t, x2t, i, c); } while (i!=y2); if (i==y3) return; if (y2!=y3) k2=((x2-x3) << 6) / (y2-y3); else k2=((x2-x3) << 6); x_2=x2 << 6; i=y2; do { x+=k; x_2+=k2; i++; if ((x1t = x >> 6) > (x2t = x_2 >> 6)) hline(x2t, x1t, i, c); else hline(x1t, x2t, i, c); } while (i!=y3); } void clearscr() { copyXPMArea(78,0,56,56,4,4); } // Blits a string at given co-ordinates void BlitString(char *name, int x, int y) { int i; int c; int k; k = x; copyXPMArea(73,64,1,8,k-1,y); for (i=0; name[i]; i++) { c = toupper(name[i]); //printf("%c",c); if (c >= '0' && c<= '9') { // its a number or symbol c -= '0'; if ( k > -2) copyXPMArea(c * 6, 64 + font, 6, 9, k, y); k += 6; } else if (c >= 'A' && c <= 'Z') { // its a letter c -= 'A'; if ( k > -2) copyXPMArea(c * 6, 74 + font, 6, 9, k, y); k += 6; } else if (c == '.') { if ( k > -2) copyXPMArea(60, 64 + font, 6, 9, k, y); k += 6; } else if (c == '%') { if ( k > -2) copyXPMArea(66, 64 + font, 6, 9, k, y); k += 6; } else if (c == 246) { if ( k > -2) copyXPMArea(0, 84 + font, 6, 9, k, y); k += 6; } else if (c == 228) { if ( k > -2) copyXPMArea(6, 84 + font, 6, 9, k, y); k += 6; } else { // its a blank or something else if ( k > -2) copyXPMArea(73, 64 + font, 6, 9, k, y); k += 6; } if (k >= 58) break; } copyXPMArea(73, 64 + font, 1, 9, k, y); } // Blits number to given coordinates.. two 0's, right justified void BlitNum(int num, int x, int y) { char buf[1024]; int newx=x; if (num > 99) { newx -= CHAR_WIDTH; } if (num > 999) { newx -= CHAR_WIDTH; } sprintf(buf, "%02i", num); BlitString(buf, newx, y); } void line(int x1, int y1, int x2, int y2, int c) { int i, deltax, deltay, numpixels, d, dinc1, dinc2, x, xinc1, xinc2, y, yinc1, yinc2; deltax = abs(x2 - x1); deltay = abs(y2 - y1); if (deltax >= deltay) { numpixels = deltax + 1; d = (deltay << 1) - deltax; dinc1 = deltay << 1; dinc2 = (deltay - deltax) << 1; xinc1 = 1; xinc2 = 1; yinc1 = 0; yinc2 = 1; } else { numpixels = deltay + 1; d = (deltax << 1) - deltay; dinc1 = deltax << 1; dinc2 = (deltax - deltay) << 1; xinc1 = 0; xinc2 = 1; yinc1 = 1; yinc2 = 1; } if (x1 > x2) { xinc1 = - xinc1; xinc2 = - xinc2; } if (y1 > y2) { yinc1 = - yinc1; yinc2 = - yinc2; } x = x1; y = y1; for (i=1; i 0) plane_color[i] = luminate(rmatrix[planes[i][0]], rmatrix[planes[i][1]], rmatrix[planes[i][2]]); for (i = 0; i < nofcoords; i++) { // Perspective correcting lines... rmatrix[i][0] = (rmatrix[i][0] *256) / (2*rmatrix[i][2] - zoff) + xcenter; rmatrix[i][1] = (rmatrix[i][1] *256) / (2*rmatrix[i][2] - zoff) + ycenter; } } void sortz(int nofelements) { // Insertion-sort the planes in increasing z-distance int i, j, k; float key; float temparr[nofelements]; for (i = 0; i < nofelements; i++) { zorder[i] = i; temparr[i] = rmatrix[planes[i][0]][2]+rmatrix[planes[i][1]][2]+rmatrix[planes[i][2]][2]; } for (j = 1; j < nofelements; j++) { key = temparr[j]; k = zorder[j]; i = j - 1; while ((i > -1) && (temparr[i] > key)) { temparr[i+1] = temparr[i]; zorder[i+1] = zorder[i]; i--; } zorder[i+1] = k; temparr[i+1] = key; } } int normal(float p1[], float p2[], float p3[]) { return ((p1[0]-p3[0])*(p2[1]-p3[1])-(p2[0]-p3[0])*(p1[1]-p3[1])); } int luminate(float p1[], float p2[], float p3[]) { double x1 = (float)(p1[0]-p3[0]), y1 = (float)(p1[1]-p3[1]), z1 = (float)(p1[2]-p3[2]); double x2 = (float)(p2[0]-p3[0]), y2 = (float)(p2[1]-p3[1]), z2 = (float)(p2[2]-p3[2]); double nx = y1*z2-y2*z1, ny =-(x1*z2-x2*z1),nz = x1*y2-y1*x2; return (int)(53 * (acost[(int)(50 + 50*(nx*lum_vector[0]+ny*lum_vector[1]+nz*lum_vector[2])/ (sqrt(nx*nx+ny*ny+nz*nz)* sqrt(lum_vector[0]*lum_vector[0]+lum_vector[1]*lum_vector[1]+ lum_vector[2]*lum_vector[2])))] / PI)); // Do I smell optimization? :-) } void setUpAngles() { int i; for (i = 0; i < 361; i++) { cost[i] = cos((double)i*(2*PI/(double)360)); sint[i] = sin((double)i*(2*PI/(double)360)); } for (i = 0; i < 100; i++) acost[i] = acos((double)(-50+i)/50); } void setupobj(char *filename) { int i, j = 0; int biggest = 0; float scale = 1; xcenter = 16; ycenter = 15 - 2*show_load; if (strcmp(filename,"") != 0) loadobj(filename); else { nofcoords = 8; noflines = 24; nofplanes = 12; planesORlines = 1; matrix = (float **)malloc(nofcoords*sizeof(float *)); mem_alloc_error(matrix); planes = (int **)malloc(nofplanes*sizeof(int *)); mem_alloc_error(planes); plane_color = (int *)malloc(nofplanes*sizeof(int)); mem_alloc_error(plane_color); zorder = (int *)malloc(nofplanes*sizeof(int)); mem_alloc_error(zorder); for (i = 0; i < nofplanes; i++) zorder[i] = i; for (i = 0; i < nofcoords; i++) { matrix[i] = (float *)malloc(3*sizeof(float)); mem_alloc_error(matrix[i]); } for (i = 0; i < nofplanes; i++) { planes[i] = (int *)malloc(3*sizeof(int)); mem_alloc_error(planes[i]); } cline = (int *)malloc((noflines+1)*sizeof(int)); mem_alloc_error(cline); matrix[0][0] = -180; matrix[0][1] = -180; matrix[0][2] = 180; // 0 matrix[1][0] = 180; matrix[1][1] = -180; matrix[1][2] = 180; // 1 matrix[2][0] = 180; matrix[2][1] = 180; matrix[2][2] = 180; // 2 matrix[3][0] = -180; matrix[3][1] = 180; matrix[3][2] = 180; // 3 matrix[4][0] = -180; matrix[4][1] = -180; matrix[4][2] = -180; // 4 matrix[5][0] = 180; matrix[5][1] = -180; matrix[5][2] = -180; // 5 matrix[6][0] = 180; matrix[6][1] = 180; matrix[6][2] = -180; // 6 matrix[7][0] = -180; matrix[7][1] = 180; matrix[7][2] = -180; // 7 cline[0] = 1; cline[1] = 2; cline[2] = 2; cline[3] = 3; cline[4] = 3; cline[5] = 4; cline[6] = 4; cline[7] = 1; cline[8] = 5; cline[9] = 6; cline[10] = 6; cline[11] = 7; cline[12] = 7; cline[13] = 8; cline[14] = 8; cline[15] = 5; cline[16] = 1; cline[17] = 5; cline[18] = 2; cline[19] = 6; cline[20] = 3; cline[21] = 7; cline[22] = 4; cline[23] = 8; planes[0][0] = 0; planes[0][1] = 1; planes[0][2] = 3; planes[1][0] = 1; planes[1][1] = 2; planes[1][2] = 3; planes[2][0] = 1; planes[2][1] = 5; planes[2][2] = 6; planes[3][0] = 1; planes[3][1] = 6; planes[3][2] = 2; planes[4][0] = 4; planes[4][1] = 0; planes[4][2] = 3; planes[5][0] = 4; planes[5][1] = 3; planes[5][2] = 7; planes[6][0] = 3; planes[6][1] = 2; planes[6][2] = 7; planes[7][0] = 7; planes[7][1] = 2; planes[7][2] = 6; planes[8][0] = 4; planes[8][1] = 1; planes[8][2] = 0; planes[9][0] = 4; planes[9][1] = 5; planes[9][2] = 1; planes[10][0] = 5; planes[10][1] = 4; planes[10][2] = 7; planes[11][0] = 5; planes[11][1] = 7; planes[11][2] = 6; } rmatrix = (float **)realloc(rmatrix,nofcoords*sizeof(float *)); mem_alloc_error(rmatrix); for (i = 0; i < nofcoords; i++) { rmatrix[i] = (float *)malloc(3*sizeof(float)); mem_alloc_error(rmatrix[i]); } /* * Find the longest discance between all coordinates relative to the origin */ for (i = 0; i < nofcoords; i++) { j = (int)sqrt((pow(matrix[i][0],2)+pow(matrix[i][1],2)+pow(matrix[i][2],2))); if (j > biggest) biggest = j; } /* * Scale every coordinate using the calculated factor */ scale = 280 / (float)biggest; for (i = 0; i < nofcoords; i++) { matrix[i][0] *= scale; matrix[i][1] *= scale; matrix[i][2] *= scale; } } //**** Application Management, I/O etc. *********** //************************************************* void print_help() { printf("\nwmcube %s (C) %s Cezary M. Kruk (%s)\n", CK_WMCUBE_VERSION, CK_REV_YEAR, CK_REV_DATE); printf(" (C) %s Doug Torrance\n", DT_REV_YEAR); printf("wmCube %s (C) %s Robert Kling (%s)\n\n", RK_WMCUBE_VERSION, RK_REV_YEAR, RK_REV_DATE); printf(" Usage: wmcube [-o ] [-drcfnbipRGBh]\n\n"); printf(" -o : load external 3D object (plugin).\n\n"); printf(" -d x : rotate x degrees/step when the CPU is idle (default 1).\n"); printf(" -r x : rotate 1 degree faster every x percent of the CPU usage (default 25).\n"); #ifdef LINUX printf(" -c x : which CPU (0, 1, 2...) to monitor (default average over all).\n"); printf(" -f : use smooth font (default OFF).\n"); printf(" -n : exclude \"nice\" processes (default OFF).\n"); #endif #ifdef SOLARIS printf(" -c x : which CPU (0, 1, 2...) to monitor (default average over all).\n"); printf(" -f : use smooth font (default OFF).\n"); #endif #ifdef FREEBSD printf(" -f : use smooth font (default OFF).\n"); printf(" -n : exclude \"nice\" processes (default OFF).\n"); #endif #ifdef NETBSD printf(" -f : use smooth font (default OFF).\n"); printf(" -n : exclude \"nice\" processes (default OFF).\n"); #endif printf(" -b : draw the cube in a brighter color (default OFF).\n"); printf(" -i : invert cube speed (default OFF).\n"); printf(" -p : do not display the CPU load (default OFF).\n"); printf(" -R : use red image.\n"); printf(" -G : use green image.\n"); printf(" -B : use blue image.\n"); printf(" -h : display this help.\n\n"); } void die() { fprintf(stderr, "%s: exiting", pname); exit (1); } #ifndef SOLARIS // scan4objects doesnt work on Solaris because of alphasort int scan4objects(char *dir) { struct dirent **names; int n; n = scandir(dir,&names,0,alphasort); while (n-- > 0) if (strstr(names[n]->d_name,".wmc") != NULL) { objects[nof_objects] = (char *)malloc(strlen(dir)+strlen(names[n]->d_name)+2); strcpy(objects[nof_objects],dir); if (dir[strlen(dir)] != '/') strcat(objects[nof_objects],"/"); strcat(objects[nof_objects++],names[n]->d_name); } return nof_objects; } #endif int next_object() { if (nof_objects == 0) return -1; setupobj(objects[rand() % (nof_objects )]); return 0; } int loadobj(char *filename) { FILE *fp; char tmp[64] = {""}; int i = 0; //printf("\nLoading file %s...",filename); fflush(stdout); if ((fp = fopen(filename,"rt")) == NULL) { printf("\nERROR: wmcube object-file not found (%s).\n\n",filename); exit(0); } if (fscanf(fp,"%s",tmp) < 1) printf("WARNING: Could not read first line of object-file (%s).\n",filename); if (strcmp(tmp,"WMCUBE_COORDINATES") != 0) { printf("\nError in objectfile: it must start with WMCUBE_COORDINATES\n\n"); fclose(fp); exit(0); } if (fscanf(fp,"%s",tmp) < 1) printf("WARNING: Could not read second line of object-file (%s).\n",filename); while ((strcmp(tmp,"WMCUBE_LINES") != 0) && (strcmp(tmp,"WMCUBE_PLANES") != 0)) { matrix = (float **)realloc(matrix,(i+1)*sizeof(float *)); mem_alloc_error(matrix); matrix[i] = (float *)malloc(3*sizeof(float)); mem_alloc_error(matrix[i]); if (fscanf(fp,"%f %f %f",&matrix[i][0],&matrix[i][1],&matrix[i][2]) < 3 ) printf("WARNING: Could not read coordinates in object-file (%s).\n",filename); //printf("\n%d: %f %f %f",atoi(tmp), matrix[i][0],matrix[i][1],matrix[i][2]); if (atoi(tmp) != (++i)) { printf("\nError in objectfile (WMCUBE_COORDINATES section):\n" "the coordinates must be listed in order 1..n\n\n"); fclose(fp); exit(0); } if (fscanf(fp,"%s",tmp) < 1) printf("WARNING: Could not read next line of object-file (%s).\n",filename); if (feof(fp)) { printf("\nError in objectfile: you must have a section WMCUBE_LINES or WMCUBE_PLANES\n\n"); fclose(fp); exit(0); } } nofcoords = i; i = 0; if (strcmp(tmp,"WMCUBE_LINES") == 0) { planesORlines = 0; while (1) { cline = (int *)realloc(cline,(i+2)*sizeof(int)); mem_alloc_error(cline); if (fscanf(fp,"%d %d",&cline[i],&cline[i+1]) < 2) { if (feof(fp)) break; else printf("WARNING: Could not read line coordinates in object-file (%s).\n",filename); } i += 2; //printf("\n%d %d",cline[i-2],cline[i-1]); if (cline[i-2] > nofcoords || cline[i-1] > nofcoords) { printf("\nError in objectfile (WMCUBE_LINES section):\n" "coordinates %d and/or %d don't exist\n\n",cline[i-2],cline[i-1]); fclose(fp); exit(0); } } noflines = i-2; } else if (strcmp(tmp,"WMCUBE_PLANES") == 0) { planesORlines = 1; while (1) { planes = (int **)realloc(planes,(i+1)*sizeof(int *)); mem_alloc_error(planes); planes[i] = (int *)malloc(3*sizeof(int)); mem_alloc_error(planes[i]); if (fscanf(fp,"%d %d %d",&planes[i][0],&planes[i][1],&planes[i][2]) < 3) { if (feof(fp)) break; else printf("WARNING: Could not read plane coordinates in object-file (%s).\n",filename); } //printf("\n%d: %d %d %d",i,planes[i][0],planes[i][1],planes[i][2]); planes[i][0]--; planes[i][1]--; planes[i][2]--; //printf("\n%d: %d %d %d\n",i,planes[i][0],planes[i][1],planes[i][2]); if (planes[i][0] > nofcoords || planes[i][1] > nofcoords || planes[i][2] > nofcoords) { printf("\nError in objectfile (WMCUBE_PLANES section):\n" "coordinates %d and/or %d and/or %d don't exist\n\n",planes[i][0],planes[i][1],planes[i][2]); fclose(fp); exit(0); } i++; } nofplanes = i; plane_color = (int *)malloc(nofplanes*sizeof(int)); mem_alloc_error(plane_color); zorder = (int *)malloc(nofplanes*sizeof(int)); mem_alloc_error(zorder); for (i = 0; i < nofplanes; i++) zorder[i] = i; } else { printf("\nError in objectfile: you must have a section WMCUBE_LINES or WMCUBE_PLANES\n\n"); fclose(fp); exit(0); } fclose(fp); return 1; } void mem_alloc_error(void *block) { if (block == NULL) { printf("\nError allocating memory!\n\n"); exit(0); } } /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Begin System Specific Code. If you wish to port wmcube to a new platform, * you'll need to implement the following operations: * * int init_calc_cpu(); * Perform feature tests to determine whether wmcube can run, and set up * any files/data structures/etc. to gather statistics. * * int calc_cpu_total(); * return an integer reflecting the current CPU load */ #if defined LINUX /* * init_calc_cpu doesn't have much to do on Linux, but it can check to see if * /proc/stat is available; if the user selected to monitor a particular CPU, * it can check it's existence. */ int init_calc_cpu() { FILE *fp; int i; char cpuid[6]; char check_cpu[6]; char tmp[32]; sprintf(check_cpu, "cpu%d", which_cpu); if ((fp = fopen("/proc/stat","rb")) == NULL) { perror("/proc/stat required for this system"); return -1; } if (which_cpu == -1) return 0; for (i = -2; i < which_cpu; i++) { if (fscanf(fp, "%5s %31s %31s %31s %31s %31s %31s %31s %31s", cpuid, tmp, tmp, tmp, tmp, tmp, tmp, tmp, tmp) < 1) fprintf(stderr, "WARNING: could not read cpuid from /proc/stat\n"); } if (strcmp(check_cpu,cpuid) != 0) { fprintf(stderr, "ERROR: could not read cpu-load on %s. Are you " "sure you have an SMP system?\n",check_cpu); return -1; } fclose(fp); return (0); } int calc_cpu_total() { unsigned int total, used; int t=0, i; static int previous_total = 0, previous_used = 0; char cpuid[6]; unsigned int cpu,nice,system,idle; char tmp[32]; FILE *fp; fp = fopen("/proc/stat","rt"); for (i = -2; i < which_cpu; i++) { if (fscanf(fp,"%5s %u %u %u %u %31s %31s %31s %31s", cpuid, &cpu, &nice, &system, &idle, tmp, tmp, tmp, tmp) < 5) fprintf(stderr, "WARNING: could not read statistics from /proc/stat\n"); } fclose(fp); used = cpu + system + use_nice*nice; total = used + idle + (1-use_nice)*nice; t = 100 * (double)(used - previous_used) / (double)(total - previous_total); previous_total = total; previous_used = used; return t; } #elif defined SOLARIS #include #include #include static kstat_ctl_t *kc; static kstat_t **cpu_ksp_list; static kstat_t *the_cpu; static int ncpus; /* * The biggest subtlety of the Solaris port is that init_calc_cpu can be called * after the initial program setup. This occurs when a 'kstat state change' * occurs. Usually this means that a CPU has been taken on or off-line using * the psradm command. Another possibility is that on server systems, a new * CPU might have been hot-added to a running system. * * As a result, init_calc_cpu frees any resources it might have setup if needed, * and reinitializes everything. */ int init_calc_cpu() { kstat_t *ksp; int i = 0; if (kc == NULL) { if ((kc = kstat_open()) == NULL) { fprintf(stderr, "wmcube: can't open /dev/kstat\n"); return -1; } } if (which_cpu != -1) { /* * User selected to monitor a particlur CPU. find it... */ for (ksp = kc->kc_chain; ksp; ksp = ksp->ks_next) { if ((strcmp(ksp->ks_module, "cpu_stat") == 0) && (ksp->ks_instance == which_cpu)) { the_cpu = ksp; break; } } if (the_cpu == NULL) { fprintf(stderr, "CPU %d not found\n", which_cpu); return -1; } } else { /* * User selected to monitor all CPUs. First, count them. */ for (ksp = kc->kc_chain; ksp; ksp = ksp->ks_next) { if (strcmp(ksp->ks_module, "cpu_stat") == 0) i++; } if (cpu_ksp_list) { free(cpu_ksp_list); } cpu_ksp_list = (kstat_t **) calloc(i * sizeof (kstat_t *), 1); ncpus = i; /* * stash the ksp for each CPU. */ i = 0; for (ksp = kc->kc_chain; ksp; ksp = ksp->ks_next) { if (strcmp(ksp->ks_module, "cpu_stat") == 0) { cpu_ksp_list[i] = ksp; i++; } } } return 0; } int calc_cpu_total() { int i; cpu_stat_t stat; static int previous_total = 0, previous_used = 0; int used, total, t, user = 0, wait = 0, kern = 0, idle = 0; /* * Read each cpu's data. If the kstat chain has changed (a state change * has happened, maybe a new cpu was added to the system or one went * away), then reinitialize everything with init_calc_cpu(). Finally, * recursively call calc_cpu_total. * * We'll need to do a little better than this in the future, since we * could recurse too much in the pathological case here. */ if (which_cpu == -1) { for (i = 0; i < ncpus; i++) { if (kstat_read(kc, cpu_ksp_list[i], (void *)&stat) == -1) { if (init_calc_cpu() != 0) { fprintf(stderr, "failed to " "reinitialize following state " "change\n"); return (-1); } return (calc_cpu_total()); } user += stat.cpu_sysinfo.cpu[CPU_USER]; /* user */ wait += stat.cpu_sysinfo.cpu[CPU_WAIT]; /* io wait */ kern += stat.cpu_sysinfo.cpu[CPU_KERNEL]; /* sys */ idle += stat.cpu_sysinfo.cpu[CPU_IDLE]; /*idle("free")*/ } } else { if (kstat_read(kc, the_cpu, (void *)&stat) == -1) { if (init_calc_cpu() != 0) { fprintf(stderr, "failed to reinitialize " "following state change\n"); return (-1); } return (calc_cpu_total()); } user += stat.cpu_sysinfo.cpu[CPU_USER]; /* user */ wait += stat.cpu_sysinfo.cpu[CPU_WAIT]; /* io wait */ kern += stat.cpu_sysinfo.cpu[CPU_KERNEL]; /* sys */ idle += stat.cpu_sysinfo.cpu[CPU_IDLE]; /* idle("free") */ } used = user + wait + kern; total = used + idle; t = 100 * (double)(used - previous_used) / (double)(total - previous_total); previous_total = total; previous_used = used; return (t); } #elif defined FREEBSD int init_calc_cpu() { return 0; } #define GETSYSCTL(name, var) getsysctl(name, &(var), sizeof(var)) static void getsysctl(const char *name, void *ptr, size_t len) { size_t nlen = len; if (sysctlbyname(name, ptr, &nlen, NULL, 0) == -1) { fprintf(stderr, "sysctl(%s...) failed: %s\n", name, strerror(errno)); exit(1); } if (nlen != len) { fprintf(stderr, "sysctl(%s...) expected %lu, got %lu\n", name, (unsigned long)len, (unsigned long)nlen); exit(1); } } int calc_cpu_total() { int total, used, t=0; static int previous_total = 0, previous_used = 0; int cpu,nice,system,idle; unsigned long int cpu_time[CPUSTATES]; GETSYSCTL("kern.cp_time", cpu_time); cpu = cpu_time[CP_USER]; nice = cpu_time[CP_NICE]; system = cpu_time[CP_SYS]; idle = cpu_time[CP_IDLE]; used = cpu + system + use_nice*nice; total = used + idle + (1-use_nice)*nice; t = 100 * (double)(used - previous_used) / (double)(total - previous_total); previous_total = total; previous_used = used; return t; } #elif defined OPENBSD int init_calc_cpu() { return 0; } int calc_cpu_total() { double avenrun[3]; (void) getloadavg(avenrun, sizeof(avenrun) / sizeof(avenrun[0])); return(((5.0*avenrun[0] + 0.5) > 50) ? 50 : (5.0*avenrun[0] + 0.5))*2; } #elif defined NETBSD /* END OPENBSD */ #include #include int init_calc_cpu () { return 0; } int calc_cpu_total () { static u_int64_t last_cp_time[CPUSTATES] = { 0, 0, 0, 0, 0 }; u_int64_t curr_cp_time[CPUSTATES]; u_int64_t total_time = 0, idle_time = 0; int mib[2]; int i; size_t ssize; const int IDLE_TIME = 4; const int NICE_TIME = 1; ssize = sizeof ( curr_cp_time ); mib[0] = CTL_KERN; mib[1] = KERN_CP_TIME; if ( sysctl ( mib, 2, curr_cp_time, &ssize, NULL, 0 ) ) { fprintf ( stderr, "wmcube: unable to read CP_TIME from sysctl()\n" ); exit ( 0 ); } if ( !use_nice ) curr_cp_time[NICE_TIME] = 0; /* NetBSD gives 5 CPUSTATES - * User, Nice, System, Interrupt, Idle */ idle_time = curr_cp_time[IDLE_TIME] - last_cp_time[IDLE_TIME]; for ( i = 0; i < CPUSTATES; i++ ) { total_time += ( curr_cp_time[i] - last_cp_time[i] ); last_cp_time[i] = curr_cp_time[i]; } /* Calculate the % CPU usage as the User+Nice+System+Interrupt/Total * for the interval */ return ( 100 * (int) ( total_time - idle_time ) / total_time ); } #else /* END NETBSD */ /* * This is a stub which will compile for platforms other than LINUX or SOLARIS. * Use these to start your port to a new platform. */ int init_calc_cpu() { return 0; } int calc_cpu_total() { return 0; } #endif /* OS SPECIFIC CODE */ wmcube-1.0.2/wmcube/Makefile0000644000000000000000000000252612664423740014431 0ustar rootrootCC = gcc OS = -DLINUX VERSION = 1.0.2 LIBDIR = -L/usr/X11R6/lib LIBDIR = -L/usr/X11R6/lib INCDIR = -I/usr/X11R6/share/include PREFIX = /usr BINDIR = $(PREFIX)/bin DOCDIR = $(PREFIX)/doc/wmcube-$(VERSION) MANDIR = $(PREFIX)/man/man1 OBJDIR = $(PREFIX)/share/wmcube # Edit OSLIBS as appropriate to include OS specific libraries. OSLIBS = LIBS = -lXpm -lXext -lX11 -lm $(OSLIBS) CFLAGS = -Wall -O2 OBJS = wmcube.o \ ../wmgeneral/wmgeneral.o \ ../wmgeneral/misc.o \ ../wmgeneral/list.o .c.o: $(CC) $(OS) $(CPPFLAGS) $(CFLAGS) $(INCDIR) -c $< -o $*.o wmcube: $(OBJS) $(CC) $(LDFLAGS) -o wmcube $^ -lXext $(LIBDIR) $(LIBS) all:: wmcube clean:: for i in $(OBJS) ; do \ rm -f $$i ; \ done rm -f wmcube rm -f *~ install:: wmcube cp -f wmcube $(BINDIR) chmod 755 $(BINDIR)/wmcube chown root:root $(BINDIR)/wmcube mkdir -p $(DOCDIR) cp -p ../CHANGES ../COPYING ../INSTALL ../README ../THANKS $(DOCDIR) cp -pr ../3D-objects $(DOCDIR) cp -p wmcube.1 $(MANDIR) mkdir -p $(OBJDIR) cp -p ../3D-objects/* $(OBJDIR) @echo "wmcube installation finished..." uninstall:: rm -f $(BINDIR)/wmcube rm -f $(DOCDIR)/3D-objects/* if [ -d $(DOCDIR)/3D-objects ]; then rmdir $(DOCDIR)/3D-objects; fi rm -f $(DOCDIR)/* if [ -d $(DOCDIR) ]; then rmdir $(DOCDIR); fi rm -f $(MANDIR)/wmcube.1 rm -f $(OBJDIR)/* if [ -d $(OBJDIR) ]; then rmdir $(OBJDIR); fi wmcube-1.0.2/wmcube/Makefile.FREEBSD0000644000000000000000000000250612664423743015503 0ustar rootrootCC = gcc OS = -DFREEBSD VERSION = 1.0.2 LIBDIR = -L/usr/X11R6/lib LIBDIR = -L/usr/X11R6/lib INCDIR = -I/usr/X11R6/include PREFIX = /usr BINDIR = $(PREFIX)/bin DOCDIR = $(PREFIX)/doc/wmcube-$(VERSION) MANDIR = $(PREFIX)/man/man1 OBJDIR = $(PREFIX)/share/wmcube # Edit OSLIBS as appropriate to include OS specific libraries. OSLIBS = -lkvm LIBS = -lXpm -lXext -lX11 -lm $(OSLIBS) CFLAGS = -Wall -O2 $(OS) OBJS = wmcube.o \ ../wmgeneral/wmgeneral.o \ ../wmgeneral/misc.o \ ../wmgeneral/list.o .c.o: $(CC) $(CFLAGS) $(INCDIR) -c $< -o $*.o wmcube: $(OBJS) $(CC) -o wmcube $(OBJS) -lXext $(LIBDIR) $(LIBS) all:: wmcube clean:: for i in $(OBJS) ; do \ rm -f $$i ; \ done rm -f wmcube rm -f *~ install:: wmcube cp -f wmcube $(BINDIR) chmod 755 $(BINDIR)/wmcube chown root:root $(BINDIR)/wmcube mkdir -p $(DOCDIR) cp -p ../CHANGES ../COPYING ../INSTALL ../README ../THANKS $(DOCDIR) cp -pr ../3D-objects $(DOCDIR) cp -p wmcube.1 $(MANDIR) mkdir -p $(OBJDIR) cp -p ../3D-objects/* $(OBJDIR) @echo "wmcube installation finished..." uninstall:: rm -f $(BINDIR)/wmcube rm -f $(DOCDIR)/3D-objects/* if [ -d $(DOCDIR)/3D-objects ]; then rmdir $(DOCDIR)/3D-objects; fi rm -f $(DOCDIR)/* if [ -d $(DOCDIR) ]; then rmdir $(DOCDIR); fi rm -f $(MANDIR)/wmcube.1 rm -f $(OBJDIR)/* if [ -d $(OBJDIR) ]; then rmdir $(OBJDIR); fi wmcube-1.0.2/wmcube/Makefile.NETBSD0000644000000000000000000000245712664423746015420 0ustar rootrootCC = gcc OS = -DNETBSD VERSION = 1.0.2 LIBDIR = -L/usr/X11R6/lib -L./libdocapp/ # Edit OSLIBS as appropriate to include OS specific libraries. OSLIBS = LIBS = -lXpm -lXext -lX11 -lm $(OSLIBS) CFLAGS = -Wall -I/usr/X11R6/include -O2 $(OS) PREFIX = /usr BINDIR = $(PREFIX)/bin DOCDIR = $(PREFIX)/doc/wmcube-$(VERSION) MANDIR = $(PREFIX)/man/man1 OBJDIR = $(PREFIX)/share/wmcube OBJS = wmcube.o \ ../wmgeneral/wmgeneral.o \ ../wmgeneral/misc.o \ ../wmgeneral/list.o .c.o: $(CC) $(CFLAGS) $(INCDIR) -c $< -o $*.o wmcube: $(OBJS) $(CC) -o wmcube -lXext $(LIBDIR) $(LIBS) $(OBJS) all:: wmcube clean:: for i in $(OBJS) ; do \ rm -f $$i ; \ done rm -f wmcube rm -f *~ install:: wmcube cp -f wmcube $(BINDIR) chmod 755 $(BINDIR)/wmcube chown root:root $(BINDIR)/wmcube mkdir -p $(DOCDIR) cp -p ../CHANGES ../COPYING ../INSTALL ../README ../THANKS $(DOCDIR) cp -pr ../3D-objects $(DOCDIR) cp -p wmcube.1 $(MANDIR) mkdir -p $(OBJDIR) cp -p ../3D-objects/* $(OBJDIR) @echo "wmcube installation finished..." uninstall:: rm -f $(BINDIR)/wmcube rm -f $(DOCDIR)/3D-objects/* if [ -d $(DOCDIR)/3D-objects ]; then rmdir $(DOCDIR)/3D-objects; fi rm -f $(DOCDIR)/* if [ -d $(DOCDIR) ]; then rmdir $(DOCDIR); fi rm -f $(MANDIR)/wmcube.1 rm -f $(OBJDIR)/* if [ -d $(OBJDIR) ]; then rmdir $(OBJDIR); fi wmcube-1.0.2/wmcube/wmcubered.xpm0000644000000000000000000005352112435221271015464 0ustar rootroot/* XPM */ static char * wmcubered_xpm[] = { "160 133 32 1", " c #0000FF", "+ c #000000", "@ c #D20005", "# c #A80004", "$ c #808080", "% c #4A0007", "& c #D00005", "* c #CC0000", "= c #C80005", "- c #BE0000", "; c #B80000", "> c #B40004", ", c #AE0004", "' c #7E000C", ") c #A20004", "! c #9C0004", "~ c #960004", "{ c #900003", "] c #8C0003", "^ c #860003", "/ c #800003", "( c #7A0003", "_ c #740003", ": c #700005", "< c #6E0003", "[ c #680002", "} c #620002", "| c #5C0000", "1 c #5C0002", "2 c #580002", "3 c #520002", "4 c #4E0002", " ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ @#", " +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$ ", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++%%++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++%%++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$++++++%%%%%%+++++++++++++++++++++++++++++++++%%%%%%++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$++++++%%%%%%+++++++++++++++++++++++++++++++++%%%%%%++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++%%++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++%%++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ +++++++++++++$+++++++++++++++++++++++++++++++++++++++++++++++++++++++$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$++++++++++++++++++++++++++", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ + &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&", " +++++++++++++++++++++++++++++++++++++++++++++++++++++++$ + ********************************************************", " $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ + ========================================================", " + --------------------------------------------------------", " + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;", " + >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>", " + ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ########################################################", "++@@@+++++'++'@@@'+'@@@'+'+++'+'@@@'+'@@@'+'@@@'+'@@@'+'@@@'+++++++@@+@+++++++ ))))))))))))))))))))))))))))))))))))))))))))))))))))))))", "+@+++@++++@++++++@+++++@+@+++@+@+++++@+++++++++@+@+++@+@+++@+++++++@@+@+++++++ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!", "+@+++@++++@++++++@+++++@+@+++@+@+++++@+++++++++@+@+++@+@+++@+++++++++@++++++++ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~", "+'+++'++++'++'@@@'++@@@'+'@@@'+'@@@'+'@@@'+++++'+%@@@%+'@@@'+++++++++@++++++++ {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{", "+@+++@++++@++@+++++++++@+++++@+++++@+@+++@+++++@+@+++@+++++@+++++++++@++++++++ ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]", "+@+++@++++@++@+++++++++@+++++@+++++@+@+++@+++++@+@+++@+++++@+++@++++@+@@++++++ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", "++@@@+++++@++'@@@'+'@@@'+++++'+'@@@'+'@@@'+++++'+'@@@'+'@@@'+++'++++@+@@++++++ ////////////////////////////////////////////////////////", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ((((((((((((((((((((((((((((((((((((((((((((((((((((((((", " ________________________________________________________", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", "+%@@@%+'@@@++'@@@'+'@@@++'@@@'+'@@@'+'@@@'+'+++'+++'+++++++'+'+++'+'+++++@+++@+'@@@++'@@@'+'@@@'+'@@@'+'@@@'+'@@@'+'@@@'+'+++'+'+++'+'+++'+'+++'+'+++'+'@@@' ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++++@+++@+++@+++++++@+@+++@+@+++++@@+@@+@+++@+@+++@+@+++@+@+++@+@+++@+@+++++++@+++@+++@+@+++@+@+++@+@+++@+@+++@+++++@ ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++++@+++@+++@+++++++@+@++@++@+++++@+@+@+@+++@+@+++@+@+++@+@+++@+@+++@+@+++++++@+++@+++@+@+++@+@+++@++@+@++@+++@+++++@ ", "+'@@@'+'@@@++'+++++'+++'+'@@@++'@@@++'+@@'+'@@@'+++'+++++++'+'@@%++'+++++'+++'+'+++'+'+++'+'@@@'+'@++'+'@@@++'@@@'+++'+++'+++'+'+++'+'+++'++%@%++'@@@'+'@@@' ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++@+@+++@+++@+++++++@+@++@++@+++++@+++@+@+++@+@+++@+@+++++@+@+@+@+++@+++++@+++@+++@+++@+@'+'@+@+@+@++@+@++++++@+@++++ ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++@+@+++@+++@+++++++@+@+++@+@+++++@+++@+@+++@+@+++@+@+++++@++@@+@+++@+++++@+++@+++@+++@++@'@++@@+@@+@+++@+++++@+@++++ ", "+'+++'+'@@@++'@@@'+@@@@++'@@@'+@+++++'@@@'+'+++'+++@+++'@@@'+'+++'+'@@@%+'+++'+@+++@+'@@@'+'+++++'@@@'+'+++'+'@@@'+++'+++%@@@@+++@+++@+++@+'+++@+'@@@'+'@@@' ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", " ::::::::::::::::::::::::::::::::::::::::::::::::::::::::", "+++++++++++++ <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<", "+++''++++++++ [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[", "+++''++++++++ }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}", "+'''''''''''' ||||||||||||||||||||||||||||||||||||||||||||||||||||||||", "+'''''''''''' 11111111111111111111111111111111111111111111111111111111", "+++''++++++++ 22222222222222222222222222222222222222222222222222222222", "+++''++++++++ 33333333333333333333333333333333333333333333333333333333", "+++++++++++++ 44444444444444444444444444444444444444444444444444444444", "+++++++++++++ ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", "++@@@+++++@+++@@@++@@@@@+++++@+@@@@@++@@@++@@@@@++@@@+++@@@++++++++@@+@+++++++ ", "+@+++@+++@@++@+++@++++@+++++@@+@+++++@++++++++@++@+++@+@+++@+++++++@@+@+++++++ ", "+@++@@++++@++++++@+++@@++++@+@+@@@@++@++++++++@++@+++@+@+++@+++++++++@++++++++ ", "+@+@+@++++@+++++@++++++@++@++@+@+++@+@@@@++++@++++@@@+++@@@@+++++++++@++++++++ ", "+@@++@++++@++++@+++++++@+@@@@@+++++@+@+++@+++@+++@+++@+++++@+++++++++@++++++++ ", "+@+++@++++@+++@++++@+++@+++++@+@+++@+@+++@++@++++@+++@+++++@++++++++@+@@++++++ ", "++@@@+++++@++@@@@@++@@@++++++@++@@@+++@@@+++@+++++@@@+++@@@++++@++++@+@@++++++ ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", " ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", "+++@+++@@@@+++@@@++@@@@++@@@@@+@@@@@++@@@++@+++@+++@+++++++@+@+++@+@+++++@+++@+@+++@++@@@++@@@@+++@@@++@@@@+++@@@++@@@@@+@+++@+@+++@+@+++@+@+++@+@+++@+@@@@@ ", "++@+@++@+++@+@+++@+@+++@+@+++++@+++++@+++@+@+++@+++@+++++++@+@++@++@+++++@@+@@+@+++@+@+++@+@+++@+@+++@+@+++@+@+++@+++@+++@+++@+@+++@+@+++@+@+++@+@+++@+++++@ ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++++@+++@+++@+++++++@+@+@+++@+++++@+@+@+@@++@+@+++@+@+++@+@+++@+@+++@+@+++++++@+++@+++@+@+++@+@+++@++@+@+++@+@+++++@+ ", "+@@@@@+@@@@++@+++++@+++@+@@@@++@@@@++@++@@+@@@@@+++@+++++++@+@@++++@+++++@+++@+@+@+@+@+++@+@@@@++@+++@+@@@@+++@@@++++@+++@+++@+@+++@+@+++@+++@+++++@+++++@++ ", "+@+++@+@+++@+@+++++@+++@+@+++++@+++++@+++@+@+++@+++@+++++++@+@+@+++@+++++@+++@+@++@@+@+++@+@+++++@+++@+@+@+++++++@+++@+++@+++@+@+++@+@+@+@++@+@++++@++++@+++ ", "+@+++@+@+++@+@+++@+@+++@+@+++++@+++++@+++@+@+++@+++@+++@+++@+@++@++@+++++@+++@+@+++@+@+++@+@+++++@+++@+@++@++@+++@+++@+++@+++@++@+@++@@+@@+@+++@+++@+++@++++ ", "+@+++@+@@@@+++@@@++@@@@++@@@@@+@++++++@@@++@+++@+++@++++@@@++@+++@+@@@@@+@+++@+@+++@++@@@++@++++++@@@++@+++@++@@@++++@++++@@@++++@+++@+++@+@+++@+++@+++@@@@@ ", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++@+++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", " ", "+++++++++++++ ", "+++''++++++++ ", "+++''++++++++ ", "+'''''''''''' ", "+'''''''''''' ", "+++''++++++++ ", "+++''++++++++ ", "+++++++++++++ ", "+++++++++++++ "}; wmcube-1.0.2/wmcube/Makefile.SOLARIS0000644000000000000000000000270212664423750015541 0ustar rootrootCC = gcc OS = -DSOLARIS VERSION = 1.0.2 LIBDIR = -L/usr/X11R6/lib LIBDIR = -L/usr/openwin/lib -L/opt/sfw/lib -L/usr/local/lib -R/usr/openwin/lib -R/opt/sfw/lib -R/usr/local/lib INCDIR = -I/usr/openwin/include -I/opt/sfw/include -I/usr/local/include PREFIX = /usr BINDIR = $(PREFIX)/bin DOCDIR = $(PREFIX)/doc/wmcube-$(VERSION) MANDIR = $(PREFIX)/man/man1 OBJDIR = $(PREFIX)/share/wmcube # Edit OSLIBS as appropriate to include OS specific libraries. OSLIBS = -lkstat LIBS = -lXpm -lXext -lX11 -lm $(OSLIBS) CFLAGS = -Wall -O2 $(OS) OBJS = wmcube.o \ ../wmgeneral/wmgeneral.o \ ../wmgeneral/misc.o \ ../wmgeneral/list.o .c.o: $(CC) $(CFLAGS) $(INCDIR) -c $< -o $*.o wmcube: $(OBJS) $(CC) -o wmcube $^ -lXext $(LIBDIR) $(LIBS) all:: wmcube clean:: for i in $(OBJS) ; do \ rm -f $$i ; \ done rm -f wmcube rm -f *~ install:: wmcube cp -f wmcube $(BINDIR) chmod 755 $(BINDIR)/wmcube chown root:root $(BINDIR)/wmcube mkdir -p $(DOCDIR) cp -p ../CHANGES ../COPYING ../INSTALL ../README ../THANKS $(DOCDIR) cp -pr ../3D-objects $(DOCDIR) cp -p wmcube.1 $(MANDIR) mkdir -p $(OBJDIR) cp -p ../3D-objects/* $(OBJDIR) @echo "wmcube installation finished..." uninstall:: rm -f $(BINDIR)/wmcube rm -f $(DOCDIR)/3D-objects/* if [ -d $(DOCDIR)/3D-objects ]; then rmdir $(DOCDIR)/3D-objects; fi rm -f $(DOCDIR)/* if [ -d $(DOCDIR) ]; then rmdir $(DOCDIR); fi rm -f $(MANDIR)/wmcube.1 rm -f $(OBJDIR)/* if [ -d $(OBJDIR) ]; then rmdir $(OBJDIR); fi