ModifyProp(), but with selective refresh.
Source position: intuition.pas line 3880
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. |