Re: Edita Requests
- Posted by don cole <doncole at pacbell.net> Jun 17, 2007
- 673 views
Pete Lomax wrote: > > don cole wrote: > > > > Hello Pete, > > > > In order to to what I would like to do, I want to copy a bitmap to the > > DEMO > > window. And you have most of copyDib remmed out. Any reason for this? > > The arwen.ew I ship has "include dib256.ew" commented out because edita does > not use it. If anything, the dib256.ew which I (pointlessly) distribute [*] > actually contains some uncommented code over the official that I had a play > with, iirc. Afaik, the copyDib routine has been left exactly how I found it. > > Mike has posted a new version of arwen with improved/working dibs. I have yet > to try this out/merge it into something edita can use. > [*] There is nothing to stop anyone, as and when needed, coding: > }}} <eucode> > include arwen.ew > include dib256.ew > </eucode> {{{ > > BTB, > Are you saying that "dcole.zip" does not work? No that works fine. If I change the color of the text with setTextColour(TABCONTROL2,White). That works ok. If I change the background with setBackColour(TABCONTROL2,#FFFFFF). The background always turns white and text black no matter what color I put in there. > change If so can you send me some details, > eg screen dumps, of what you get, and maybe, edited, what you want? > > > I believe the only way the change to backlground text of a Tab (in Arwin)is > > to paste a bimap over it. Is this true? > > If you do not want a pattern, then a bitmap offers nothing over FillRect, so > no, I would say that is utterly false. What exactly do you mean by > "backlground > text" anyway? Do you mean background? Do you mean text? Or do you mean > something > inbetween? The text background text would be the color center of the "O". The background color would be the whole tab except the text. I would like to change the text background and the Tab background to the same color. But different colors for each Tab. Screen shot. http://www.RapidEuphoria.com/uploads/petes letter.bmp I want the same as this but with differnt colored Tabs instead of Buttons. > > Confused, > Pete > > PS It is called arwen, not arwin (maybe you can ask Mike why, maybe it says > somethere in the docs, I forget). I don't care why. I'll try Mike's version and see if it will work with copyDib(). Thanks, Don Cole