Adjuster(3I)
β¨ Adjuster β it's giving button energy β¨
okay bestie, welcome to Adjuster(3I) from the InterViews Reference Manual π
this is the lil button-ish interactor that does incremental scrolling and zooming and it is honestly so iconic.
πΈ NAME πΈ
Adjuster β button-like interactors for incremental scrolling and zooming π¦
π SYNOPSIS π
#include <InterViews/adjuster.h>
π DESCRIPTION π
okay so Adjuster objects manipulate a perspective using a pushbutton-like interface. no cap. and they also come with an auto-repeat capability β depressing and holding down any mouse button on an adjuster for a specified time causes it to repeatedly perform its operation, like it just keeps going and going. the auto-repeat terminates when the button is released. periodt. β¨
predefined subclasses of Adjuster include Zoomer and Mover. here's the tea:
- Zoomers adjust the perspective's
curwidthandcurheightmembers to suggest magnification. the user clicks on a zoomer to magnify or reduce the contents of the interactor through its perspective. theEnlargerzoomer subclass halves the perspective values while theReducerclass doubles them. math girlies rise π§ - Movers provide an incremental movement of the perspective in one of four directions; left, right, down, or up. the user clicks on a mover to move the perspective. π
π PUBLIC OPERATIONS π
Adjuster(Interactor*, int = NO_AUTOREPEAT)β Adjuster constructors take a pointer to the interactor whose perspective will be adjusted, plus a delay (in tenths of a second) after which auto-repeat will begin once the adjuster is ``pressed''. yes bestie, tenths of a second, not seconds, don't get it twisted β±οΈvirtual void Highlight()virtual void UnHighlight()β these functions define how the adjuster draws itself when it is pressed. the adjuster is highlighted when it is pressed with any mouse button, and unhighlighted when the button is released. the default is to invert the adjuster when highlighted. slay π
π₯ PROTECTED OPERATIONS π₯
virtual void AdjustView(Event&)β this function defines how the adjuster adjusts the interactor's perspective. it is called after the adjuster is pressed and released, or repeatedly during auto-repeat. derived classes should redefine this function to implement the desired behavior. like, that's the whole assignment, bestie π
π DERIVED CLASSES π
Enlarger(Interactor*)Reducer(Interactor*)β Enlargers and reducers adjust an interactor's perspective to enlarge and reduce the visible area by factors of one half and two, respectively. this suggests to an interactor to enlarge or reduce its contents. auto-repeat is disabled on these adjusters. πLeftMover(Interactor*, int delay = NO_AUTOREPEAT)RightMover(Interactor*, int delay = NO_AUTOREPEAT)DownMover(Interactor*, int delay = NO_AUTOREPEAT)UpMover(Interactor*, int delay = NO_AUTOREPEAT)β these subclasses of Mover adjust the current origin of the interactor's perspective by an amount in the corresponding direction. and here's the cute detail: if the shift key is down while the mover is pressed, the amount corresponds to the perspective'slxorlymember variables; otherwise, thesxorsyvalues are used. shift key = main character energy β¨
π SEE ALSO π
Interactor(3I)Perspective(3I)
and that's the whole vibe bestie, go forth and adjust π
this lil icon of a manpage came to you courtesy of InterViews, dated 15 January 1988 π ty for reading, mwah π«Ά
π¦ where this page comes from
- debian bookworm: ivtools-dev 2.0.11d.a1-1+b4
- debian trixie: ivtools-dev 2.0.11d.a1-3+b4
- ubuntu jammy: ivtools-dev 2.0.11d.a1-1build1
- ubuntu noble: ivtools-dev 2.0.11d.a1-3build1
- ubuntu questing: ivtools-dev 2.0.11d.a1-3build7
- ubuntu resolute: ivtools-dev 2.0.11d.a1-3build9
- ubuntu stonking: ivtools-dev 2.1.1+git.2025.07.26.a1-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms