This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.
Search Results (17 messages)
#SwapBitsRastPort… help
Message #59395
I just added the fabulous SwapBitsRastPortClipRect() function to my nearly complete menuing program. The above function expects to receive a RastPort pointer and a ClipRect pointer. It does not seem to work quite right yet. Here is what I am doing: I want to render a small submenu at 'x,y'…
SwapBitsRastPort… help
Message #59394
I just added the fabulous SwapBitsRastPortClipRect() function to my nearly complete menuing program. The above function expects to receive a RastPort pointer and a ClipRect pointer. It does not seem to work quite right yet. Here is what I am doing: I want to render a small submenu at 'x,y'…
More on SwapBits…()
Message #59296
It seems that my problem is related to the Blitter MODULO values when blitting one bitmap into another. I also saw that the ClipRect defined in RKM is only a partial ClipRect – Layers uses extra stuff on theirs. What is that extra stuff? I need to fix this problem…
SwapBitsRastPortClipRect
Message #58696
I just added the fabulous SwapBitsRastPortClipRect() function to my nearly complete menuing program. The above function expects to receive a RastPort pointer and a ClipRect pointer. It does not seem to work quite right yet. Here is what I am doing: I want to render a small submenu at 'x,y'…
Try this: (Modula-2 like code) CASE IDCMP.Class OF MenuVerify: SetNewColors(IDCMP.Window); (* Set colors for window about to menu *) ReplyMsg(IDCMP.Message); MenuPick: ResetColors(IDCMP.Window); (* Reset colors for window *); ProcessMenuing(IDCMP.Code); (* Do menu logic*) ReplyMsg(IDCMP.Message); ELSE END;
The MENUVERIFY will come before the MENUPICK. Intuition sends MENUVERIFY when the Right Button is depressed. It sends the MENUPICK when the Right Button is released. Note that you will ALWAYS receive a MENUPICK, even if no item is selected. So, yes you do the LoadRGB4(),SetRGB4() when the MENUVERIFY is…
That last one should have read 'number of bits Blitted to from EACH LINE of the checkmark is Image.Width
Yes, the system checkmark is defined with extra 0's on EVERY scan line. The number of bits Blitted to form the checkmark is determined from Image.Width . Get it?
You do have this option. Place MENUVERIFY in your IDCMPFlags. Then before menuing, Intuition will tell you that menuing is about to occur. Before Replying() to the message, change the screen colormap to more acceptable colors. Works real nice.
#55836-
#CheckMark color probs…
Message #55936
The system checkmark is a public structure, so don't mess with it's pen colors. You will have to define your own checkmark (easy) and set the colors/planepick/planeonoff values to reflect what you want. Tim
#55797-
#Menu TITLE color probs
Message #55935
As best I can tell, the following apply to your problem: 1. The text used for the menu titles are rendered using the screen's default font. 2. The titles color is is the window's blockpen. 3. All titles are 'activated' using complement of the select box. By adjusting combinations of…
#53983-
Things I'd Like to See 2
Message #54041
It doesn't interfere at all. The tearoff menus can be moved, placed in the background, and deleted. The best use for them is to place them off to the side of the screen somewhere.
#53429-
#Things I'd Like to See 2
Message #53507
You betcha'. It just sits waiting for mouse buttons et al and draws the menus just like Intuition would. When items are selected, a MenuPick is send to the window. If all goes well, it will work with ANY program that relies on Intuition menus. Programs that do their own…
MenuItem Jazz,Beat
Message #43511
Does anyone know to what use Intuition put the JazzX,JazzY,BeatX,BeatY internal MenuItem variables? I am really interested in seeing if I can use them for my PopUp menus or not. I have hunches as to what they may and may not do, but no confirmations. Tim Coffey
#LoadWB and SumLibrary
Message #28634
Anyone know if WorkBench does a SumLibrary() on Intuition upon startup? I seem to be causing a problem with my Popup menu utility, which replaces the SetmenuStrip and ClearmenuStrip with calls to my code. I do this replacement using SetFunction, just RKM says to. I thought that this re-calc`s the…
OR there is another option – a magnifying glass! I may just do it that way.
Amiga menu utility
Message #4281
Anyone got any suggestions/help on how an independent developer can get some software marketed? I have a great utility that replaces ALL Amiga menus calls/functions with Popup menus. They look and behave exactly like the real thing, except they appear at the pointer when the menu button is pressed. Again,…