* GUI: Icons and IconsAnimation refactoring. Switch assets to new Icon API. * Gui: icon and animation draw now do not accept null pointer * Format Sources * Fix no debug build * Furi: stricter checks in memmgr
		
			
				
	
	
		
			13 lines
		
	
	
		
			265 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			265 B
		
	
	
	
		
			C
		
	
	
	
	
	
#include "icon_i.h"
 | 
						|
 | 
						|
uint8_t icon_get_width(const Icon* instance) {
 | 
						|
    return instance->width;
 | 
						|
}
 | 
						|
 | 
						|
uint8_t icon_get_height(const Icon* instance) {
 | 
						|
    return instance->height;
 | 
						|
}
 | 
						|
 | 
						|
const uint8_t* icon_get_data(const Icon* instance) {
 | 
						|
    return instance->frames[0];
 | 
						|
} |