ModifyProp(), but with selective refresh.
Source position: intuition.pas line 4130
procedure NewModifyProp( |
gadget: pGadget; |
window: pWindow; |
requester: pRequester; |
flags: LongWord; |
horizPot: LongWord; |
vertPot: LongWord; |
horizBody: LongWord; |
vertBody: LongWord; |
numGad: LongInt |
); |
gadget |
|
A pointer to a proportional gadget |
window |
|
A pointer to the window containing the gadget or the window containing the requester containing the gadget. |
requester |
|
A pointer to a requester (may be nil if this isn't a requester gadget) |
flags |
|
Value to be stored in the Flags field of the TPropInfo |
horizPot |
|
Value to be stored in the HorizPot field of the |
vertPot |
|
Value to be stored in the VertPot field of the |
horizBody |
|
Value to be stored in the HorizBody field of the |
vertBody |
|
Value to be stored in the VertBody field of the |
numGad |
|
Number of gadgets to be refreshed after propgadget internals have been adjusted. -1 means "to end of list." |
Performs the function of ModifyProp(), but refreshes gadgets in the list as specified by the NumGad parameter. With NumGad = -1, this function is identical to ModifyProp().
When NumGad = 1, this function will now perform an incremental update of the proportional gadget knob image, rather than refreshing the entire gadget. This means much less flashing when programmatically scrolling a proportional gadget.
|
Modify the current parameters of a proportional gadget. |