Install
editUse the Online Package Manager to get BGRABitmap and BGRAControls.
Notice that you must check only the packages "bgrabitmappack.lpk" and "bgracontrols.lpk" in the Online Package Manager. The other packages are optional and may need third party packages / libraries to work (OpenGL and PascalScript).
Optional Components
editSince v4.4 the components TBCDefaultThemeManager, TBCKeyboard and TBCNumericKeyboard are not installed by default to allow Linux users to get a seamless installation with the Online Package Manager not installing third party stuff. If you want these components turn on the "Register unit" in the package options for each file (bcdefaulthememanager.pas, bckeyboard.pas, bcnumerickeyboard.pas) then compile and rebuild Lazarus. On Linux you need to install libxtst-dev and libgl-dev first.
Website
editBGRABitmap Organization on GitHub: https://github.com/bgrabitmap/
BGRA Controls
editBGRA Controls is a set of graphical UI elements that you can use with Lazarus LCL applications. Under Linux you need to have installed libxtst-dev and libgl-dev.
TBCButton
edit
A button control that can be styled through properties for each state like StateClicked, StateHover, StateNormal with settings like gradients, border and text with shadows. You can assign an already made style through the property AssignStyle.
TBCButtonFocus
editLike TBCButton but it supports focus like normal TButton.
TBCGameGrid
edit
A grid with custom width and height of items and any number of horizontal and vertical cells that can be drawn with BGRABitmap directly with the OnRenderControl event.
TBCImageButton
edit
A button control that can be styled with one image file, containing the drawing for each state Normal, Hovered, Active and Disabled. It supports 9-slice scaling feature. It supports a nice fading animation that can be turned on.
TBCXButton
edit
A button control that can be styled by code with the OnRenderControl event. Or even better create your own child control inheriting from this class.
TBCLabel
edit
A label control that can be styled through properties, it supports shadow, custom borders and background.
TBCMaterialDesignButton
editA button control that has an animation effect according to Google Material Design guidelines. It supports custom color for background and for the circle animation, also you can customize the shadow.
TBCPanel
edit
A panel control that can be styled through properties. You can assign an already made style through the property AssignStyle.
TBCRadialProgressBar
editA progress bar with radial style. You can set the color and text properties as you like.
TBCToolBar
editA TToolBar with an event OnRedraw to paint it using BGRABitmap. It supports also the default OnPaintButton to customize the buttons drawing. By default it comes with a Windows 7 like explorer toolbar style.
TBCTrackBarUpdown
editA control to input numeric values with works like a trackbar and a spinedit both in one control.
TBGRAFlashProgressBar
edit
A progress bar with a default style inspired in the old Flash Player Setup for Windows progress dialog. You can change the color property to have different styles and also you can use the event OnRedraw to paint custom styles on it like text or override the entire default drawing.
TBGRAGraphicControl
editIs like a paintbox. You can draw with transparency with this control using the OnRedraw event.
TBGRAImageList
editAn image list that supports alpha in all supported platforms.
How app looks with TImageList (with transparent icons):
How app looks with BGRAImageList:
TBGRASVGImageList
editIt is located in the BGRA Themes tab.

In its properties, one can define the size and a target raster image list (TImageList or TBGRAImageList):

This will automatically populate the target image list (here on MacOS, it provides the double sized icons for Retina):

TBGRAImageManipulation
edit
A tool to manipulate pictures, see the demo that shows all the capability that comes with it.
TBGRAKnob
edit
A knob that can be styled through properties.
TBGRAResizeSpeedButton
editA speed button that can resize the glyph to fit in the entire control.
TBGRAShape
edit
A control with configurable shapes like polygon and ellipse that can be filled with gradients and can have custom borders and many other visual settings.
TBGRASpeedButton
edit
A speed button that in GTK and GTK2 provides BGRABitmap powered transparency to the glyph.
TBGRASpriteAnimation
edit
A component that can be used as image viewer or animation viewer, supports the loading of gif files.
TBGRAVirtualScreen
editIs like a panel. You can draw this control using the OnRedraw event.
TDTAnalogClock
editA clock.
TDTAnalogGauge
editA gauge.
TDTThemedClock
editAnother clock.
TDTThemedGauge
editAnother gauge.
TPSImport_BGRAPascalScript
editA component to load BGRABitmap pascal script utilities.
BGRA Custom Drawn
editBGRA Custom Drawn is a set of controls inherited from Custom Drawn. These come with a default dark style that is like Photoshop.
TBCDButton
editA button control that is styled with TBGRADrawer.
TBCDEdit
editAn edit control that is styled with TBGRADrawer.
TBCDStaticText
editA label control that is styled with TBGRADrawer.
TBCDProgressBar
editA progress bar control that is styled with TBGRADrawer.
TBCDSpinEdit
editA spin edit control that is styled with TBGRADrawer.
TBCDCheckBox
editA check box control that is styled with TBGRADrawer.
TBCRadioButton
editA radio button that is styled with TBGRADrawer.
Sample code
editBGRA Controls comes with nice demos to show how to use the stuff and extra things you can use in your own projects.
Pascal Script Library
editPutting BGRABitmap methods into a .dll with c#, java and pascal headers.
BGRA Ribbon Custom
editHow to create a fully themed window using the controls to achieve a Ribbon like application.
Tests
editThere are test for analog controls (clock and gauge), BC prefixed controls, BGRA prefixed controls, BGRA Custom Drawn controls, how to use Pascal Script and BGRABitmap, bgrascript or how to create your own scripting solution with BGRABitmap.
Tests Extra
edit
These are extra tests like how to use fading effect, an fpGUI theme, games like maze and puzzle, how we created the material design animation, pix2svg or how to convert a small picture to svg using hexagons, rectangles and ellipses, plugins or how to load .dlls and use into a TBGRAVirtualScreen, rain effect, shadow effect, 9-slice-scaling with Custom Drawn or how to theme with bitmaps an application to look like Windows themes and 9-slice-scaling with charts.
Other units
editThese units come with BGRA Controls and contains more functionality that is sometimes used with the controls, sometimes not but are usefull in some way. Some are listed here, others you can see linked directly with any control like bcrtti, bcstylesform, bctools and bctypes.
BCEffect
editFading effect with BGRABitmap.
BCFilters
editA set of pixel filters to use with BGRABitmap.
BGRAScript
editScripting with BGRABitmap, see test project.
Related Articles
editBGRASpriteAnimation - Usage of the sprite animation component.
uE_Controls - Other controls developed with BGRABitmap.
BGRABitmap - The library used to create this controls.
LazPaint - A paint program developed with Lazarus and BGRABitmap.