Home
last modified time | relevance | path

Searched refs:getLocalBounds (Results 1 – 25 of 384) sorted by relevance

12345678910>>...16

/dports/games/emptyepsilon/EmptyEpsilon-EE-2021.06.23/src/screenComponents/
H A DalertOverlay.cpp44 …n(sf::Vector2f(alert_text.getLocalBounds().width / 2.0f, alert_text.getLocalBounds().height / 2.0f… in onDraw()
H A DscrollingBanner.cpp43 if (draw_offset > text.getLocalBounds().width + black_area) in onDraw()
44 draw_offset -= text.getLocalBounds().width + black_area; in onDraw()
52 x += text.getLocalBounds().width; in onDraw()
/dports/devel/juce/JUCE-f37e9a1/extras/Projucer/Source/Project/UI/Sidebar/
H A Djucer_TabComponents.h49 auto b = getLocalBounds().toFloat(); in resized()
59 g.fillRoundedRectangle (getLocalBounds().reduced (2, 3).toFloat(), 2.0f); in paint()
126 p.addRoundedRectangle (getLocalBounds().reduced (2), 3.0f); in paintOverChildren()
133 editor.setBounds (getLocalBounds().reduced (2)); in resized()
198 auto bounds = getLocalBounds(); in resized()
/dports/devel/juce/JUCE-f37e9a1/modules/juce_audio_processors/processors/
H A Djuce_GenericAudioProcessorEditor.cpp120 auto area = getLocalBounds(); in resized()
182 auto area = getLocalBounds().reduced (0, 8); in resized()
273 auto area = getLocalBounds(); in resized()
347 auto area = getLocalBounds().reduced (0, 10); in resized()
429 auto area = getLocalBounds(); in resized()
502 auto area = getLocalBounds(); in resized()
570 pimpl->resize (getLocalBounds()); in resized()
/dports/audio/carla/Carla-2.4.1/source/modules/juce_audio_processors/processors/
H A Djuce_GenericAudioProcessorEditor.cpp120 auto area = getLocalBounds(); in resized()
182 auto area = getLocalBounds().reduced (0, 8); in resized()
273 auto area = getLocalBounds(); in resized()
347 auto area = getLocalBounds().reduced (0, 10); in resized()
429 auto area = getLocalBounds(); in resized()
502 auto area = getLocalBounds(); in resized()
570 pimpl->resize (getLocalBounds()); in resized()
/dports/devel/juce/JUCE-f37e9a1/modules/juce_product_unlocking/marketplace/
H A Djuce_OnlineUnlockForm.cpp77getLocalBounds().reduced (20, 0).removeFromTop (proportionOfHeight (0.6f)), in paint()
87 … cancelButton->setBounds (getLocalBounds().removeFromBottom (50).reduced (getWidth() / 4, 5)); in resized()
221 auto r = getLocalBounds().reduced (10, 20); in resized()
257 unlockingOverlay->setBounds (getLocalBounds()); in resized()
276 bubble->showAt (getLocalArea (&target, target.getLocalBounds()), in showBubbleMessage()
/dports/devel/juce/JUCE-f37e9a1/extras/NetworkGraphicsDemo/Source/
H A DSlaveComponent.h169 g.drawText ("Not Connected", getLocalBounds(), Justification::centred, false); in paint()
173 canvas.draw (g, getLocalBounds().toFloat(), clientArea); in paint()
179 getLocalBounds().reduced (10).removeFromBottom (20), in paint()
185 g.drawText (error, getLocalBounds().reduced (10).removeFromBottom (80), in paint()
/dports/devel/juce/JUCE-f37e9a1/extras/Projucer/Source/Project/UI/
H A Djucer_ContentViewComponents.h41 auto bounds = getLocalBounds().reduced (20, 0); in paint()
87 auto bounds = getLocalBounds(); in resized()
167 auto bounds = getLocalBounds().toFloat().reduced (2); in paintButton()
226 g.drawFittedText (stringToDisplay, getLocalBounds(), Justification::centred, 15, 0.75f); in paint()
323 g.fillRect (getLocalBounds()); in paint()
325 auto textArea = getLocalBounds().toFloat() in paint()
H A Djucer_FileGroupInformationComponent.h61 g.fillRect (getLocalBounds().reduced (12, 0)); in paint()
66 auto bounds = getLocalBounds().reduced (12, 0); in resized()
170 …auto textBounds = getLocalBounds().removeFromLeft (roundToInt (header->getProportionAtIndex (0) * … in paint()
189 auto bounds = getLocalBounds(); in resized()
247 auto b = getLocalBounds(); in resized()
H A Djucer_ProjectMessagesComponent.h60 viewport.setBounds (getLocalBounds()); in resized()
70 …o targetBounds = parentComponent.getLocalArea (&targetComponent, targetComponent.getLocalBounds()); in updateBounds()
117 auto bounds = getLocalBounds(); in resized()
196 auto bounds = getLocalBounds().reduced (5); in paint()
205 auto bounds = getLocalBounds().reduced (5); in resized()
407 auto b = getLocalBounds(); in resized()
492 auto b = getLocalBounds().toFloat(); in paint()
/dports/devel/juce/JUCE-f37e9a1/extras/Projucer/Source/BinaryData/Templates/
H A Djucer_NewComponentTemplate.cpp38 g.drawRect (getLocalBounds(), 1); // draw an outline around the component
42 g.drawText ("%%component_class%%", getLocalBounds(),
H A Djucer_InlineComponentTemplate.h23 g.drawRect (getLocalBounds(), 1); // draw an outline around the component in paint()
27 g.drawText ("%%component_class%%", getLocalBounds(), in paint()
H A Djucer_NewInlineComponentTemplate.h44 g.drawRect (getLocalBounds(), 1); // draw an outline around the component in paint()
48 g.drawText ("%%component_class%%", getLocalBounds(), in paint()
/dports/devel/sfml/SFML-2.5.1/src/SFML/Graphics/
H A DSprite.cpp120 FloatRect Sprite::getLocalBounds() const in getLocalBounds() function in sf::Sprite
132 return getTransform().transformRect(getLocalBounds()); in getGlobalBounds()
151 FloatRect bounds = getLocalBounds(); in updatePositions()
/dports/games/etracer/etr-0.8.1/src/
H A Dsplash_screen.cpp60 t1.setPosition((Winsys.resolution.width - t1.getLocalBounds().width) / 2, top); in Loop()
63 t2.setPosition((Winsys.resolution.width - t2.getLocalBounds().width) / 2, top + dist); in Loop()
105 Failure->setPosition((Winsys.resolution.width - Failure->getLocalBounds().width) / 2, top); in Loop()
/dports/devel/juce/JUCE-f37e9a1/examples/GUI/
H A DComponentTransformsDemo.h82getLocalBounds().removeFromBottom (40).reduced (10, 0), Justification::centred, 3); in paint()
112 g.fillEllipse (getLocalBounds().reduced (3).toFloat()); in paint()
115 g.drawEllipse (getLocalBounds().reduced (3).toFloat(), 2.0f); in paint()
H A DOpenGLDemo2D.h98 … g.fillCheckerBoard (getLocalBounds().toFloat(), 48.0f, 48.0f, Colours::lightgrey, Colours::white); in paint()
122 shader->fillRect (g.getInternalContext(), getLocalBounds()); in paint()
128 auto area = getLocalBounds().reduced (4); in resized()
H A DComponentDemo.h65 g.fillEllipse (getLocalBounds().toFloat()); in paint()
154 lightGrid.setBounds (getLocalBounds()); in resized()
/dports/audio/carla/Carla-2.4.1/source/modules/juce_gui_basics/layout/
H A Djuce_SidePanel.cpp114 auto bounds = getLocalBounds(); in resized()
201 if (! getLocalBounds().contains (relativeMouseDownPosition) in mouseDrag()
202 && getLocalBounds().contains (relativeMouseDragPosition)) in mouseDrag()
247 auto parentBounds = parentComp.getLocalBounds(); in calculateBoundsInParent()
/dports/devel/juce/JUCE-f37e9a1/modules/juce_gui_basics/layout/
H A Djuce_SidePanel.cpp125 auto bounds = getLocalBounds(); in resized()
212 if (! getLocalBounds().contains (relativeMouseDownPosition) in mouseDrag()
213 && getLocalBounds().contains (relativeMouseDragPosition)) in mouseDrag()
264 auto parentBounds = parentComp.getLocalBounds(); in calculateBoundsInParent()
/dports/games/marblemarcher/Marble-Marcher-Community-Edition-1.4.5/src/
H A DOverlays.cpp46 arrow_spr.setOrigin(arrow_spr.getLocalBounds().width / 2, arrow_spr.getLocalBounds().height / 2); in Overlays()
134 const sf::FloatRect text_bounds = text.getLocalBounds(); in DrawTimer()
145 const sf::FloatRect text_bounds = text.getLocalBounds(); in DrawLevelDesc()
155 const sf::FloatRect text_bounds = text.getLocalBounds(); in DrawFPS()
190 const sf::FloatRect text_bounds = time_txt.getLocalBounds(); in DrawCredits()
206 const sf::FloatRect text_bounds = time_txt.getLocalBounds(); in DrawMidPoint()
/dports/devel/juce/JUCE-f37e9a1/examples/Utilities/
H A DTimersAndEventsDemo.h109 g.fillEllipse (getLocalBounds().toFloat()); in paint()
213 auto explanationArea = getLocalBounds().removeFromTop (100); in paintOverChildren()
227 auto area = getLocalBounds().removeFromBottom (40); in resized()
/dports/devel/juce/JUCE-f37e9a1/extras/Projucer/Source/Utility/UI/PropertyComponents/
H A Djucer_ColourPropertyComponent.h68 g.fillCheckerBoard (getLocalBounds().reduced (2).toFloat(), in paint()
75 g.drawFittedText (colour.toDisplayString (true), getLocalBounds().reduced (2, 1), in paint()
182 selector.setBounds (getLocalBounds()); in resized()
/dports/devel/juce/JUCE-f37e9a1/examples/DemoRunner/Builds/Android/app/src/main/assets/
H A DDSPDemos_Common.h120 thumbnail.drawChannels (g, getLocalBounds().reduced (2), in paint()
129 …("No audio file loaded.\nDrop a file here or click the \"Load File...\" button.", getLocalBounds(), in paint()
256 auto bounds = getLocalBounds(); in resized()
381 g.fillRect (getLocalBounds()); in paint()
386 auto r = getLocalBounds(); in resized()
562 g.fillRect (getLocalBounds()); in paint()
567 auto bounds = getLocalBounds(); in resized()
/dports/devel/juce/JUCE-f37e9a1/examples/Assets/
H A DDSPDemos_Common.h120 thumbnail.drawChannels (g, getLocalBounds().reduced (2), in paint()
129 …("No audio file loaded.\nDrop a file here or click the \"Load File...\" button.", getLocalBounds(), in paint()
256 auto bounds = getLocalBounds(); in resized()
381 g.fillRect (getLocalBounds()); in paint()
386 auto r = getLocalBounds(); in resized()
562 g.fillRect (getLocalBounds()); in paint()
567 auto bounds = getLocalBounds(); in resized()

12345678910>>...16