From: Andrey C. <sku...@us...> - 2006-06-06 00:11:39
|
Update of /cvsroot/eas-dev/eas/client In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv6982/client Modified Files: Makefile main.prg Added Files: eas-logo.xpm Removed Files: eas-logo.png Log Message: Redesign login window: add logo and version --- NEW FILE: eas-logo.xpm --- /* XPM */ static char * eas_logo_xpm[] = { "122 56 1082 2", " c None", ". c #FFFFFF", "+ c #FEFEFE", "@ c #F9FBFD", "# c #ECF3F9", "$ c #D1E2F3", "% c #B4D0ED", "& c #91BBE5", "* c #78ACE0", "= c #64A0DD", "- c #5798DB", "; c #4E93D9", "> c #4A91D9", ", c #4B91D8", "' c #4F93D9", ") c #5496D9", [...1102 lines suppressed...] ". . . + 3=N*7 7 7 7 7 7 7 7 7 7 7 7 |.4=5=6=7=8=9=0=i%i%i%a=b=j%c=c=c=k%d=e=V*_&f=g=h=i=j=k=l=m=n=o=<%p= #g#q=r=s=t=u=v=w=x=y=z=A=`%B=v+7+.%)+m*C=D=E=F=G=H=I=I=J=K=L=M=N=O=P=Q=R=S=R=T=U=V=W=X=T+f#Y=d*g&=$@+&+C.: . . . . . . . . . . . . . . . . ", ". . . : Z=`=7 7 7 7 7 7 7 7 7 7 7 7 |.h. -/+h+.-{%V*+-+-+-+-+-[@[@[@Q%Q%V*{%<#@-K$#-_+$-i+%-&-*-=---;-'*c&O@u#x+r )&7$T#|+%&2=a@>-g#,&,-U *+L L '-)-o@6$r#n@a@&&L*p+V@g&k&o#d*a@Y=`%c*c*U@c*`%%#L*.$.=!-~-{-&+s.:.+ . . . . . . . . . . . . . . . . ", ". . . : ]-^-7 7 7 7 7 7 7 7 7 7 7 7 }.i./-M+x&(-@-_-p*p*:-:-:-:-:-:-p*p*_-@-(-x&M+<-[-}-~$q*|-1-2-x*b*%&3-b+m*L L )+K $.4-4._*_*4.4-$.5-)+L : : L m*K %6-6$C+C+,&v+h#D+D+h#7-C+g&8-.=p#p#.=`$s#4.6-(..@9-q e _ + . . . . . . . . . . . . . . . . . ", ". . . + 0-a-7 7 7 7 7 7 7 7 7 7 7 7 }.j.g.2#r*J#b-c-i+i+!$!$!$!$!$!$i+i+c-d-J#r*e-h.i.f- -g-h-i-'*`%r#T#'.).( : _ s.)&$&'.a%7+7+5.@+_.)+C.: + + : e q 9-{-=#l&;@7+.@@+l*d$2+'&l&w+(.~-D+D+j-k-o@.@2+l-&+x+( : + . . . . . . . . . . . . . . . . . . ", ". . . + m-n-5 7 7 7 7 7 7 7 7 7 7 7 7 }.j.o-L#p-}&_+_+e-e-e-e-e-e-e-e-_+_+}&Y.L#i.j.q-r-s-t-|$!*n@b@D+K )+f + . : _ e x+)+q q q )+*+s.L : . . . + :.( '-d ).q q q ).d x+x+x+)+6.&+B '+)-)-'+%.)&)+x+r L :.: . . . . . . . . . . . . . . . . . . . . ", ". . . + L u-v-7 7 7 7 7 7 7 7 7 7 7 7 7 }.|.O+i.i.i.i.i.i.i.i.i.i.i.i.i.i.i.w-j.|.}.x-y-z-A-m@.$z$a+$&*+L + . . . + : _ L L L L L f :.: . . . . . + : :.f L L L L L f _ :._ L L ( C.e r r e C.( L _ : + + . . . . . . . . . . . . . . . . . . . . . ", ". . . . _ B-C-D-7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 }.}.}.}.}.}.}.7 7 7 7 7 7 E-F-G-H-b*%#q#D*7+I-C _ + . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . + + + + + + + + + + . . . . . . . . . . . . . . . . . . . . . . . . . ", ". . . . : s.J-K-7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 '@L-M-N-O-!*y$p#O@.@I-'-f + . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", ". . . . : L P-Q-R-Q 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 L-S-T-U-T+@#`+_*(.u#q e : + . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", ". . . . . :.*+V-W-X-7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 Q Y-Z-`- ;.;+;L*V@ @o@U )+( :.+ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", ". . . . . + ( q @;#;$;%;7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 &;*;=;-;;;>;k*2=q#4.T ,;&+s.f + . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", ". . . . . . :.r .%';);!;~;Q 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 &;{;];^;/;(;f#E&`+s#h#a%U )+e :.+ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", ". . . . . . + :.'-I-_;:;<;[;};|;Y-'@7 Q 7 7 Q '@'@E-1;2;3;4;5;6;7;1=`%5$o#8;z%5.U ).r _ : . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", ". . . . . . . + f C .%a%9;0;a;b;c;d;e;f;g;h;i;j;k;l;m;n;o;p;q;U@a@p+p#!-1+7+K )&C L : + . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", ". . . . . . . . + :.r 6.l*o@O@r;s;t;u;v;w;x;y;z;A;B;C;%#L*p+q#k&v+1+o@b+.%)+s.L : + . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", ". . . . . . . . . + :.( d '+b+$.-$v+s#|+o#r#D;D;r#8&.=k&,& @1+w+E;5-B m*r L :.+ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", ". . . . . . . . . . . + :.( x+6..%d$E;7+w+k-T T k-w+l&.@2+$&I-)&x+r L :.: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", ". . . . . . . . . . . . . : _ L r x+).)&B I-)-)-I-B &+q d C r L _ : + . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", ". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", ". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . "}; Index: Makefile =================================================================== RCS file: /cvsroot/eas-dev/eas/client/Makefile,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Makefile 2 Jun 2006 14:48:10 -0000 1.3 +++ Makefile 5 Jun 2006 20:54:53 -0000 1.4 @@ -10,6 +10,7 @@ CLIPLIBS = -L$(CLIPROOT)/lib -lclip-codb -lclip-ui -lclip-xml -lexpat EASLIBS = -leas -lcodb_query CLIPFLAGS = -a -O -b +ICONS = eas-logo.xpm .SUFFIXES: .prg .o .po .PHONY: all clean @@ -30,12 +31,13 @@ install: all $(PRG) @../mkinstalldirs $(DESTDIR)$(EASBINDIR) - @../mkinstalldirs $(DESTDIR)$(EASDATADIR)/client/ + @../mkinstalldirs $(DESTDIR)$(EASDATADIR)/client/icons $(CLIPROOT)/bin/clip_cp $(PRG) $(DESTDIR)$(EASBINDIR) + $(CLIPROOT)/bin/clip_cp $(ICONS) $(DESTDIR)$(EASDATADIR)/client/icons uninstall: rm -f $(DESTDIR)$(EASBINDIR)/$(PRG) - rm -rf $(DESTDIR)$(EASDATADIR)/server/ >/dev/null 2>&1 || : + rm -rf $(DESTDIR)$(EASDATADIR)/client/ >/dev/null 2>&1 || : .prg.o: $(CLIP) $(CLIPFLAGS) -DEAS_MODULES=\"$(EASDATADIR)/client/\" $(CLIPINCLUDE) $< Index: main.prg =================================================================== RCS file: /cvsroot/eas-dev/eas/client/main.prg,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- main.prg 5 Jun 2006 14:12:19 -0000 1.4 +++ main.prg 5 Jun 2006 20:54:53 -0000 1.5 @@ -191,7 +191,7 @@ function connectionDialog( msg ) //local oConnectData := map(), auth_info:=map(), packet, vRet local cfg, win, t, bb, cap, pF, bD, gTitle, wIcon, wVer - local oIni, name:="", a + local oIni, name:="", a, driver local server, port if loginInProgress == 1 @@ -227,15 +227,19 @@ // Title cap := UIFrame() - cap:setType( 2 ) // TODO: Sunken - gTitle := UIHBox() + cap:setType( FRAME_RAISED ) + gTitle := UIHBox(,3,3) cap:add( gTitle ) - wIcon := UIImage("~/pro/setup/eas/eas/client/eas-logo.png") // TODO: set data path + wIcon := UIImage( EAS_MODULES+PATH_DELIM+"icons"+PATH_DELIM+"eas-logo.xpm") gTitle:add( wIcon ) - wVer := UILabel( EASGetVersion() ) + wVer := UILabel( i18n('Version ')+EASGetVersion() ) gTitle:addEnd( wVer ) - //UILabel(i18n("Login to E/AS system")) - //cap:setProperty("font.style", "BOLD") // TODO: setProperty connect to widget!!! + + // Set styles + driver := getDriver() + driver:setStyle(cap:layout, 'color.bg', 'white') + driver:setStyle(wVer, 'color.fg', 'darkred') + t:add(cap, "1,1-4+",.T.) t:add(UILabel(i18n("Login")), "2,1") --- eas-logo.png DELETED --- |