Commit 1fde4ca8 authored by jean-pierre charras's avatar jean-pierre charras
Browse files

Eeschema, Libedit: Use 16x16 icons in comboboxes inside the pin editor dialog....

Eeschema, Libedit: Use 16x16 icons in comboboxes inside the pin editor dialog. This gives a better look to this dialog.
parent 0409bc8d
Loading
Loading
Loading
Loading
+34 −28
Original line number Original line Diff line number Diff line
@@ -72,18 +72,41 @@ option( MAINTAIN_PNGS




# Plan for three sizes of bitmaps:
# Plan for three sizes of bitmaps:
# SMALL - for menus
# SMALL - for listboxes or comboboxes and perhaps menus
# MID   - for toolbars  26 x 26
# MID   - for toolbars  26 x 26
# BIG   - for program icons  48 x 48
# BIG   - for program icons  48 x 48
# which are given on three basename lists: BMAPS_SMALL, BMAPS_MID,a nd BMAPS_BIG
# which are given on three basename lists: BMAPS_SMALL, BMAPS_MID,a nd BMAPS_BIG
# respectively.  The basename is without file extension and without path.
# respectively.  The basename is without file extension and without path.
# A corresponding ${basename}.svg file must exist in 'sources' dir below here.
# A corresponding ${basename}.svg file must exist in 'sources' dir below here.



# small icons (16x16) needed in listboxes
set( BMAPS_SMALL
set( BMAPS_SMALL
    pinorient_right
    pinorient_left
    pinorient_up
    pinorient_down
    pinshape_normal
    pinshape_invert
    pinshape_clock_normal
    pinshape_clock_invert
    pinshape_active_low_input
    pinshape_clock_active_low
    pinshape_active_low_output
    pinshape_clock_fall
    pinshape_nonlogic
    pintype_input
    pintype_output
    pintype_bidi
    pintype_3states
    pintype_passive
    pintype_notspecif
    pintype_powerinput
    pintype_poweroutput
    pintype_opencoll
    pintype_openemit
    pintype_noconnect
    )
    )



# image basenames that go into the toolbar sized destinations, i.e. 26x26
# image basenames that go into the toolbar sized destinations, i.e. 26x26
set( BMAPS_MID
set( BMAPS_MID
    add_arc
    add_arc
@@ -379,30 +402,6 @@ set( BMAPS_MID
    pin_name_to
    pin_name_to
    pin_number_to
    pin_number_to
    pin_size_to
    pin_size_to
    pinorient_right
    pinorient_left
    pinorient_up
    pinorient_down
    pinshape_normal
    pinshape_invert
    pinshape_clock_normal
    pinshape_clock_invert
    pinshape_active_low_input
    pinshape_clock_active_low
    pinshape_active_low_output
    pinshape_clock_fall
    pinshape_nonlogic
    pintype_input
    pintype_output
    pintype_bidi
    pintype_3states
    pintype_passive
    pintype_notspecif
    pintype_powerinput
    pintype_poweroutput
    pintype_opencoll
    pintype_openemit
    pintype_noconnect
    pin_to
    pin_to
    pin
    pin
    plot_hpg
    plot_hpg
@@ -635,7 +634,9 @@ if( MAINTAIN_PNGS )
        endif( NOT pngcrush_EXECUTABLE )
        endif( NOT pngcrush_EXECUTABLE )
    endif( NOT pngcrush_FOUND )
    endif( NOT pngcrush_FOUND )


    # these 2 cmake commands for each desired bitmap size set, repeat as needed:
    # these 3 cmake commands for each desired bitmap size set, repeat as needed:
    bitmap_dir( 16 16 "${BMAPS_SMALL}" )

    bitmap_dir( 26 26 "${BMAPS_MID}" )
    bitmap_dir( 26 26 "${BMAPS_MID}" )


    bitmap_dir( 48 48 "${BMAPS_BIG}" )
    bitmap_dir( 48 48 "${BMAPS_BIG}" )
@@ -649,6 +650,11 @@ endif( MAINTAIN_PNGS )


set( CPP_LIST "" )
set( CPP_LIST "" )


foreach( bmn ${BMAPS_SMALL} )
    #message( "library add cpp_16/${bmn}.cpp" )
    list( APPEND CPP_LIST cpp_16/${bmn}.cpp )
endforeach()

foreach( bmn ${BMAPS_MID} )
foreach( bmn ${BMAPS_MID} )
    #message( "library add cpp_26/${bmn}.cpp" )
    #message( "library add cpp_26/${bmn}.cpp" )
    list( APPEND CPP_LIST cpp_26/${bmn}.cpp )
    list( APPEND CPP_LIST cpp_26/${bmn}.cpp )
+26 −0
Original line number Original line Diff line number Diff line

/* Do not modify this file, it was automatically generated by the
 * PNG2cpp CMake script, using a *.png file as input.
 */

#include "bitmaps.h"

static const unsigned char png[] = {
 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, 0x91, 0x49, 0x44, 0x41, 0x54, 0x38, 0xcb, 0x63, 0xf8, 0xff, 0xff, 0x3f,
 0x03, 0x25, 0x18, 0xa7, 0x04, 0x2b, 0x2b, 0xab, 0x01, 0x10, 0x2f, 0x65, 0x61, 0x61, 0xd9, 0xc3,
 0xcc, 0xcc, 0x1c, 0x41, 0x92, 0x01, 0x40, 0xc0, 0x09, 0xd4, 0xf8, 0x06, 0x88, 0x77, 0x03, 0xf1,
 0x44, 0x20, 0xfe, 0x0b, 0xc4, 0x0e, 0x44, 0x1b, 0x00, 0xb4, 0xd1, 0x13, 0xa4, 0x09, 0x68, 0x90,
 0x20, 0x88, 0x0f, 0x64, 0x1f, 0x05, 0x8a, 0xcd, 0x24, 0xc5, 0x05, 0x7c, 0x40, 0x4d, 0x1f, 0x81,
 0x5e, 0x58, 0x0e, 0xa4, 0x2b, 0x81, 0xf8, 0x17, 0xd0, 0x00, 0x1f, 0x92, 0xc2, 0x00, 0xa8, 0xc9,
 0x19, 0x88, 0x2f, 0x03, 0x35, 0xbe, 0x01, 0x1a, 0x54, 0x48, 0x72, 0x20, 0x42, 0x5d, 0x52, 0x01,
 0xc4, 0x27, 0xc8, 0x8a, 0x85, 0x51, 0x03, 0xe8, 0x6d, 0x00, 0x10, 0x28, 0x02, 0xf1, 0x06, 0x2c,
 0xf8, 0x1c, 0x10, 0x3f, 0xc2, 0x21, 0x17, 0x84, 0x6c, 0x80, 0x34, 0x10, 0x4f, 0x20, 0x11, 0x3b,
 0x13, 0xf4, 0x02, 0x31, 0x18, 0x00, 0x7c, 0x7c, 0x5c, 0xc2, 0x3f, 0x23, 0x70, 0x4a, 0x00, 0x00,
 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
};

const BITMAP_OPAQUE pinorient_down_xpm[1] = {{ png, sizeof( png ), "pinorient_down_xpm" }};

//EOF
+27 −0
Original line number Original line Diff line number Diff line

/* Do not modify this file, it was automatically generated by the
 * PNG2cpp CMake script, using a *.png file as input.
 */

#include "bitmaps.h"

static const unsigned char png[] = {
 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, 0x98, 0x49, 0x44, 0x41, 0x54, 0x38, 0xcb, 0x63, 0xf8, 0xff, 0xff, 0x3f,
 0x03, 0x25, 0x18, 0x42, 0x30, 0x30, 0xa8, 0x02, 0x71, 0x01, 0x25, 0x06, 0x04, 0x00, 0xf1, 0x87,
 0x11, 0x60, 0x00, 0x1b, 0x1b, 0x9b, 0x36, 0x0b, 0x0b, 0x4b, 0x37, 0x33, 0x33, 0x73, 0x14, 0x50,
 0x3d, 0x0b, 0x49, 0x06, 0xb0, 0xb2, 0xb2, 0x1a, 0x00, 0x35, 0xff, 0x01, 0xe2, 0x33, 0x40, 0xfc,
 0x05, 0x68, 0xc8, 0x34, 0x74, 0x03, 0xbe, 0x01, 0xf1, 0x01, 0x5c, 0x98, 0x89, 0x89, 0xe9, 0x06,
 0x50, 0xe3, 0x01, 0x90, 0x7a, 0xa0, 0xe6, 0x00, 0x20, 0x1b, 0xa4, 0x9e, 0x1b, 0xd9, 0x80, 0x2f,
 0x40, 0xdc, 0x80, 0x0b, 0x03, 0x35, 0x6d, 0x05, 0x6a, 0xba, 0x09, 0x64, 0x0b, 0x03, 0xe9, 0x2a,
 0x20, 0x7e, 0x0e, 0xf2, 0x06, 0xd1, 0x5e, 0x00, 0x02, 0x49, 0xa0, 0x21, 0xf7, 0x80, 0x1a, 0xff,
 0x02, 0xf1, 0x2f, 0xa0, 0x97, 0xd2, 0x48, 0x0e, 0x44, 0x90, 0x8d, 0x40, 0x43, 0xbc, 0x80, 0xb4,
 0xec, 0x30, 0x4c, 0x48, 0xfc, 0x40, 0xac, 0x4b, 0xb6, 0x01, 0x94, 0x60, 0x00, 0xd3, 0xf5, 0x53,
 0xc0, 0x2a, 0x14, 0x68, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60,
 0x82,
};

const BITMAP_OPAQUE pinorient_left_xpm[1] = {{ png, sizeof( png ), "pinorient_left_xpm" }};

//EOF
+26 −0
Original line number Original line Diff line number Diff line

/* Do not modify this file, it was automatically generated by the
 * PNG2cpp CMake script, using a *.png file as input.
 */

#include "bitmaps.h"

static const unsigned char png[] = {
 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, 0x8d, 0x49, 0x44, 0x41, 0x54, 0x38, 0xcb, 0x63, 0xf8, 0xff, 0xff, 0x3f,
 0x03, 0x25, 0x98, 0x3c, 0x4d, 0x0c, 0x0c, 0x1e, 0x40, 0x6c, 0x40, 0x89, 0x01, 0x07, 0x80, 0xb8,
 0x61, 0x90, 0x19, 0xc0, 0xc6, 0xc6, 0xa6, 0xcb, 0xc2, 0xc2, 0x52, 0x09, 0xa4, 0xb5, 0x48, 0x36,
 0x80, 0x99, 0x99, 0x39, 0x02, 0xa8, 0xf9, 0x3f, 0x90, 0xbe, 0x0f, 0xa4, 0xff, 0x01, 0xe9, 0x00,
 0x92, 0x0c, 0x00, 0x6a, 0x3a, 0x0d, 0xc4, 0x13, 0xa0, 0x86, 0xcd, 0x00, 0xe2, 0xbb, 0x40, 0x05,
 0x2b, 0xf0, 0xe0, 0xfb, 0xe8, 0x06, 0x1c, 0x03, 0x6a, 0x9a, 0x0d, 0x14, 0x64, 0x64, 0x65, 0x65,
 0x5d, 0x04, 0xe4, 0x5f, 0x07, 0xb2, 0x67, 0xe0, 0xc1, 0x77, 0xd0, 0xbd, 0xe0, 0x0b, 0xd4, 0xf4,
 0x0b, 0x88, 0xdf, 0x02, 0xf1, 0x4f, 0x20, 0x76, 0x23, 0x39, 0x10, 0x81, 0x40, 0x16, 0x68, 0x7b,
 0x26, 0x90, 0x96, 0x1e, 0xa2, 0xe9, 0x80, 0xde, 0x06, 0x98, 0x01, 0xb1, 0x0a, 0xd9, 0x06, 0x20,
 0x63, 0x00, 0x36, 0xc1, 0x5c, 0xcd, 0xe6, 0xd4, 0x98, 0xb1, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45,
 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
};

const BITMAP_OPAQUE pinorient_right_xpm[1] = {{ png, sizeof( png ), "pinorient_right_xpm" }};

//EOF
+27 −0
Original line number Original line Diff line number Diff line

/* Do not modify this file, it was automatically generated by the
 * PNG2cpp CMake script, using a *.png file as input.
 */

#include "bitmaps.h"

static const unsigned char png[] = {
 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, 0x99, 0x49, 0x44, 0x41, 0x54, 0x38, 0xcb, 0x63, 0xf8, 0xff, 0xff, 0x3f,
 0x03, 0x25, 0x18, 0x42, 0x30, 0x30, 0x28, 0x02, 0xf1, 0x06, 0x12, 0x71, 0x10, 0xb2, 0x01, 0xd2,
 0x40, 0x3c, 0x01, 0x0b, 0x3e, 0x08, 0xc4, 0x0f, 0x71, 0xc8, 0x39, 0xc3, 0x0d, 0xc0, 0xe9, 0x3c,
 0x06, 0x86, 0x0a, 0x20, 0x3e, 0x41, 0xd0, 0x0b, 0xa3, 0x06, 0xd0, 0xd6, 0x80, 0x4a, 0x20, 0x3e,
 0x45, 0x96, 0x01, 0xcc, 0xcc, 0xcc, 0xb1, 0x2c, 0x2c, 0x2c, 0xcf, 0x81, 0xf8, 0x3b, 0x10, 0x4f,
 0x04, 0x1a, 0xc4, 0x4c, 0xb4, 0x01, 0x40, 0x20, 0x0e, 0xd4, 0xf4, 0x03, 0x88, 0xbb, 0x81, 0x06,
 0x45, 0x02, 0xe9, 0x2f, 0x40, 0x3a, 0x9a, 0x68, 0x03, 0x80, 0x1a, 0xdc, 0x80, 0xf8, 0x2f, 0xd0,
 0x20, 0x51, 0x28, 0xff, 0x04, 0xd0, 0x80, 0xa9, 0xa4, 0xb8, 0x80, 0x85, 0x95, 0x95, 0xf5, 0x01,
 0x50, 0xe3, 0x15, 0x20, 0xde, 0x08, 0x32, 0x0c, 0xc8, 0x37, 0x22, 0x29, 0x0c, 0x80, 0x40, 0x06,
 0xa8, 0xb1, 0x0b, 0xa8, 0x71, 0x31, 0x90, 0xb6, 0x26, 0x2b, 0x16, 0x88, 0xc1, 0x00, 0x39, 0x69,
 0x59, 0xdc, 0xf0, 0x39, 0x71, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42,
 0x60, 0x82,
};

const BITMAP_OPAQUE pinorient_up_xpm[1] = {{ png, sizeof( png ), "pinorient_up_xpm" }};

//EOF
Loading