TinyMaterialDesign
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Enumerations
IconButton.h File Reference
#include <algorithm>
#include <functional>
#include "TinyGPU/Color/RGB565.h"
#include "TinyGPU/Color/RGB666.h"
#include "TinyGPU/Color/RGB888.h"
#include "TinyMaterialDesign/Core/Widget.h"
#include "TinyMaterialDesign/Draw/Icons.h"
Include dependency graph for IconButton.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IconButton< RGB_T >
 Circular tap target hosting one vector glyph from Draw/Icons.h (or any function matching IconPainter). Tap feedback is a ripple, same rationale as Button (see Button.h's class comment). More...
 

Namespaces

namespace  tinymd
 

Typedefs

template<typename RGB_T >
using IconPainter = void(*)(tinygpu::ISurface< RGB_T > &, const Bounds &, RGB_T, uint8_t)
 
using IconButtonRGB565 = IconButton< tinygpu::RGB565 >
 
using IconButtonRGB666 = IconButton< tinygpu::RGB666 >
 
using IconButtonRGB888 = IconButton< tinygpu::RGB888 >
 

Enumerations

enum class  IconButtonVariant { kStandard , kFilled , kTonal }