/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/utils/svgshow/src/ |
H A D | main.cpp | 25 …SurgeSVGRenderComponent(const VSTGUI::CRect &size, VSTGUI::CFrame *f, VSTGUI::CTextLabel *ll ) : V… in SurgeSVGRenderComponent() 120 explicit ARedBox(const VSTGUI::CRect &r ) : VSTGUI::CView(r) {} in ARedBox() 122 VSTGUI::CColor bg = VSTGUI::CColor(0,0,0); 132 auto r = VSTGUI::CRect(VSTGUI::CPoint(20,20), VSTGUI::CPoint(10,15)); in draw() 139 dc->drawLine(VSTGUI::CPoint(0,0),VSTGUI::CPoint(40,40)); in draw() 141 auto mr = VSTGUI::CRect(mouseLoc, VSTGUI::CPoint(10,10)); in draw() 153 VSTGUI::CMouseEventResult onMouseExited(VSTGUI::CPoint& where, in onMouseExited() 160 VSTGUI::CMouseEventResult onMouseDown(VSTGUI::CPoint& where, in onMouseDown() 167 VSTGUI::CMouseEventResult onMouseUp(VSTGUI::CPoint& where, in onMouseUp() 175 VSTGUI::CMouseEventResult onMouseMoved(VSTGUI::CPoint& where, in onMouseMoved() [all …]
|
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/src/common/gui/ |
H A D | COscillatorDisplay.h | 31 COscillatorDisplay(const VSTGUI::CRect &size, VSTGUI::IControlListener *l, in COscillatorDisplay() 62 virtual VSTGUI::CMouseEventResult onMouseDown(VSTGUI::CPoint &where, in onMouseDown() 67 virtual VSTGUI::CMouseEventResult onMouseUp(VSTGUI::CPoint &where, in onMouseUp() 72 virtual VSTGUI::CMouseEventResult onMouseMoved(VSTGUI::CPoint &where, in onMouseMoved() 77 virtual VSTGUI::CMouseEventResult onMouseExited(VSTGUI::CPoint &where, in onMouseExited() 82 virtual VSTGUI::CMouseEventResult onMouseEntered(VSTGUI::CPoint &where, in onMouseEntered() 113 virtual VSTGUI::CMouseEventResult onMouseDown(VSTGUI::CPoint &where, 115 virtual VSTGUI::CMouseEventResult onMouseUp(VSTGUI::CPoint &where, 117 virtual VSTGUI::CMouseEventResult onMouseMoved(VSTGUI::CPoint &where, 119 VSTGUI::CMouseEventResult onMouseExited(VSTGUI::CPoint &where, [all …]
|
H A D | CSurgeHyperlink.h | 29 CSurgeHyperlink(const VSTGUI::CRect &r) : VSTGUI::CControl(r, nullptr) {} in CSurgeHyperlink() 39 void setFont(VSTGUI::CFontRef f) in setFont() 49 VSTGUI::CMouseEventResult onMouseDown(VSTGUI::CPoint &where, in onMouseDown() 52 return VSTGUI::kMouseEventHandled; in onMouseDown() 55 VSTGUI::CMouseEventResult onMouseUp(VSTGUI::CPoint &where, in onMouseUp() 62 VSTGUI::CMouseEventResult onMouseEntered(VSTGUI::CPoint &where, in onMouseEntered() 70 VSTGUI::CMouseEventResult onMouseExited(VSTGUI::CPoint &where, in onMouseExited() 83 VSTGUI::CBitmap *bmp = nullptr; 85 VSTGUI::CCoord xoffset = 0; 86 VSTGUI::CHoriTxtAlign textalign = VSTGUI::kLeftText; [all …]
|
H A D | CModulationSourceButton.h | 25 : public VSTGUI::CControl, 30 CModulationSourceButton(const VSTGUI::CRect &size, VSTGUI::IControlListener *listener, long tag, 42 virtual void onMouseMoveDelta(const VSTGUI::CPoint &where, const VSTGUI::CButtonState &buttons, 55 VSTGUI::CRect MCRect; 56 VSTGUI::CPoint LastPoint; 57 VSTGUI::CPoint SourcePoint; 92 virtual VSTGUI::CMouseEventResult onMouseDown(VSTGUI::CPoint &where, 94 virtual VSTGUI::CMouseEventResult onMouseMoved(VSTGUI::CPoint &where, 96 virtual VSTGUI::CMouseEventResult onMouseUp(VSTGUI::CPoint &where, 98 virtual VSTGUI::CMouseEventResult onMouseEntered(VSTGUI::CPoint &where, in onMouseEntered() [all …]
|
H A D | SurgeGUIEditor.h | 426 VSTGUI::CPoint resizeToOnIdle = VSTGUI::CPoint(-1, -1); 531 std::unordered_map<VSTGUI::CViewContainer *, VSTGUI::CView *> 580 VSTGUI::SharedPointer<VSTGUI::CVSTGUITimer> _idleTimer; 594 VSTGUI::COptionMenu *makeMpeMenu(VSTGUI::CRect &rect, bool showhelp); 596 VSTGUI::COptionMenu *makeZoomMenu(VSTGUI::CRect &rect, bool showhelp); 597 VSTGUI::COptionMenu *makeSkinMenu(VSTGUI::CRect &rect); 598 VSTGUI::COptionMenu *makeUserSettingsMenu(VSTGUI::CRect &rect); 599 VSTGUI::COptionMenu *makeDataMenu(VSTGUI::CRect &rect); 600 VSTGUI::COptionMenu *makeMidiMenu(VSTGUI::CRect &rect); 601 VSTGUI::COptionMenu *makeDevMenu(VSTGUI::CRect &rect); [all …]
|
H A D | CEffectSettings.h | 34 VSTGUI::CBitmap *bg, *labels; 49 CEffectSettings(const VSTGUI::CRect &size, VSTGUI::IControlListener *listener, long tag, 55 VSTGUI::CPoint &where, 58 virtual VSTGUI::CMouseEventResult onMouseUp( 59 VSTGUI::CPoint &where, 62 virtual VSTGUI::CMouseEventResult onMouseEntered(VSTGUI::CPoint &where, in mrb_grn_array_initialize() 67 return VSTGUI::kMouseEventHandled; in mrb_grn_array_initialize() 70 virtual VSTGUI::CMouseEventResult onMouseExited(VSTGUI::CPoint &where, 75 return VSTGUI::kMouseEventHandled; 78 virtual VSTGUI::CMouseEventResult onMouseMoved(VSTGUI::CPoint &where, [all …]
|
H A D | CLFOGui.h | 29 class CLFOGui : public VSTGUI::CControl, 51 void drawtri(VSTGUI::CRect r, VSTGUI::CDrawContext *context, int orientation); 53 CLFOGui(const VSTGUI::CRect &size, bool trigmaskedit, VSTGUI::IControlListener *listener = 0, 76 virtual VSTGUI::CMouseEventResult onMouseDown(VSTGUI::CPoint &where, 78 virtual VSTGUI::CMouseEventResult onMouseUp(VSTGUI::CPoint &where, 80 virtual VSTGUI::CMouseEventResult onMouseMoved(VSTGUI::CPoint &where, 89 void drawStepSeq(VSTGUI::CDrawContext *dc, VSTGUI::CRect &maindisp, VSTGUI::CRect &leftpanel); 100 void openPopup(VSTGUI::CPoint &where); 104 virtual VSTGUI::CMouseEventResult onMouseExited(VSTGUI::CPoint &where, 116 VSTGUI::CRect shaperect[n_lfo_types]; [all …]
|
H A D | CSwitchControl.h | 24 CSwitchControl(const VSTGUI::CRect &size, VSTGUI::IControlListener *listener, long tag, 25 VSTGUI::CBitmap *background); 28 virtual VSTGUI::CMouseEventResult onMouseDown( 29 VSTGUI::CPoint &where, 31 virtual VSTGUI::CMouseEventResult onMouseUp( 32 VSTGUI::CPoint &where, 35 VSTGUI::CPoint &where, 38 virtual VSTGUI::CMouseEventResult onMouseEntered(VSTGUI::CPoint &where, in onMouseEntered() 45 return VSTGUI::kMouseEventHandled; in onMouseEntered() 47 virtual VSTGUI::CMouseEventResult onMouseExited(VSTGUI::CPoint &where, in onMouseExited() [all …]
|
H A D | CHSwitch2.h | 24 CHSwitch2(const VSTGUI::CRect &size, VSTGUI::IControlListener *listener, long tag, long frames, 26 long rows, long columns, VSTGUI::CBitmap *background, const VSTGUI::CPoint &offset, 56 VSTGUI::CPoint &where, 58 virtual VSTGUI::CMouseEventResult onMouseUp( 59 VSTGUI::CPoint &where, 62 VSTGUI::CPoint &where, in onMouseEntered() 68 virtual VSTGUI::CMouseEventResult onMouseEntered(VSTGUI::CPoint &where, 77 return VSTGUI::kMouseEventHandled; in onMouseExited() 80 virtual VSTGUI::CMouseEventResult onMouseExited(VSTGUI::CPoint &where, 86 return VSTGUI::kMouseEventHandled; [all …]
|
H A D | CSurgeSlider.h | 28 CSurgeSlider(const VSTGUI::CPoint &loc, long style, VSTGUI::IControlListener *listener, 40 VSTGUI::CPoint &where, 43 VSTGUI::CPoint &where, 46 virtual VSTGUI::CMouseEventResult onMouseEntered(VSTGUI::CPoint &where, 49 virtual VSTGUI::CMouseEventResult onMouseExited(VSTGUI::CPoint &where, 54 virtual VSTGUI::CMouseEventResult onMouseMoved(VSTGUI::CPoint &where, in onMouseMoved() 60 virtual void onMouseMoveDelta(const VSTGUI::CPoint &where, const VSTGUI::CButtonState &buttons, 136 VSTGUI::CTxtFace font_style; 158 VSTGUI::CPoint offsetHandle; 171 VSTGUI::CPoint startPosition; [all …]
|
H A D | CSnapshotMenu.h | 28 CSnapshotMenu(const VSTGUI::CRect &size, VSTGUI::IControlListener *listener, long tag, 39 virtual VSTGUI::CMouseEventResult onMouseDown(VSTGUI::CPoint &where, 42 virtual VSTGUI::CMouseEventResult onMouseEntered(VSTGUI::CPoint &where, 48 return VSTGUI::kMouseEventHandled; 50 virtual VSTGUI::CMouseEventResult onMouseExited(VSTGUI::CPoint &where, 56 return VSTGUI::kMouseEventHandled; 92 COscMenu(const VSTGUI::CRect &size, VSTGUI::IControlListener *listener, long tag, 104 VSTGUI::CTxtFace font_style; 105 VSTGUI::CHoriTxtAlign text_align; 120 CFxMenu(const VSTGUI::CRect &size, VSTGUI::IControlListener *listener, long tag, [all …]
|
H A D | CMenuAsSlider.h | 29 CMenuAsSlider(const VSTGUI::CPoint &loc, VSTGUI::IControlListener *listener, long tag, 34 CMenuAsSlider(const VSTGUI::CPoint &loc, const VSTGUI::CPoint &size, 45 VSTGUI::CPoint &where, 47 virtual VSTGUI::CMouseEventResult onMouseUp(VSTGUI::CPoint &where, 49 virtual VSTGUI::CMouseEventResult onMouseMoved(VSTGUI::CPoint &where, 52 virtual VSTGUI::CMouseEventResult onMouseEntered(VSTGUI::CPoint &where, in onMouseEntered() 58 return VSTGUI::kMouseEventHandled; in onMouseEntered() 61 virtual VSTGUI::CMouseEventResult onMouseExited(VSTGUI::CPoint &where, in onMouseExited() 67 return VSTGUI::kMouseEventHandled; in onMouseExited() 117 VSTGUI::CRect dragRegion; [all …]
|
H A D | CNumberField.h | 72 class CNumberField : public VSTGUI::CControl, 77 CNumberField(const VSTGUI::CRect &size, VSTGUI::IControlListener *listener = 0, long tag = 0, 125 virtual VSTGUI::CMouseEventResult onMouseDown(VSTGUI::CPoint &where, 127 virtual VSTGUI::CMouseEventResult onMouseUp(VSTGUI::CPoint &where, 129 virtual VSTGUI::CMouseEventResult onMouseMoved(VSTGUI::CPoint &where, 133 virtual VSTGUI::CMouseEventResult onMouseEntered(VSTGUI::CPoint &where, in onMouseEntered() 139 return VSTGUI::kMouseEventHandled; in onMouseEntered() 141 virtual VSTGUI::CMouseEventResult onMouseExited(VSTGUI::CPoint &where, in onMouseExited() 147 return VSTGUI::kMouseEventHandled; in onMouseExited() 164 VSTGUI::CRect drawsize; [all …]
|
H A D | CParameterTooltip.h | 27 CParameterTooltip(const VSTGUI::CRect &size) : VSTGUI::CControl(size, 0, 0, 0) in CParameterTooltip() 70 this->setViewSize(VSTGUI::CRect(VSTGUI::CPoint(0, 0), VSTGUI::CPoint(1, 1))); in Hide() 83 virtual void draw(VSTGUI::CDrawContext *dc) override in draw() 102 VSTGUI::CRect sizem1(size); in draw() 105 dc->drawRect(sizem1, VSTGUI::kDrawFilled); in draw() 107 VSTGUI::CRect trect(size); in draw() 109 VSTGUI::CRect tupper(trect), tlower(trect); in draw() 115 VSTGUI::CRect tmid(trect); in draw() 138 valalign = VSTGUI::kLeftText; in draw() 173 dc->setFrameColor(VSTGUI::kRedCColor); in draw() [all …]
|
H A D | CTextButtonWithHover.h | 23 class CTextButtonWithHover : public VSTGUI::CTextButton 48 CTextButtonWithHover(const VSTGUI::CRect &r, VSTGUI::IControlListener *l, int32_t tag, in CTextButtonWithHover() 49 VSTGUI::UTF8String lab) in CTextButtonWithHover() 68 VSTGUI::CMouseEventResult onMouseEntered(VSTGUI::CPoint &where, 70 void draw(VSTGUI::CDrawContext *context) override; 71 VSTGUI::CMouseEventResult onMouseExited(VSTGUI::CPoint &where, 93 ADD_HOVER(Gradient, VSTGUI::CGradient *); 94 ADD_HOVER_CR(FrameColor, VSTGUI::CColor); 95 ADD_HOVER_CR(TextColor, VSTGUI::CColor); 96 ADD_HOVER(GradientHighlighted, VSTGUI::CGradient *); [all …]
|
H A D | CScalableBitmap.cpp | 6 CScalableBitmap::CScalableBitmap(VSTGUI::CResourceDescription d, VSTGUI::CFrame *f) in CScalableBitmap() 7 : VSTGUI::CBitmap(d) in CScalableBitmap() 23 : VSTGUI::CBitmap(VSTGUI::CResourceDescription(0)) in CScalableBitmap() 36 void CScalableBitmap::draw(VSTGUI::CDrawContext *context, const VSTGUI::CRect &rect, in draw() 138 using namespace VSTGUI; 558 VSTGUI::CDrawMode newMode(VSTGUI::kAntiAliasing); in drawSVG() 561 VSTGUI::CRect origClip; in drawSVG() 630 VSTGUI::CDrawContext::PathDrawMode pdm = VSTGUI::CDrawContext::kPathFilled; in drawSVG() 646 VSTGUI::CGradient *cg = VSTGUI::CGradient::create(csm); in drawSVG() 669 VSTGUI::CGradient *cg = VSTGUI::CGradient::create(csm); in drawSVG() [all …]
|
H A D | CScalableBitmap.h | 18 class CScalableBitmap : public VSTGUI::CBitmap 21 CScalableBitmap(VSTGUI::CResourceDescription d, VSTGUI::CFrame *f); 22 CScalableBitmap(std::string fname, VSTGUI::CFrame *f); 25 virtual void draw(VSTGUI::CDrawContext *context, const VSTGUI::CRect &rect, 26 const VSTGUI::CPoint &offset, float alpha); 74 bool operator()(const VSTGUI::CPoint &k1, const VSTGUI::CPoint &k2) const in operator() 82 std::map<VSTGUI::CPoint, VSTGUI::CBitmap *, CPointCompare> offscreenCache; 88 VSTGUI::CFrame *frame; 91 void drawSVG(VSTGUI::CDrawContext *context, const VSTGUI::CRect &rect, 92 const VSTGUI::CPoint &offset, float alpha); [all …]
|
H A D | CursorControlGuard.h | 53 CursorControlGuard(VSTGUI::CFrame *, const VSTGUI::CPoint &where); 56 void setShowLocationFromFrameLocation(VSTGUI::CFrame *, const VSTGUI::CPoint &where); 57 void setShowLocationFromViewLocation(VSTGUI::CView *, const VSTGUI::CPoint &where); 99 void startCursorHide(const VSTGUI::CPoint &where) in startCursorHide() 108 void setCursorLocation(const VSTGUI::CPoint &where) in setCursorLocation() 123 void endCursorHide(const VSTGUI::CPoint &where) in endCursorHide() 141 VSTGUI::CPoint enqueuedLocation; 142 void onMouseDownCursorHelper(const VSTGUI::CPoint &where) in onMouseDownCursorHelper() 155 VSTGUI::CMouseEventResult onMouseMovedCursorHelper(const VSTGUI::CPoint &where, in onMouseMovedCursorHelper() 188 return VSTGUI::kMouseEventHandled; in onMouseMovedCursorHelper() [all …]
|
H A D | CDIBitmap.h | 38 void draw(VSTGUI::CDrawContext *pContext, VSTGUI::CRect &rect, 39 const VSTGUI::CPoint &offset = VSTGUI::CPoint(0, 0)); 41 void clear(VSTGUI::CColor color); 42 unsigned int ccol_to_int(VSTGUI::CColor col); 43 VSTGUI::CColor int_to_ccol(unsigned int col); 47 void fillRect(VSTGUI::CRect r, unsigned int color); 60 VSTGUI::SharedPointer<VSTGUI::CBitmap> _bitmap; 61 VSTGUI::SharedPointer<VSTGUI::CBitmapPixelAccess> _bitmapAccess;
|
H A D | CTextButtonWithHover.cpp | 31 void CTextButtonWithHover::draw(VSTGUI::CDrawContext *context) in draw() 43 DO_HOVER(Gradient, VSTGUI::CGradient *); in draw() 44 DO_HOVER(FrameColor, VSTGUI::CColor); in draw() 45 DO_HOVER(TextColor, VSTGUI::CColor); in draw() 46 DO_HOVER(GradientHighlighted, VSTGUI::CGradient *); in draw() 47 DO_HOVER(FrameColorHighlighted, VSTGUI::CColor); in draw() 48 DO_HOVER(TextColorHighlighted, VSTGUI::CColor); in draw() 56 VSTGUI::CMouseEventResult CTextButtonWithHover::onMouseEntered(VSTGUI::CPoint &where, in onMouseEntered() 57 const VSTGUI::CButtonState &buttons) in onMouseEntered() 64 VSTGUI::CMouseEventResult CTextButtonWithHover::onMouseExited(VSTGUI::CPoint &where, in onMouseExited() [all …]
|
H A D | CAboutBox.h | 23 class CAboutBox : public VSTGUI::CViewContainer, public VSTGUI::IControlListener 26 CAboutBox(const VSTGUI::CRect &size, SurgeGUIEditor *editor, SurgeStorage *storage, 29 VSTGUI::CMouseEventResult onMouseUp(VSTGUI::CPoint &where, 30 const VSTGUI::CButtonState &buttons) override; 31 VSTGUI::CMouseEventResult onMouseDown(VSTGUI::CPoint &where, 32 const VSTGUI::CButtonState &buttons) override; 33 void valueChanged(VSTGUI::CControl *pControl) override;
|
H A D | CEffectLabel.h | 21 extern VSTGUI::CFontRef displayFont; 23 class CEffectLabel : public VSTGUI::CControl, public Surge::UI::SkinConsumingComponent 26 CEffectLabel(const VSTGUI::CRect &size) : VSTGUI::CControl(size, 0, 0, 0) {} in CEffectLabel() 28 virtual void draw(VSTGUI::CDrawContext *dc) override in draw() 30 VSTGUI::CRect size = getViewSize(); in draw() 31 VSTGUI::CRect bl(size); in draw() 35 dc->drawRect(bl, VSTGUI::kDrawFilled); in draw() 39 dc->drawString(label.c_str(), size, VSTGUI::kLeftText, true); in draw() 48 CLASS_METHODS(CEffectLabel, VSTGUI::CControl)
|
H A D | CPatchBrowser.h | 21 class CPatchBrowser : public VSTGUI::CControl, public Surge::UI::SkinConsumingComponent 24 CPatchBrowser(const VSTGUI::CRect &size, VSTGUI::IControlListener *listener, long tag, in CPatchBrowser() 26 : VSTGUI::CControl(size, listener, tag, 0) in CPatchBrowser() 77 virtual void draw(VSTGUI::CDrawContext *dc) override; 78 VSTGUI::CMouseEventResult onMouseDown(VSTGUI::CPoint &where, 79 const VSTGUI::CButtonState &button) override; 96 bool populatePatchMenuForCategory(int index, VSTGUI::COptionMenu *contextMenu, 99 CLASS_METHODS(CPatchBrowser, VSTGUI::CControl)
|
/dports/audio/vst3sdk/vst3sdk-3.7.1_build_50-1-g8199057/vstgui4/vstgui/standalone/examples/mandelbrot/source/ |
H A D | modelbinding.h | 14 struct ModelBinding : VSTGUI::Standalone::UIDesc::IModelBinding, 15 VSTGUI::Standalone::ValueListenerAdapter, 19 using IValue = VSTGUI::Standalone::IValue; 20 using ValuePtr = VSTGUI::Standalone::ValuePtr; 21 using ValueConverterPtr = VSTGUI::Standalone::ValueConverterPtr; 27 using namespace VSTGUI::Standalone; in ModelBinding() 51 using namespace VSTGUI::Standalone; in modelChanged() 61 using namespace VSTGUI::Standalone; in onPerformEdit() 90 ValuePtr minX {VSTGUI::Standalone::Value::make ("minX", 0., xConverter)}; 94 ValuePtr progressValue {VSTGUI::Standalone::Value::make ("progress")}; [all …]
|
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/vstgui.surge/vstgui/standalone/examples/mandelbrot/source/ |
H A D | modelbinding.h | 14 struct ModelBinding : VSTGUI::Standalone::UIDesc::IModelBinding, 15 VSTGUI::Standalone::ValueListenerAdapter, 19 using IValue = VSTGUI::Standalone::IValue; 20 using ValuePtr = VSTGUI::Standalone::ValuePtr; 21 using ValueConverterPtr = VSTGUI::Standalone::ValueConverterPtr; 27 using namespace VSTGUI::Standalone; in ModelBinding() 51 using namespace VSTGUI::Standalone; in modelChanged() 61 using namespace VSTGUI::Standalone; in onPerformEdit() 90 ValuePtr minX {VSTGUI::Standalone::Value::make ("minX", 0., xConverter)}; 94 ValuePtr progressValue {VSTGUI::Standalone::Value::make ("progress")}; [all …]
|