Re: TEXT IN SHADO
- Posted by Robert B Pilkington <bpilkington at JUNO.COM> Aug 16, 1997
- 780 views
On Sat, 16 Aug 1997 17:07:17 +0100 Jean Hendrickx <jean.hendrickx at EURONET.BE> writes: >In text mode it's often smarter to present messages or menus in >a box, and given it a 3D look, casting a shadow on 2 sides. >I notice though that in some software the back text in the shadow >remain still visible like in reality. >How can I do that in Euphoria ? I found mention of this no where >in basic or pascal. Thanks for any help. There was one thing I saw in QBasic that used PEEK and POKE, but there was a lot of code for it... It is called Shadow Box... I don't have it anymore... Anyway, another approach is find out what character is on the screen where each part of the shadow is, use a black background, and a darker color. (If the color is >=9 then color = color - 8... color 7 (white) = 8 (gray).) Colors 8-15 are brights. (8 is bright black, or gray... I said 9-15 because you may not want gray to become black... if so then make it if color >= 8...