wmanager-0.2.1/ 40755 1751 1751 0 7014320365 10563 5ustar mtmtwmanager-0.2.1/doc/ 40755 1751 1751 0 7014320364 11327 5ustar mtmtwmanager-0.2.1/doc/share/ 40755 1751 1751 0 7014320364 12431 5ustar mtmtwmanager-0.2.1/doc/share/screen.css100644 1751 1751 3420 7013552443 14522 0ustar mtmt/* File: share/website.css Stylesheet for websites Date: 19.05.1998 Meik Teßmer */ /* white background */ body { background-color:#ffffff; } a:link { color:#0000ee; text-decoration:underline; font-weight:normal; } a:visited { color:#0044bb; text-decoration:underline; font-weight:normal; } a:active { color:#0000ff; font-style:italic; } a.small { font-size:75%; } h1 { color:#a0a0a0; /* grey */ font-size:130%; text-align:left; } h2 { color:#a0a0a0; /* grey */ font-size:115%; margin-top:0.5cm; text-align:left; } h3 { color:#4444aa; /* blue */ font-size:110%; } h4 { color#4444aa; /* blue */ font-size:100%; } /* settings for normal text */ p { color:#000000; /* black */ } p.right { text-align:right; } p.example { background-color:#669999; color:#000000; text-indent:0cm; } p.small { font-size:70%; color: #550000; text-indent:0cm; } th { background-color:#cccccc; text-align:left; vertical-align:top; } td { vertical-align:top; } td.desc { background-color:#aaaaaa; text-align:left; vertical-align:middle; font-size:75%; } td.val { background-color:#ffffff; color:#555555; text-align:left; } td.button { background-color:#aaaaaa; text-align:center; vertical-align:middle; } td.active { background-color:#5555bb; color:#cccccc; text-align:center; vertical-align:middle; } td.inactive { background-color:#cccccc; color:#000000; text-align:center; vertical-align:middle; } td.section { font-size:150%; background-color:#ffffff; color:#aaaaaa; text-align:left; } td.sections { font-size:90%; background-color:#ffffff; color:#aaaaaa; text-align:left; } td.up { background-color:#eeeeee; text-align:center; vertical-align:middle; } ul { list-style:circle; } .red { color:#ff0000; } wmanager-0.2.1/doc/CenterGraphic.class100644 1751 1751 6362 7013552443 15204 0ustar mtmtŹžŗ¾-½zƒŒ™_…jb“‹‡£u H J W U L 8 K Y ; R S N C A < X \ B Z : G = O 9 6 D > F T ] M ? P E @ V [ I 7 Q l€ ŗ ‘ а ø` œf x• §° {© i« µ° cš “· |» v— ž› ya ~© w­ Ÿ„ ‰• ¤m g° q cŽ sŗ ˜o e” ’² k° ¢„ n©  ‘ ” ¼} –} ¶° d© ° t„(Ljava/awt/Graphics;)Vjava/awt/Color'(Ljava/awt/Font;)Ljava/awt/FontMetrics;(IIII)V CenterGraphicwasreadyactionLjava/applet/AppletContext;bound_ud SourceFile showStatus ClassGraphleadtoStringLjava/net/URL;readyLjava/awt/Font; Exceptions fillPolygon preferredSize LineColorTarget ClassGraphic drawStringsizeprefszdrawLine@This page generated using PERCEPS by Mark Peskin, CLICK FOR INFOhpresize()Ljava/awt/Color;hc mouseExit()Ljava/lang/String; stringwidth mouseEnter0This page generated using PERCEPS by Mark Peskin(Ljava/awt/Color;)Vjava/awt/Canvas(Ljava/lang/String;ZZLjava/awt/Font;Ljava/awt/Color;Ljava/awt/Color;Ljava/net/URL;Ljava/lang/String;Ljava/applet/AppletContext;)Vjava/applet/AppletContext minimumSizestringsz stringheightjava/awt/FontMetricsjava/awt/Component getLeading()V drawtriangle FontColor()I stringWidthsetFont%(Ljava/awt/Event;Ljava/lang/Object;)ZLjava/awt/Dimension;brighter(Ljava/lang/String;II)VitsFontjava/awt/Dimension(II)V#(Ljava/net/URL;Ljava/lang/String;)Vcontext([I[II)V showDocument itsString getHeight(Ljava/awt/Graphics;IIII)VsetColorjava/awt/GraphicsinfoLjava/lang/String; stringSizewidthClassGraph.javaZ(Ljava/awt/Event;II)Z(Ljava/lang/String;)V mouseDown()Ljava/awt/Dimension;paint ConstantValueImouseUp(Ljava/lang/String;)ICode java/net/URLbound_lrheight(Ljava/awt/Font;)VgetFontMetricsLocalVariablesLjava/awt/Color;(Ljava/awt/Dimension;)V getBackgroundŸ„˜oа°k°g°µ°{©~©x•‰•ŗsŗ¤mt„œfn©d© c†³Ķ Į*·*µ(*µ"*+µ3*µ.*µ4*µ$*µ*µ+* µ**Zµ2µ***“.¶!¶µ***“.¶!¶1`*“dµ%***“.¶!+¶`µ*»Y*“*“%·µ*µ* µ0*»Y*“*“0h`*“%*“h`·µ**“¶±®^³ ž*¶“#*“dl=*¶“ *“%dl>*“l`6l6+*“.¶+*¶¶¶*+*“3*“%`¶'+*“4¶*+*“3d*“%`d¶'+*“$¶**“(™*+¶)+d¶)*+d¶*“"™Y+*“%``*“%``¶)+*“%``*¶“#d*“%``¶)*+*¶“#d*“%``¶±”³“‡¼ :¼ :ŖqFldOl`OOOO`O§.OO`OldOl`OO+¶,±r­³*“°¦­³*“°ˆ­³*“°‚Ŗ³YM*“2™'*µ2*µ*“Ę6*“*“¶&¹-§#*“Ę*“¹-§*“¹-¬Ŗ³**“™ *µ*µ2*“¹-¬±Ŗ³A5*“™**+*“3¶5W*µ*“Ę*“*“*“+¹/*µ2¬¬Ŗ³**µ*“Ę*“*“¶&¹-¬hØwmanager-0.2.1/doc/ClassGraph.class100644 1751 1751 6037 7013552443 14514 0ustar mtmtŹžŗ¾-­Ŗp[zx}`a„œ˜ ¤£d–•”…sZ„g]§†“€~cm_Œ—o P U C K Q #N "G J O F S !J ? "@ R L V "I M H A E W X B D T ‚i ˆv w\ ^b l¬ fŸ ^u Y t ^© ^š ^Š ^Ž ƒ| q‡ ™ ^j {’ ‰r ‹ ^‘ nØ h¬ ^Ÿ ¬ ¢(Ljava/awt/Graphics;)Vjava/awt/Color background()Ljava/applet/AppletContext; CenterGraphicjava/awt/Container classnametarget•(Ljava/lang/String;LLinkPanel;LLinkPanel;Ljava/awt/Font;Ljava/awt/Color;Ljava/awt/Color;Ljava/net/URL;Ljava/lang/String;Ljava/applet/AppletContext;)V LinkPanel_blank SourceFile showStatus ClassGraphred((Ljava/lang/String;I)Ljava/lang/Integer;([LHyperLink;)V Exceptionsblack ClassGraphic getParameterjava/lang/String_top getGraphics()Ljava/net/URL; HyperLink countTokens(I)V()Ljava/lang/String;getAppletContextchildren mouseEnternoneadd(Ljava/awt/Color;)V0This page generated using PERCEPS by Mark Peskinjava/applet/AppletContextyellowjava/lang/IntegerinitvalueOf setBackgroundparentsjava/awt/Component java/awt/Font()Ljava/awt/Graphics; nextTokengetDocumentBase()V(Ljava/awt/LayoutManager;)Vjava/awt/BorderLayout()I(Ljava/lang/String;II)V setLayoutpaintComponents#(Ljava/net/URL;Ljava/lang/String;)V<(Ljava/lang/String;Ljava/awt/Component;)Ljava/awt/Component;java/lang/ExceptionCenter textdowncolorinfourljava/util/StringTokenizer linecolorequalsIgnoreCase'(Ljava/lang/String;Ljava/lang/String;)VClassGraph.java maintextcolor(Ljava/lang/String;)Z(Ljava/awt/Event;II)Z(Ljava/lang/String;)V textcolor ConstantValueintValue Helvetica textincolorjava/applet/AppletCode java/net/URL&(Ljava/lang/String;)Ljava/lang/String;±(Ljava/lang/String;Ljava/net/URL;Ljava/lang/String;Ljava/applet/AppletContext;Ljava/lang/String;Ljava/awt/Font;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;)V,LocalVariablesLjava/awt/Color;Š¦Jö*¶>L* ¶>M*¶>N*¶>:*¶>:* ¶>:* ¶>:* ¶>:*¶>: * ¶>: *¶>: Ę*»Yø0¶;·9¶3§WĘ"»Yø0¶;·9: §W²&: §²&: Ę!»Yø0¶;·9: §W : § : Ę"»Yø0¶;·9:§W²%:§²%: Ę"»Y ø0¶;·9:§W²::§²:: Ę!»Y ø0¶;·9:§W :§ : Ę»Y ·4:§ W:§:Ē:,Ę»"Y,·5:¶*l6§6»"Y+·5:-Ę»"Y-·5:¶*l6§6»"Y+·5:½:½:»Y ·':6§`¶1:¶1:¶)š»Y*¶(·.:§ W:§:»Y*¶8*¶> ·7S„”’Ÿ6§`¶1:¶1:¶)š»Y*¶(·.:§ W:§:»Y*¶8*¶> ·7S„”’Ÿ*¶8¹=*»!Y·/¶2*»Y+»Y·,»Y·, *¶8·<¶$W**¶6¶-± Zorx‹Ž”“·ČŪŽń-0ALOņ\knyž¦ *¶8¹=¬^Ц*·+±e›wmanager-0.2.1/doc/ClassGraphic.class100644 1751 1751 5134 7013552443 15025 0ustar mtmtŹžŗ¾-‹mbT|zrW†‡ls] ? 6 ; + . 5 = 7 C > < 4 9 1 A * 2 0 3 E @ : D / B > , 8 - ˆd „Y Šq Hq …Z Gh XV gq ti Ic Qh ˆ_ u‚ }Y NL € V ˆx vc ea jV pP ^q ˆ` Mq KV [q ˆƒ ConstantValue hasparentswidthgetSizeminimumLayoutSizesize*(Ljava/awt/Component;)Ljava/awt/Component;heightadd ExceptionsLCenterGraphic; haschildrenaddLayoutComponent SourceFile java/awt/FontpreferredLayoutSize()Ljava/awt/Dimension;java/awt/LayoutManager minimumSize LScrollPanel;Ljava/awt/Font;leftremoveLayoutComponentjava/awt/Dimensionbottom()V(Ljava/lang/String;ZZLjava/awt/Font;Ljava/awt/Color;Ljava/awt/Color;Ljava/net/URL;Ljava/lang/String;Ljava/applet/AppletContext;)V()Ljava/awt/Insets; ScrollPanel()I)(Ljava/awt/Component;ILjava/awt/Color;Z)Vinsets(Ljava/awt/Component;)VrightZ(IIII)V preferredSize•(Ljava/lang/String;LLinkPanel;LLinkPanel;Ljava/awt/Font;Ljava/awt/Color;Ljava/awt/Color;Ljava/net/URL;Ljava/lang/String;Ljava/applet/AppletContext;)Vjava/awt/Paneljava/awt/Component*(Ljava/awt/Container;)Ljava/awt/Dimension;)(Ljava/lang/String;Ljava/awt/Component;)VcenterIjava/awt/Container ClassGraphicreshape getFamilylinksCode(Ljava/lang/String;II)VLocalVariables CenterGraphicClassGraph.javajava/awt/InsetsparentslayoutContainer stringSize setLayout(Ljava/awt/LayoutManager;)V()Ljava/lang/String;(Ljava/awt/Dimension;)Vchildren classfont LinkPanel ClassGraph(Ljava/awt/Container;)Vtop }Y„YpP…ZGhQhˆkwĻ Ć*·,¶ž *µ$§*µ$-¶ž *µ§*µ*“$™*»Y, ·µ*“™*»Y- ·µ*»Y+*“$*“»Y¶¶`· ·µ *µ**¶**“ ¶(W*“$™ **“¶(W*“™ **“¶(W±Row ±~‰w³§+¶M+¶N,“'6,“#6-“%,“!d6-“),“d6*“ ¶&“)6*“ ¶"“%6 d dl6 ddl6  l6 d¤(ddl6*“ d¶*“$™~*“¶“%6*“¶“)6 ¢ d66§ 6 6 £ ld6 6§#d¢6 6§6 d6*“ ¶*“™–*“¶“%6*“¶“)6 d6 ¢ 6§ 6 £ dld6 6§&d£d6 6§6 d6*“ ¶±*“ dd¶±Jnw*“ ¶°UnwYM» Y*“ ¶&· M,Y“%*“¶“%*“¶“%``µ%,Y“)*“¶“)*“¶“)``µ),°\fw ±S{wmanager-0.2.1/doc/HyperLink.class100644 1751 1751 3320 7013552443 14362 0ustar mtmtŹžŗ¾-GFC 8D+=             <' 0" 26 ,5 B& 71 :; 43 $; #E 9/ !;java/lang/String mouseEnter()Ljava/lang/String;Target mouseDown ConstantValueLjava/lang/String;Ljava/applet/AppletContext;%(Ljava/awt/Event;Ljava/lang/Object;)Z Exceptions SourceFile HyperLinkLinkLocalVariablesCode#(Ljava/net/URL;Ljava/lang/String;)VtoStringd(Ljava/lang/String;Ljava/awt/Font;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;)V showStatus(Ljava/lang/String;)ZequalsIgnoreCase[Ljava/net/URL;(Ljava/lang/String;)V HyperText showDocument mouseExit(Ljava/awt/Event;II)Zcontext java/net/URLaction³(Ljava/lang/String;[Ljava/net/URL;[Ljava/lang/String;Ljava/applet/AppletContext;Ljava/lang/String;Ljava/awt/Font;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;)V±(Ljava/lang/String;Ljava/net/URL;Ljava/lang/String;Ljava/applet/AppletContext;Ljava/lang/String;Ljava/awt/Font;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;)VHyperLink.javaDescjava/applet/AppletContextjava/lang/Exception[Ljava/lang/String;,5#E<'B&7?.2 &*+  ·*,µ*-µ*µ *µ±7@.F :*+  ·*½µ*½µ*“,S*“-S*µ *µ±!;.}q*“2ĘI*“Ę*“¶š*“ *“¹§*“2Ę*“ *“2¶ ¹*+·¬*“Ę*“¶š*“ *“¹¬:;.*“ ¹*+· ¬$;.*“2Ę *+· ¬¬>(.O3>*“2Ę#*“ *“2*“2¹ § W§W§ „§’Ō¬ #''*Awmanager-0.2.1/doc/HyperText.class100644 1751 1751 4274 7013552443 14422 0ustar mtmtŹžŗ¾-‹slNhm`k 9 < F ; / 5 ) 2 6 3 , 4 = 1 E A D + . B : ? - 7 * 8 > 0 @ CČ Io ƒK † yp Š„ ^p T to HS  Ša W~ |‡ fT Ji ˆT wU db …Ž L{ nc Pv VM Œ\ OZ ‚o jT QT xp wa ConstantValue stringWidthwasready getHeight(Ljava/awt/Font;)V drawStringLjava/lang/String;java/awt/ColorsizeheightInColor Exceptions(Ljava/lang/String;)ILjava/awt/Color;(J)V itsStringaction SourceFile(Ljava/awt/Event;II)Z()Ljava/awt/Dimension; mouseEnterLjava/awt/Font;itsLinkbrighter mouseDownjava/awt/Dimension()V()Ljava/awt/Graphics;(Ljava/awt/Graphics;)V getGraphicsmouseUp TextColord(Ljava/lang/String;Ljava/awt/Font;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;)V HyperText()I NormColor HyperLinkjava/awt/Canvasjava/awt/FontMetricsupdateZ()Ljava/awt/Color; preferredSizeLjava/net/URL;java/awt/Componentraised mouseExitIrepaintdarker getBackgroundCode(Ljava/lang/String;II)VresizeLocalVariables%(Ljava/awt/Event;Ljava/lang/Object;)Z'(Ljava/awt/Font;)Ljava/awt/FontMetrics;paintLjava/awt/Dimension;readysetFont(II)VsetColorgetFontMetrics(Ljava/awt/Dimension;)V DownColorHyperLink.javajava/awt/GraphicsitsFontprefsz(Ljava/awt/Color;)V SelectColor VMŒ\]rfTQTˆTjTTto‚oIoŠgz‚ v*·*+µ*-µ&*µ*µ"*µ *,µ%*µ$*µ*µ**“&µ**“%¶¶ `6**“%¶*“¶`6*»Y·µ**“¶±€cz€t+*“%¶!*¶“#=*¶W*“$™/+*¶¶¶ +*“d¶ +*“¶ +*“d¶ ±+*¶¶¶ +*“d¶ +*“¶ +*“d¶ ±[Yz@4*“™*µ*µ**“"µ*µ$§**“µ*µ$*¶ ¬uYz0$**“&µ*“™ *µ*µ*µ$*¶ ¬eYzRF*“™;**“ µ*µ$**¶¶*+*“¶W*µ**“µ*µ$*'¶ *µ¬_Yz$**“"µ*µ*µ$*¶ ¬qZz*“°X‰wmanager-0.2.1/doc/LinkPanel.class100644 1751 1751 2100 7013552443 14325 0ustar mtmtŹžŗ¾-B?7 5(3             !/ 6< $- 8% =9 &- A4 8@ ;- #: )4 LinkPaneljava/awt/Dimension setLayout()Iresizewidth(II)Vheight ConstantValuejava/awt/ContainerTotalDimension Exceptionslinks preferredSizeI SourceFile(Ljava/awt/LayoutManager;)VLocalVariablesCodeLinkPanel.javajava/awt/ComponentLjava/awt/Dimension;java/awt/Paneladdjava/awt/GridLayout()Ljava/awt/Dimension;(Ljava/awt/Dimension;)Vnlinks*(Ljava/awt/Component;)Ljava/awt/Component;size([LHyperLink;)Vjava/lang/Exception()V LinkDimensionA4)4;-8>1ŲÄ*· *»Y·µ*»Y·µ*µ+*“2¶ M§W§B,“*““¤*“,“µ,“ *““ ¤*“,“ µ *Y“`µ§’³*“*““µ*“*““ *“h`µ **“¶*»Y· ¶ >§*+2¶W„*“”’š±#-0$"1*““¬&"1*““ ¬+"1*“¬,91*“°.2wmanager-0.2.1/doc/ScrollPanel.class100644 1751 1751 6102 7013552443 14674 0ustar mtmtŹžŗ¾-¢kŠy‚W“]sœ[ 8 G @ T Q ; M C 9 E N < P = ; ? O I A = 7 R 5 L 6 4 1 S K > F B D J 2 : 3 H tl em v’ ‹’ q^ z’ Zm h …U „’ d c{ Z{ X™ ˜Œ g{ xr ’ oY nŽ `Œ ”U i’ €m |  ’ ‡Y —’ }{ †f •{ V aŒ ZŸ _ƒ uLjava/awt/Scrollbar;getValue SimpleLayout handleEvent(IIII)Vjava/awt/Container SourceFilejava/awt/LayoutManager*(Ljava/awt/Component;)Ljava/awt/Component;moveneedhsleftvs Exceptionsscroll preferredSizesetPageIncrementLjava/awt/Panel;hidesizeid)(Ljava/awt/Component;ILjava/awt/Color;Z)Vjava/awt/InsetsLjava/awt/Component;(I)Vinsetsreshape(Ljava/awt/Container;)Vadd(Ljava/awt/Color;)Vjava/awt/ScrollbarscrolledComponent minimumSizetoplayoutContainer setBackgroundjava/awt/Componentsbwidth()V(Ljava/awt/LayoutManager;)Vshow(Ljava/awt/Component;)V()IsetLineIncrement setLayoutjava/awt/Dimension(II)VleftvbarviewPort setValuesaddLayoutComponent*(Ljava/awt/Container;)Ljava/awt/Dimension; ScrollPanelwidthZ)(Ljava/lang/String;Ljava/awt/Component;)V()Ljava/awt/Insets;()Ljava/awt/Dimension;right ConstantValueIjava/awt/EventCodemanageScrollbarsScrollPanel.javaheightneedvs(Ljava/awt/Event;)ZminimumLayoutSizeremoveLayoutComponentjava/awt/PanelLocalVariablespreferredLayoutSize(Ljava/awt/Dimension;)Vbottomhbar †f…U”Uz’˜Œ`ŒaŒtl Z~”ui*·*+µ%*» Y·µ*»Y·µ)*»Y·µ*µ**¶**“¶!W**“)¶!W**“¶!W*“»Y·¶*“+¶!W±Zj”‹*·*+µ%*µ#*µ*» Y·µ*»Y·µ)*»Y·µ*“)-¶*“-¶**¶**“¶!W**“)¶!W**“¶!W*“»Y·¶*“+¶!W±ˆ” ±wp”ū ļ+¶+M+¶ N»Y*“%¶· :Y“"`µ"Y“$`µ$,“/6,“.6-“",“,d6-“$,“*d6**Zµµ“"d¤*µ“$d¤*µ*“¶: *“)¶:   *“#Zµ"µ$*“™“$d “$d¤*µ*“™“"d “"d¤*µ*“™S*“¶*“™*“ “$d¶§*“ “$d “$d¶*“¶ “$6 § *“¶ 6 *“™e*“)¶*“™'*“) “$` “"dd “"¶§$*“) “"dd “$d “"¶*“)¶ “"6 § *“)¶ 6 *“™*“ ` d d¶§*“ d d¶*·±š‰”C7»Y*“%¶· M,Y“"*“)¶“"`µ",Y“$*“¶“$`µ$,°ž‰”7+»Y*“%¶· M,Y“"*“#`µ",Y“$*“#`µ$,°›~” ±•{”­”*“¶ L*“)¶ M*“%¶ N*“™@+“"ž*“+“"-“",“"`+“"d¶'*“-“" l¶0*“-“"l¶-*“™@,“$ž*“),“$-“$+“$`,“$d¶'*“)-“$ l¶0*“)-“$l¶-±d”1%»Y*“%¶· L+Y“"`µ"+Y“$`µ$+°u”*¶°X™”>2+“ Ŗ(Y]$$$$$*¶*+·(¬c{”$*“%*“)¶t*“¶t¶&±\–wmanager-0.2.1/doc/SimpleLayout.class100644 1751 1751 1764 7013552443 15116 0ustar mtmtŹžŗ¾-<.+5&)         ! 42 "0 ! ,( /:  80cjava/awt/DimensionwidthheightScrollPanel.java ConstantValuejava/awt/Container ExceptionsLjava/awt/Component;I preferredSize SourceFileLocalVariablesCode SimpleLayoutaddLayoutComponent(I)Ljava/awt/Component;java/awt/Component*(Ljava/awt/Container;)Ljava/awt/Dimension;java/lang/Object getComponentminimumLayoutSizejava/awt/LayoutManager()Ljava/awt/Dimension;preferredLayoutSize(IIII)V(Ljava/awt/Container;)Vreshape ScrollPanelremoveLayoutComponentlayoutContainer minimumSize)(Ljava/lang/String;Ljava/awt/Component;)V()V(Ljava/awt/Component;)V /:%*· ±'9%*,µ±73%3'*+¶µ*“*“¶ “ *“¶ “ ¶ ±-*%*“¶°1*%*“¶ °6;% ±#wmanager-0.2.1/doc/templates/ 40755 1751 1751 0 7014320365 13326 5ustar mtmtwmanager-0.2.1/doc/templates/CLASS.html.tmpl100644 1751 1751 1351 7013552443 16134 0ustar mtmt Class {classname}{templ} wmanager-0.2.1/doc/templates/CLASS_appl.html.tmpl100644 1751 1751 776 7013552443 17142 0ustar mtmt Class graph for class {name}
{applet target=_parent background=cccccc textcolor=ff0000 maintextcolor=000000 linecolor=000000 textincolor=0000ff textdowncolor=00ff00}
wmanager-0.2.1/doc/templates/CLASS_desc.html.tmpl100644 1751 1751 5301 7013552444 17132 0ustar mtmt Description of {classname}

{ if templ} Template { endif} {if struct} Struct {endif} {else} {if union} Union {endif}{else} Class {endelse} {endelse} {classlinked}{templ}

{if parents}

Parent classes
{parents}

{endif} {if brief}

{brief}

{endif} {if detail}

{detail}

{endif} {if italic} {italic}

{endif}

Members

{if public}

Public:

{foreach public}
{if brief} {endif} {if detail} {endif}

{brief}

{if type}{type}{endif}
{mname}{if func}({args}){if const}const{endif}{if throws}
throws {throwclass}({throwargs})
{endif}{endif}{if enum}{lb}{args}{rb}{endif};
{if param} {param} {endif}
{detail}


{next public} {endif public} {if protected}

Protected:

{foreach protected} {include memberlisting}
{next protected}

{endif protected} {if friend}

Friends:

{foreach friend} {include memberlisting}
{next friend}

{endif friend}
{if author} {endif} {if revision} {endif} {if date} {endif} {if state} {endif}
Author { author }
Revision { revision }
Date { date }
State { state }
wmanager-0.2.1/doc/templates/author_index.html.tmpl100644 1751 1751 2307 7013552444 17763 0ustar mtmt Example Class Index
{foreach author all} {foreach class} {if first} {endif} {nobreak} {br} {endnobreak} {next class} {next author}
Class Index by Author
Class Modified Description
{if !author}Other Authors{endif}{else}{author}{endelse}
{name}{templ} {modtime} {brief}
wmanager-0.2.1/doc/templates/classes.mcf.tmpl100644 1751 1751 317 7013552444 16507 0ustar mtmtbegin-headers: MCFVersion 0.95 name: "Classes" end-headers: {foreach class} unit: "{name}.html" name: "{name}" { if parents } {foreach parent} parent: #"{name}.html"{next}{endif} contentFrame: "Main" {next} wmanager-0.2.1/doc/templates/index.html.tmpl100644 1751 1751 2736 7013552444 16407 0ustar mtmt Class index

WManager programmer help

Class index

{foreach class} {next class}
Class name Short description
{classname}{templ} {brief}
Other items Other non-class items

Click Here for Index by Author

Author { author }
Revision { $Revision: 1.1 $ }
Date { $Date: 1999/11/14 15:28:36 $ }
State { $State: Exp $ }
wmanager-0.2.1/doc/templates/other.html.tmpl100644 1751 1751 3006 7013552444 16410 0ustar mtmt Other Documented Items

Other Documented Items



FUNCTIONS

    {foreach func}
    {type} {name}({args}) {if const}const{endif}{if throws} throws {throwclass}({throwargs}) {endif};
    {if brief} {brief}
    {endif} {if detail} {detail}
    {endif}

    {next}
GLOBALS

    {foreach global}
    {type} {name}{if enum} {lb}{args}{rb} {endif}{else}{args}{endelse};
    {if brief} {brief}
    {endif} {if detail} {detail}
    {endif}

    {next}
TYPEDEFS

    {foreach typedef}
    {type} {name}{if enum} {lb}{args}{rb} {endif};
    {if brief} {brief}
    {endif} {if detail} {detail}
    {endif}

    {next}
MACROS

    {foreach macro}
    {name} : {args}
    {if brief} {brief}
    {endif} {if detail} {detail}
    {endif}

    {next}
wmanager-0.2.1/doc/templates/param.flt100644 1751 1751 732 7013552444 15220 0ustar mtmtsub filter { local($str)=@_; local($newstr,$pname,$pdesc); foreach (split("\n",$str)) { if(/^\s*\t(.*)/) { $pdesc.=" $1"; } if(/^[^\t\S]*(\S+)\s*\-\s*(.*)/) { if($pname) { $newstr.="
$pname
$pdesc
\n"; } $pname=$1; $pdesc=$2; } } $newstr.="
$pname
$pdesc
\n"; $str="
Parameters
\n".$newstr; $str.="
\n"; return $str; } wmanager-0.2.1/doc/templates/smindex.html.tmpl100644 1751 1751 1046 7013552444 16740 0ustar mtmt Class Index

Class index

wmanager-0.2.1/doc/templates/time.flt100644 1751 1751 163 7013552444 15054 0ustar mtmt sub filter { local($str)=@_; local ($day,$month,$date)=split(" ",$str); return "$month $date"; } wmanager-0.2.1/inc/ 40755 1751 1751 0 7014320365 11334 5ustar mtmtwmanager-0.2.1/inc/Interface.H100644 1751 1751 4742 7013552444 13455 0ustar mtmt// $RCSfile: Interface.H,v $ // Interface part of WManager // //! author="$Author: M $" //! revision="$Revision: 1.2 $" //! date="$Date: 1999/11/14 15:28:36 $" //! state="$State: Exp $" // // // Copyright (C) 1999 M. Tessmer // // 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. #ifndef Interface_H #define Interface_H // SYSTEM INCLUDES //////////////////////////////////////////////////////////// // PROJECT INCLUDES /////////////////////////////////////////////////////////// // LOCAL INCLUDES ///////////////////////////////////////////////////////////// #include #include #include #include //: WManager interface class // This class implements the interface of wmanager. class Interface { public: //: Constructor Interface(); //: Destructor ~Interface(); //: Initialize the interface void Init(); //: Add one item to Hold_Browser widget // //! param: name - Window manager name //! param: path - Path to executable void AddToBrowser(const char* name, const char* path); //: Enter the Fltk run loop // //! param: argc - No. of arguments //! param: argv - Array of arguments void Run(int argc, char** argv); private: Fl_Window* _WMWindow; Fl_Button* _ExitButton; Fl_Button* _StartButton; Fl_Button* _AboutButton; Fl_Browser* _ListBrowser; inline void _ExitButtonCb_i(Fl_Button*, void*); static void _ExitButtonCb(Fl_Button*, void*); inline void _StartButtonCb_i(Fl_Button*, void*); static void _StartButtonCb(Fl_Button*, void*); inline void _AboutButtonCb_i(Fl_Button*, void*); static void _AboutButtonCb(Fl_Button*, void*); inline void _ListBrowserCb_i(Fl_Browser*, void*); static void _ListBrowserCb(Fl_Browser*, void*); }; #endif // Interface_H wmanager-0.2.1/inc/WManager.H100644 1751 1751 4361 7013552444 13253 0ustar mtmt// $RCSfile: WManager.H,v $ // Working part of WManager // //! author="$Author: M $" //! revision="$Revision: 1.2 $" //! date="$Date: 1999/11/14 15:28:36 $" //! state="$State: Exp $" // // // Copyright (C) 1999 M. Tessmer // // 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. #ifndef WManager_H #define WManager_H // SYSTEM INCLUDES ///////////////////////////////// #include // standard string class #include // file streams // PROJECT INCLUDES /////////////////////////////////////////////////////////// #include "Interface.H" // LOCAL INCLUDES ///////////////////////////////////////////////////////////// #include #include #include #include //: wmanager base class // It is simply the main app class. class WManager { public: //: Constructor WManager(); //: Destructor ~WManager(); //: Initialize the interface void Init(); //: Check commandline arguments // //! param: argc - No. of arguments //! param: argv - Array of arguments int CheckArguments(int argc, char** argv); //: Parse configuration file void ParseFile(); //: Enter the Fltk run loop // //! param: argc - No. of arguments //! param: argv - Array of arguments void Run(int argc, char** argv); private: Interface* _Interface; string* _ConfigurationFilename; void _ParseConfigurationFile(ifstream* filestream); void _TokenizeAndAddToBrowser(char* entry); char* _CutString(char* str, char* sub); }; #endif // WManager_H wmanager-0.2.1/.wmanagerrc100644 1751 1751 647 7014316746 13006 0ustar mtmt# sample configuration file for wmanager # 9wm=9wm AfterStep=/usr/X11R6/bin/afterstep Fltk Windowmanager=/home/M/bin/flwm Fvwm2=/usr/X11R6/bin/fvwm2 IceWm=/usr/X11R6/bin/icewm K Desktop Environment=/usr/X11R6/bin/kde Macintosh-like virtual wm=/usr/X11R6/bin/mlvwm Qvwm=/usr/X11R6/bin/qvwm Sapphire=/home/M/bin/sapphire Tabular wm = /usr/X11R6/bin/twm WindowMaker=/usr/X11R6/bin/wmaker wmG=/home/M/bin/wm wmx=/home/M/bin/wmxwmanager-0.2.1/.xinitrc100644 1751 1751 750 6774445404 12341 0ustar mtmt#!/bin/bash # # sample .xinitrc for wmanager # 1999/09/26 10:48:25 M. Tessmer # ... #default wm WM=/home/jane_user/bin/wmx # set nice(?) background xsetroot -solid black # start wmanager WM=$( wmanager.py -g +365+322; ) # test for -1 (returned if 'Exit' was pressed) # # WINDOWMANAGER is the final environment variable if test "$WM"!="-1" ; then WINDOWMANAGER=$WM ; else exec $failsafe ; fi # GNOME panel panel & # finally start a windowmanager $WINDOWMANAGER & # ... wmanager-0.2.1/COPYING100644 1751 1751 43076 6774445405 11764 0ustar mtmt GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, Cambridge, MA 02139, USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) 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 this service 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 make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. 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. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute 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 and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), 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 distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the 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 a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, 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. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE 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. END OF TERMS AND CONDITIONS Appendix: 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 convey 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) 19yy 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. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) 19yy name of author Gnomovision 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, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This 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 Library General Public License instead of this License. wmanager-0.2.1/FAQ100644 1751 1751 45 6774445404 11167 0ustar mtmtHum, still there are no questions ...wmanager-0.2.1/HISTORY100644 1751 1751 354 7530236414 11732 0ustar mtmtv0.1 1999/09/26: - started this project v0.1.1 1999/10/05: - added alternative .wmanagerrc file support - fixed bug in Makefile - added disclaimer text v0.2.1 2002/08/19: - misc fixes (including a braindamaged 'return 1') wmanager-0.2.1/INSTALL100644 1751 1751 531 6774445404 11706 0ustar mtmtINSTALL $Id: INSTALL,v 1.1.1.1 1999/09/29 17:23:16 M Exp $ For installation simply type 'make' for building a dynamic linked version of wmanager. If you want a static one, type 'make static'. Type 'make install' for copying the executable to '/usr/local/bin'. For other locations change the 'prefix' variable in 'Makefile'. wmanager-0.2.1/LICENSE100644 1751 1751 122 6774445405 11657 0ustar mtmtwmanager is published under the terms of the GNU GPL. Look at COPYING for details.wmanager-0.2.1/Makefile100644 1751 1751 4767 7013552524 12341 0ustar mtmt# $RCSfile: Makefile,v $ # Makefile for WManager # #! author="$Author: M $" #! revision="$Revision: 1.4 $" #! date="$Date: 1999/11/14 15:29:24 $" #! state="$State: Exp $" # # # Copyright (C) 1999 M. Tessmer # # 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. # make settings SHELL = /bin/sh MAKEFLAGS = --print-directory # compiler settings CXX = g++ CXXFLAGS = -I$(incdir) -O2 -Wall -pedantic #-DDEBUG=1 -g3 # linker settings LD = g++ LDFLAGS = -lfltk -lXext -lX11 -lm LDDIRS = -L/usr/X11R6/lib -L/usr/lib -L/usr/local/lib # install settings INSTALL = /usr/bin/install INSTALL_FLAGS = --strip # documentation tool DOCTOOL = perceps DOCTOOL_FLAGS = -a -b -f -h -m -r # base locations prefix = /usr/local exec_prefix = $(prefix) bindir = $(exec_prefix)/bin # include files and sources incdir = ./inc srcdir = ./src # documentational files for developer docdir = ./doc templates = $(docdir)/templates # search paths vpath %.H $(incdir) vpath %.cc $(srcdir) vpath %.html $(docdir) # files HDR = Interface.H WManager.H SRC = Interface.cc WManager.cc wmanager.cc MISC = HISTORY README COPYING INSTALL TAGS FAQ LICENSE NEWS TODO Makefile \ .wmanagerrc .xinitrc OBJ = $(patsubst %.cc,%.o,$(SRC)) # project version VERSION = 0.1.1 all: wmanager TAGS wmanager: $(OBJ) $(LD) -o $@ $^ $(LDDIRS) $(LDFLAGS) static: $(OBJ) $(LD) -o wmanager $^ $(LDDIRS) $(LDFLAGS) -static install: wmanager $(INSTALL) $< $(bindir)/$< clean: @rm -f $(OBJ) wmanager distclean: @rm -f $(OBJ) wmanager TAGS doc: $(HDR) $(DOCTOOL) $(DOCTOOL_FLAGS) -d $(docdir) -t $(templates) $< TAGS: $(HDR) $(SRC) etags --c++ -o $@ $^ version: @-echo -e '\nwmanager - X11 window manager selector' @-echo 'v$(VERSION) 1999/09/26 by M. Tessmer' @-echo 'Look at README for more information\n' # phony targets .PHONY: all clean distclean TAGS version doc wmanager-0.2.1/NEWS100644 1751 1751 353 7014316746 11350 0ustar mtmt1999-11-16: - The 'Enter' key is working, so you don't have to use the mouse (or 's'; this shortcut was replaced by 'Enter'). - Fixed a bug in browser scrolling (this fix is not complete because it's mainly a problem of Fltk).wmanager-0.2.1/README100644 1751 1751 10445 7014316746 11574 0ustar mtmtREADME $Id: README,v 1.3 1999/11/16 18:09:42 M Exp $ DESCRIPTION wmanager is a small X11 application for selecting a window manager at X startup. DISCLAIMER Copyright (C) 1999 M. Tessmer 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. INTERNET RESOURCES For the latest version of wmanager look at http://heuss.techfak.uni-bielefeld.de/mtessmer/wmanager/index.html INSTALLATION You need a working X11 environment and a C++ compiler. wmanager uses the Fast Light Toolkit which can be found at http://www.fltk.org For installation instructions look at 'INSTALL'. NEWS For latest news or new features on this project look at 'NEWS' or at the homepage above. FAQ There is also a frequently asked questions section. Look at 'FAQ'. USAGE After invoking, wmanager is looking for a file named '.wmanagerrc' in the user's home directory or the one specified at the commandline with the 'r' switch. This file contains a list of window managers: # sample .wmanagerrc file for wmanager 9wm=/home/M/bin/9wm AfterStep=/usr/X11R6/bin/afterstep Fltk Windowmanager=/home/M/bin/flwm Fvwm2=/usr/X11R6/bin/fvwm2 IceWm=/usr/X11R6/bin/icewm K Desktop Environment=/usr/X11R6/bin/kde Macintosh-like virtual wm=/usr/X11R6/bin/mlvwm Qvwm=/usr/X11R6/bin/qvwm Sapphire=/home/M/bin/sapphire Tabular wm = /usr/X11R6/bin/twm WindowMaker=/usr/X11R6/bin/wmaker wmG=/home/M/bin/wm wmx=/home/M/bin/wmx Lines beginning with a '#' are treated as comments. The first words are the name which is listed in 'wmanager', i.e. '9wm'. After that you must specify the executable file; it is '/home/M/bin/9wm' for '9wm' in the example file above. Relative path names are allowed. The following commandline options are allowed: -r file alternative .wmanagerrc file -d[isplay] host:n.n network -g[eometry] WxH+X+Y window size and position -t[itle] windowtitle window title -n[ame] classname window class -i[conic] iconfy application -fg color foreground color -bg color background color -bg2 color widget background color Typically, you add some lines to your .xinitrc/.xsession file in the following manner: #!/bin/bash # # sample .xinitrc for wmanager # ... #default wm WM=/home/jane_user/bin/wmx # set nice(?) background xsetroot -solid black # start wmanager at root window center WM=$( wmanager -g +365+322; ) # test for -1 (returned if 'Exit' was pressed) # # WINDOWMANAGER is the final environment variable if test "$WM"!="-1" ; then WINDOWMANAGER=$WM ; else exec $failsafe ; fi # GNOME panel panel & # finally start a windowmanager $WINDOWMANAGER & # ... wmanager prints out the path for the selected window manager to standard output, so you can store it in a variable like 'WM'. If you exit the program without selecting a window manager, it prints '-1' to stdout. The distribution comes with sample files for .wmanagerrc and .xinitrc. It should be easy to modify and use them in any environment. In future versions wmanager will check for file access rights and inform the user about it. Now you are prepared to go and set up your personal '.wmanagerrc' with your preferred window managers. If you find any bugs, have requests or questions, please mail to mtessmer@techfak.uni-bielefeld.de with 'wmanager: your question' in the subject field. Have fun, Meik wmanager-0.2.1/TODO100644 1751 1751 542 6777150455 11351 0ustar mtmtTODO $Id: TODO,v 1.2 1999/10/07 16:58:21 M Exp $ Missing in v0.1: ---------------- - file access check after selection - the enter key work equal to 's'(tart) - catch ESC key (quits Fltk) - preselection of window manager in .wmanagerrc - .lsm file - man page, html file, text file (and a screenshot for freshmeat.net/linuxapps.com) - autoconf supportwmanager-0.2.1/src/ 40755 1751 1751 0 7530236234 11356 5ustar mtmtwmanager-0.2.1/src/Interface.cc100644 1751 1751 20715 7014320646 13705 0ustar mtmt// Interface.cc // // Implementation of Interface class for WManager // $Id: Interface.cc,v 1.3 1999/11/14 15:28:36 M Exp $ // // // Copyright (C) 1999 M. Tessmer // // 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. // SYSTEM INCLUDES ////////////////////////////////// #include // standard io interface // PROJECT INCLUDES //////////////////////////////// #include "Interface.H" // class definition // LOCAL INCLUDES ///////////////////////////////////////////////////////////// #include #include #include #include #include #include // logo image static unsigned char *image_mt[] = { (unsigned char*) "70 32 2 1", (unsigned char*) " \tc None", (unsigned char*) ".\tc #000000", (unsigned char*) " ... ... .....................................................", (unsigned char*) " ... ... .....................................................", (unsigned char*) " ... ... ... ", (unsigned char*) " ... ... ... ", (unsigned char*) " ... ... ... ", (unsigned char*) " ... ... ... ", (unsigned char*) " ... ... ... ", (unsigned char*) " ... ... ... ", (unsigned char*) " ... ... ... ", (unsigned char*) " ... ... ... ", (unsigned char*) " ... ... ... ", (unsigned char*) " ... ... ... ", (unsigned char*) " ... ... ... ", (unsigned char*) " ... ... ... ", (unsigned char*) " ... ... ... ", (unsigned char*) " ... ... ... ", (unsigned char*) " ... ... ... ", (unsigned char*) " ... ... ... ", (unsigned char*) " ... ... ... ", (unsigned char*) " ... ... ... ", (unsigned char*) " ... ... ... ", (unsigned char*) " ... ... ... ", (unsigned char*) " ... ... ... ", (unsigned char*) " ... ... ... ", (unsigned char*) " ... ... ... ", (unsigned char*) " ... ... ... ", (unsigned char*) " ... ... ... .....", (unsigned char*) " ... ... ... .....", (unsigned char*) " ... ... ... .....", (unsigned char*) " ... ... ... .....", (unsigned char*) " ... ... ... .....", (unsigned char*) " " }; static Fl_Pixmap pixmap_mt(image_mt); // constructor Interface::Interface() { _WMWindow = 0; _ExitButton = 0; _StartButton = 0; _AboutButton = 0; _ListBrowser = 0; } // destructor Interface::~Interface() { delete _WMWindow; delete _ExitButton; delete _StartButton; delete _AboutButton; delete _ListBrowser; } // initialize interface void Interface::Init() { // main window _WMWindow = new Fl_Window(312, 124, "WManager"); _WMWindow->user_data((void*)(this)); // exit button _ExitButton = new Fl_Button(210, 100, 100, 20, "E&xit this session"); _ExitButton->box(FL_THIN_UP_BOX); _ExitButton->labelsize(12); _ExitButton->callback((Fl_Callback*)_ExitButtonCb, (void*)(this)); // start button _StartButton = new Fl_Button(210, 5, 100, 20, "Start"); _StartButton->shortcut(FL_Enter); _StartButton->box(FL_THIN_UP_BOX); _StartButton->labelsize(12); _StartButton->callback((Fl_Callback*)_StartButtonCb, (void*)(this)); // about button with image _AboutButton = new Fl_Button(210, 35, 100, 55); _AboutButton->box(FL_ENGRAVED_FRAME); pixmap_mt.label(_AboutButton); _AboutButton->labelsize(12); _AboutButton->callback((Fl_Callback*)_AboutButtonCb, (void*)(this)); _AboutButton->shortcut('h'); // list with available window managers _ListBrowser = new Fl_Hold_Browser(2, 3, 199, 120); _ListBrowser->box(FL_THIN_DOWN_BOX); _ListBrowser->selection_color(0); _ListBrowser->textsize(12); _ListBrowser->callback((Fl_Callback*)_ListBrowserCb, (void*)(this)); _ListBrowser->when(FL_WHEN_NOT_CHANGED); _WMWindow->end(); } // exit button callback inline void Interface::_ExitButtonCb_i(Fl_Button*, void*) { #if DEBUG == 1 cout << "ExitButton()\n"; #endif cout << "-1\n"; _WMWindow->hide(); } void Interface::_ExitButtonCb(Fl_Button* o, void* v) { ((Interface*)(o->parent()->user_data()))->_ExitButtonCb_i(o,v); } // start button inline void Interface::_StartButtonCb_i(Fl_Button*, void*) { #if DEBUG == 1 cout << "StartButton()\n"; #endif int i = 0; i = _ListBrowser->value(); cout << (char*)(_ListBrowser->data(i)) << "\n"; _WMWindow->hide(); } void Interface::_StartButtonCb(Fl_Button* o, void* v) { ((Interface*)(o->parent()->user_data()))->_StartButtonCb_i(o,v); } inline void Interface::_AboutButtonCb_i(Fl_Button*, void*) { #if DEBUG == 1 cout << "AboutButton()\n"; #endif fl_message("WManager v0.2\n" "(c) 1999 by M . Tessmer \n"); } void Interface::_AboutButtonCb(Fl_Button* o, void* v) { ((Interface*)(o->parent()->user_data()))->_AboutButtonCb_i(o,v); } //: List browser callback function inline void Interface::_ListBrowserCb_i(Fl_Browser*, void*) { #if DEBUG == 1 cout << "ListBrowser()\n"; #endif int i = 0; i = _ListBrowser->value(); if(_ListBrowser->visible(i) == 0) { _ListBrowser->show(i); } #if DEBUG == 1 cout << "Selected: " << _ListBrowser->text(i) << " (" << (char*)(_ListBrowser->data(i)) << ")\n"; #endif } void Interface::_ListBrowserCb(Fl_Browser* o, void* v) { ((Interface*)(o->parent()->user_data()))->_ListBrowserCb_i(o,v); } // add window manager to list void Interface::AddToBrowser(const char* name, const char* path) { #if DEBUG == 1 cout << "Interface::AddToBrowser(const char*, const char*)\n"; cout << "Interface::AddToBrowser: name = <" << name << ">, path = <" << path << ">\n"; #endif char* path_buffer = 0; path_buffer = new char[strlen(path)+1]; strcpy(path_buffer, path); _ListBrowser->add(name, (void*)path_buffer); } // enter fltk run loop void Interface::Run(int argc, char** argv) { #if DEBUG == 1 cout << "Run()\n"; #endif _ListBrowser->select(1); _WMWindow->show(argc, argv); Fl::run(); } // test routine // int // main(int argc, // char** argv) // { // Interface* interface = new Interface(); // interface->Init(); // interface->AddToBrowser("test windowmanager", "test_path"); // interface->Run(argc, argv); // } wmanager-0.2.1/src/WManager.cc100644 1751 1751 15527 7013552444 13515 0ustar mtmt// WManager.cc // // Implementation of working part // $Id: WManager.cc,v 1.3 1999/11/14 15:28:36 M Exp $ // // // Copyright (C) 1999 M. Tessmer // // 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. // SYSTEM INCLUDES ///////////////////////////////// #include // standard string class #include // file streams #include // only for 'strtok' #include // for home directory // PROJECT INCLUDES //////////////////////////////// #include "Interface.H" // interface class #include "WManager.H" // class definition // LOCAL INCLUDES ////////////////////////////////// #include // message window // constructor WManager::WManager() : _Interface(0), _ConfigurationFilename(0) { #if DEBUG == 1 cout << "WManager::WManager()\n"; #endif } // destructor WManager::~WManager() { #if DEBUG == 1 cout << "WManager::~WManager()\n"; #endif delete _Interface; delete _ConfigurationFilename; } // initialization stuff void WManager::Init() { #if DEBUG == 1 cout << "WManager::Init()\n"; #endif string configuration_filename = ""; struct passwd* my_passwd; // find home directory and add '.wmanagerrc' my_passwd = getpwuid(getuid()); configuration_filename += my_passwd->pw_dir; configuration_filename += "/.wmanagerrc"; _ConfigurationFilename = new string(configuration_filename.c_str()); _Interface = new Interface(); _Interface->Init(); } // check commandline for alternative configuration file ('-r filename') int WManager::CheckArguments(int argc, char** argv) { #if DEBUG == 1 cout << "WManager::CheckArguments(int, char**)\n"; #endif int i = 0; // old array index int n = 0; // new array index int j = 0; // 1 || 2 char* str = 0; char** array = 0; bool flag = false; // // pass one: check for no. of arguments and for unity // for(i = 0; iopen(_ConfigurationFilename->c_str()); if(!fd->is_open()) { fl_alert("Cannot open file %s", _ConfigurationFilename->c_str()); cout << "-1\n"; exit(-1); } } // end if _ParseConfigurationFile(fd); delete fd; } // enter fltk run loop void WManager::Run(int argc, char** argv) { #if DEBUG == 1 cout << "WManager::Run()\n"; #endif _Interface->Run(argc, argv); } // PRIVATE SECTION //////////////////////////////////////////////////////////// // parse configuration file void WManager::_ParseConfigurationFile(ifstream* filestream) { #if DEBUG == 1 cout << "WManager::_ParseConfigurationFile(ifstream*)\n"; #endif // because of a lack in iostream you cannot read lines into strings with // iostream::getline; the use of a char buffer is a workaround char* dummy = 0; dummy = new char[200+1]; // workaround while(!filestream->eof()) { filestream->getline(dummy, 200); // workaround if(strcmp(dummy, "") != 0) { _TokenizeAndAddToBrowser(dummy); } } // end while } // add token to fltk browser widget void WManager::_TokenizeAndAddToBrowser(char* entry) { #if DEBUG == 1 cout << "WManager::_TokenizeAndAddToBrowswer(char*)\n"; #endif string* name = 0; string* path = 0; char* ptr = 0; if(entry[0] != '#') { name = new string(); *name += strtok(entry, "="); #if DEBUG == 1 cout << "WManager::_TokenizeAndAddToBrowser: name = <" << *name << ">\n"; #endif // path to executable ptr = strtok(0, "="); // test for failure if(ptr != 0) { path = new string(); *path += ptr; #if DEBUG == 1 cout << "WManager::_TokenizeAndAddToBrowser: path = <" << *path << ">\n"; #endif // add new entry to browser list _Interface->AddToBrowser(name->c_str(), path->c_str()); // clean up delete name; delete path; } else { fl_alert("Error near %s while parsing configuration file %s!" "Try to read on...", name->c_str(), _ConfigurationFilename); } // end if } // end if } // cut rest from the beginning of str char* WManager::_CutString(char* str, char* rest) { int i = 0; int n = 0; int length = 0; int new_length = 0; char* new_str = 0; length = strlen(str); new_length = length - strlen(rest); if(new_length < 0) return 0; new_str = new char[new_length+1]; for(i = strlen(rest), n = 0; i < length; i++, n++) { new_str[n] = str[i]; } new_str[new_length+1] = 0; return new_str; } wmanager-0.2.1/src/mt.xpm100644 1751 1751 4616 6774445405 12643 0ustar mtmt/* XPM */ static char * mt_xpm[] = { "70 32 2 1", " c None", ". c #000000", " ... ... .....................................................", " ... ... .....................................................", " ... ... ... ", " ... ... ... ", " ... ... ... ", " ... ... ... ", " ... ... ... ", " ... ... ... ", " ... ... ... ", " ... ... ... ", " ... ... ... ", " ... ... ... ", " ... ... ... ", " ... ... ... ", " ... ... ... ", " ... ... ... ", " ... ... ... ", " ... ... ... ", " ... ... ... ", " ... ... ... ", " ... ... ... ", " ... ... ... ", " ... ... ... ", " ... ... ... ", " ... ... ... ", " ... ... ... ", " ... ... ... .....", " ... ... ... .....", " ... ... ... .....", " ... ... ... .....", " ... ... ... .....", " "}; wmanager-0.2.1/src/wmanager.cc100644 1751 1751 2665 7530236207 13574 0ustar mtmt// wmanager.cc // // main file // $Id: wmanager.cc,v 1.2 1999/10/05 19:42:49 M Exp $ // // // Copyright (C) 1999 M. Tessmer // // 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. // SYSTEM INCLUDES ////////////////////////////////// #include // standard io interface // PROJECT INCLUDES //////////////////////////////// #include "WManager.H" // main header file // LOCAL INCLUDES ///////////////////////////////////////////////////////////// int main(int argc, char** argv) { #if DEBUG == 1 cout << "wmanager: main(int, char**)\n"; #endif WManager* wm = 0; int i = 0; wm = new WManager(); wm->Init(); i = wm->CheckArguments(argc, argv); wm->ParseFile(); wm->Run(i, argv); delete wm; return 0; }