KiCad PCB EDA Suite
Loading...
Searching...
No Matches
bitmap_store.cpp File Reference
#include <wx/bitmap.h>
#include <wx/filename.h>
#include <wx/log.h>
#include <wx/mstream.h>
#include <wx/stdpaths.h>
#include <advanced_config.h>
#include <asset_archive.h>
#include <bitmaps.h>
#include <bitmap_store.h>
#include <bitmaps/bitmap_info.h>
#include <hash.h>
#include <kiplatform/ui.h>
#include <paths.h>
#include <pgm_base.h>
#include <settings/common_settings.h>

Go to the source code of this file.

Variables

static const unsigned char s_imageNotFound []
 A question-mark icon shown when we can't find a given bitmap in the archive.
 
static const unsigned char s_dummyItem []
 Icon used for EDA_ITEMs that don't have a custom icon configured.
 
static const wxString traceBitmaps = wxT( "KICAD_BITMAPS" )
 
static const wxString IMAGE_ARCHIVE = wxT( "images.tar.gz" )
 

Variable Documentation

◆ IMAGE_ARCHIVE

const wxString IMAGE_ARCHIVE = wxT( "images.tar.gz" )
static

Definition at line 92 of file bitmap_store.cpp.

Referenced by BITMAP_STORE::BITMAP_STORE().

◆ s_dummyItem

const unsigned char s_dummyItem[]
static
Initial value:
= {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x08, 0x06, 0x00, 0x00, 0x00, 0x1f, 0xf3, 0xff,
0x61, 0x00, 0x00, 0x00, 0x5f, 0x49, 0x44, 0x41, 0x54, 0x38, 0xcb, 0x63, 0xf8, 0xff, 0xff, 0x3f,
0x03, 0x25, 0x98, 0x61, 0x68, 0x1a, 0x00, 0x04, 0x46, 0x40, 0xfc, 0x02, 0x88, 0x45, 0x41, 0x1c,
0x76, 0x20, 0xfe, 0x01, 0xc4, 0xbe, 0x24, 0x18, 0x60, 0x01, 0xc4, 0x20, 0x86, 0x04, 0x88, 0xc3,
0x01, 0xe5, 0x04, 0x0c, 0xb8, 0x01, 0x37, 0x81, 0xf8, 0x04, 0x91, 0xf8, 0x0a, 0x54, 0x8f, 0x06,
0xb2, 0x01, 0x9b, 0x81, 0x78, 0x02, 0x91, 0x78, 0x05, 0x54, 0x8f, 0xca, 0xe0, 0x08, 0x03, 0x36,
0xa8, 0xbf, 0xec, 0xc8, 0x32, 0x80, 0xcc, 0x84, 0x04, 0x0a, 0xbc, 0x1d, 0x40, 0x2c, 0xc8, 0x30,
0xf4, 0x33, 0x13, 0x00, 0x6b, 0x1a, 0x46, 0x7b, 0x68, 0xe7, 0x0f, 0x0b, 0x00, 0x00, 0x00, 0x00,
0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
}

Icon used for EDA_ITEMs that don't have a custom icon configured.

Todo:
Replace this with an external file?

Definition at line 76 of file bitmap_store.cpp.

Referenced by BITMAP_STORE::getImage().

◆ s_imageNotFound

const unsigned char s_imageNotFound[]
static

A question-mark icon shown when we can't find a given bitmap in the archive.

Definition at line 39 of file bitmap_store.cpp.

Referenced by BITMAP_STORE::getImage().

◆ traceBitmaps

const wxString traceBitmaps = wxT( "KICAD_BITMAPS" )
static