You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

631 lines
13 KiB

3 years ago
  1. /*
  2. * This program source code file is part of KiCad, a free EDA CAD application.
  3. *
  4. * Copyright (C) 2007-2017 Jean-Pierre Charras, jp.charras at wanadoo.fr
  5. * Copyright (C) 1992-2022 KiCad Developers, see AUTHORS.TXT for contributors.
  6. *
  7. * This program is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU General Public License
  9. * as published by the Free Software Foundation; either version 2
  10. * of the License, or (at your option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with this program; if not, you may find one here:
  19. * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
  20. * or you may search the http://www.gnu.org website for the version 2 license,
  21. * or you may write to the Free Software Foundation, Inc.,
  22. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
  23. */
  24. #ifndef BITMAPS_PNG_BITMAPS_LIST__H
  25. #define BITMAPS_PNG_BITMAPS_LIST__H
  26. /**
  27. * A list of all bitmap identifiers. These map to multiple actual images, i.e. light and dark icon
  28. * themes, and eventually multi-resolution icons.
  29. */
  30. enum class BITMAPS : unsigned int
  31. {
  32. /*
  33. * Bitmap 0 is reserved for the invalid marker, so that classes using BITMAPS can forward-
  34. * declare this enum and zero-initialize it, which cuts down on the number of files that need
  35. * to be rebuilt when this enum is changed
  36. */
  37. INVALID_BITMAP = 0,
  38. about,
  39. add_aligned_dimension,
  40. add_arc,
  41. add_board,
  42. add_bus,
  43. add_bus2bus,
  44. add_center_dimension,
  45. add_class_flag,
  46. add_circle,
  47. add_component,
  48. add_corner,
  49. add_dashed_line,
  50. add_document,
  51. add_gerber,
  52. add_glabel,
  53. add_graphical_polygon,
  54. add_graphical_segments,
  55. add_hierar_pin,
  56. add_hierarchical_label,
  57. add_hierarchical_subsheet,
  58. add_junction,
  59. add_keepout_area,
  60. add_label,
  61. add_leader,
  62. add_library,
  63. add_line,
  64. add_line2bus,
  65. add_line_label,
  66. add_orthogonal_dimension,
  67. add_pcb_target,
  68. add_power,
  69. add_radial_dimension,
  70. add_rectangle,
  71. add_symbol_to_schematic,
  72. add_textbox,
  73. add_tracks,
  74. add_via,
  75. add_zone,
  76. add_zone_cutout,
  77. align_items,
  78. align_items_bottom,
  79. align_items_center,
  80. align_items_left,
  81. align_items_middle,
  82. align_items_right,
  83. align_items_top,
  84. anchor,
  85. annotate,
  86. annotate_down_right,
  87. annotate_right_down,
  88. apply_pad_settings,
  89. array,
  90. att_bridge,
  91. att_pi,
  92. att_splitter,
  93. att_tee,
  94. auto_associate,
  95. auto_delete_track,
  96. auto_track_width,
  97. autoplace_fields,
  98. axis3d,
  99. axis3d_back,
  100. axis3d_bottom,
  101. axis3d_front,
  102. axis3d_left,
  103. axis3d_right,
  104. axis3d_top,
  105. break_bus,
  106. break_line,
  107. bug,
  108. bus_definition_tool,
  109. c_microstrip,
  110. calculator,
  111. cancel,
  112. change_entry_orient,
  113. change_glabel,
  114. change_hlabel,
  115. change_label,
  116. change_text,
  117. checked_ok,
  118. coax,
  119. color_code_multiplier,
  120. color_code_tolerance,
  121. color_code_value,
  122. color_code_value_and_name,
  123. color_materials,
  124. component_select_alternate_shape,
  125. component_select_unit,
  126. config,
  127. contrast_mode,
  128. convert,
  129. copper_layers_setup,
  130. copy,
  131. copy_pad_settings,
  132. cpw,
  133. cpw_back,
  134. cursor,
  135. cursor_shape,
  136. curved_ratsnest,
  137. custom_pad_to_primitives,
  138. cut,
  139. datasheet,
  140. delete_association,
  141. delete_cursor,
  142. delete_gerber,
  143. delete_sheet,
  144. dialog_warning,
  145. directory,
  146. directory_browser,
  147. directory_open,
  148. display_options,
  149. distribute_horizontal,
  150. distribute_vertical,
  151. down,
  152. drag,
  153. drag_segment_withslope,
  154. drc,
  155. drc_off,
  156. dummy_item,
  157. duplicate,
  158. edge_to_copper_clearance,
  159. edit,
  160. edit_cmp_symb_links,
  161. edit_comp_footprint,
  162. edit_comp_ref,
  163. edit_comp_value,
  164. editor,
  165. eeschema,
  166. enter_sheet,
  167. erc,
  168. erc_green,
  169. ercerr,
  170. ercwarn,
  171. exchange,
  172. exit,
  173. export3d,
  174. export_cmp,
  175. export_dsn,
  176. export_file,
  177. export_footprint_names,
  178. export_idf,
  179. export_module,
  180. export_part,
  181. export_png,
  182. export_step,
  183. export_svg,
  184. export_to_pcbnew,
  185. fabrication,
  186. file_bom,
  187. file_drl,
  188. file_dsn,
  189. file_gbr,
  190. file_gerber_job,
  191. file_html,
  192. file_idf,
  193. file_pdf,
  194. file_pos,
  195. file_svg,
  196. fill_zone,
  197. filter,
  198. find,
  199. find_replace,
  200. flag,
  201. flip_board,
  202. fonts,
  203. gbr_select_mode0,
  204. gbr_select_mode1,
  205. gbr_select_mode2,
  206. general_deletions,
  207. general_ratsnest,
  208. gerber_file,
  209. gerbview_clear_layers,
  210. gerbview_show_negative_objects,
  211. go_down,
  212. go_up,
  213. grid,
  214. grid_select,
  215. grid_select_axis,
  216. group,
  217. group_enter,
  218. group_leave,
  219. group_remove,
  220. group_ungroup,
  221. help,
  222. help_online,
  223. hidden_pin,
  224. hide_ratsnest,
  225. hierarchy_nav,
  226. hole_to_copper_clearance,
  227. hole_to_hole_clearance,
  228. hotkeys,
  229. hv45mode,
  230. icon_3d,
  231. icon_bitmap2component,
  232. icon_bitmap2component_16,
  233. icon_bitmap2component_24,
  234. icon_bitmap2component_32,
  235. icon_cvpcb,
  236. icon_cvpcb_24,
  237. icon_eeschema,
  238. icon_eeschema_16,
  239. icon_eeschema_24,
  240. icon_eeschema_32,
  241. icon_footprint_browser,
  242. icon_gerbview,
  243. icon_gerbview_16,
  244. icon_gerbview_24,
  245. icon_gerbview_32,
  246. icon_kicad,
  247. icon_kicad_16,
  248. icon_kicad_24,
  249. icon_kicad_32,
  250. icon_kicad_nightly,
  251. icon_kicad_nightly_16,
  252. icon_kicad_nightly_24,
  253. icon_kicad_nightly_32,
  254. icon_libedit,
  255. icon_libedit_16,
  256. icon_libedit_24,
  257. icon_libedit_32,
  258. icon_modedit,
  259. icon_modedit_16,
  260. icon_modedit_24,
  261. icon_modedit_32,
  262. icon_pagelayout_editor,
  263. icon_pagelayout_editor_16,
  264. icon_pagelayout_editor_24,
  265. icon_pagelayout_editor_32,
  266. icon_pcbcalculator,
  267. icon_pcbcalculator_16,
  268. icon_pcbcalculator_24,
  269. icon_pcbcalculator_32,
  270. icon_pcbnew,
  271. icon_pcbnew_16,
  272. icon_pcbnew_24,
  273. icon_pcbnew_32,
  274. icon_pcm,
  275. icon_pcm_24,
  276. image,
  277. import,
  278. import3d,
  279. import_brd_file,
  280. import_document,
  281. import_footprint_names,
  282. import_hierarchical_label,
  283. import_module,
  284. import_part,
  285. import_project,
  286. import_vector,
  287. info,
  288. insert_module_board,
  289. invisible_text,
  290. kicad_icon_small,
  291. label_align_left,
  292. label_align_right,
  293. label_align_top,
  294. label_align_bottom,
  295. language,
  296. layers_manager,
  297. leave_sheet,
  298. left,
  299. lib_next,
  300. lib_previous,
  301. libedit,
  302. library,
  303. library_archive,
  304. library_archive_as,
  305. library_browser,
  306. library_table,
  307. lines_any,
  308. lines90,
  309. list_nets,
  310. list_nets_16,
  311. load_drill,
  312. load_gerber,
  313. load_module_board,
  314. lock_unlock,
  315. locked,
  316. marker_exclude,
  317. marker_next,
  318. marker_previous,
  319. measurement,
  320. microstrip,
  321. microstrip_zodd_zeven,
  322. minus,
  323. mirror_h,
  324. mirror_v,
  325. mode_module,
  326. mode_track,
  327. module,
  328. module_editor,
  329. module_filtered_list,
  330. module_full_list,
  331. module_library_list,
  332. module_name_filtered_list,
  333. module_options,
  334. module_pin_filtered_list,
  335. module_wizard,
  336. morgan1,
  337. morgan2,
  338. move,
  339. move_exactly,
  340. move_relative,
  341. mw_add_gap,
  342. mw_add_line,
  343. mw_add_shape,
  344. mw_add_stub,
  345. mw_add_stub_arc,
  346. net_highlight,
  347. net_highlight_schematic,
  348. net_locked,
  349. net_unlocked,
  350. netlist,
  351. new_board,
  352. new_component,
  353. new_document,
  354. new_footprint,
  355. new_generic,
  356. new_library,
  357. new_page_layout,
  358. new_project,
  359. new_project_from_template,
  360. new_python,
  361. noconn,
  362. normal,
  363. open_project,
  364. open_project_demo,
  365. opt_show_polygon,
  366. options_3drender,
  367. options_board,
  368. options_generic,
  369. options_generic_16,
  370. options_pad,
  371. options_schematic,
  372. ortho,
  373. pack_footprints,
  374. pad,
  375. pad_enumerate,
  376. pad_number,
  377. pad_sketch,
  378. pads_mask_layers,
  379. pads_npth,
  380. pads_npth_bottom,
  381. pads_npth_top,
  382. pads_npth_top_bottom,
  383. pads_remove,
  384. pads_remove_unused,
  385. pads_remove_unused_keep_bottom,
  386. pads_reset_unused,
  387. pagelayout_normal_view_mode,
  388. pagelayout_special_view_mode,
  389. part_properties,
  390. paste,
  391. paste_special,
  392. path,
  393. pcb_target,
  394. pcbnew,
  395. pin,
  396. pin2pin,
  397. pin_show_etype,
  398. pin_size_to,
  399. pin_table,
  400. pinorient_down,
  401. pinorient_left,
  402. pinorient_right,
  403. pinorient_up,
  404. pinshape_active_low_input,
  405. pinshape_active_low_output,
  406. pinshape_clock_active_low,
  407. pinshape_clock_fall,
  408. pinshape_clock_invert,
  409. pinshape_clock_normal,
  410. pinshape_invert,
  411. pinshape_nonlogic,
  412. pinshape_normal,
  413. pintype_3states,
  414. pintype_bidi,
  415. pintype_input,
  416. pintype_nic,
  417. pintype_noconnect,
  418. pintype_notspecif,
  419. pintype_opencoll,
  420. pintype_openemit,
  421. pintype_output,
  422. pintype_passive,
  423. pintype_powerinput,
  424. pintype_poweroutput,
  425. plot,
  426. polar_coord,
  427. post_bom,
  428. post_compo,
  429. post_d356,
  430. post_drill,
  431. post_gencad,
  432. post_gerber,
  433. post_module,
  434. post_rpt,
  435. preference,
  436. primitives_to_custom_pad,
  437. print_button,
  438. project,
  439. project_close,
  440. project_kicad,
  441. ps_diff_pair,
  442. ps_diff_pair_gap,
  443. ps_diff_pair_tune_length,
  444. ps_diff_pair_tune_phase,
  445. ps_diff_pair_via_gap,
  446. ps_router,
  447. ps_tune_length,
  448. push_pad_settings,
  449. puzzle_piece,
  450. py_script,
  451. question_mark,
  452. reannotate_down_left,
  453. reannotate_down_right,
  454. reannotate_left_down,
  455. reannotate_left_up,
  456. reannotate_right_down,
  457. reannotate_right_up,
  458. reannotate_up_left,
  459. reannotate_up_right,
  460. recent,
  461. rectwaveguide,
  462. red,
  463. redo,
  464. refresh,
  465. regul,
  466. regul_3pins,
  467. reload,
  468. render_mode,
  469. repaint,
  470. rescue,
  471. resize_sheet,
  472. right,
  473. rotate_ccw,
  474. rotate_ccw_x,
  475. rotate_ccw_y,
  476. rotate_ccw_z,
  477. rotate_cw,
  478. rotate_cw_x,
  479. rotate_cw_y,
  480. rotate_cw_z,
  481. router_len_tuner,
  482. router_len_tuner_amplitude_decr,
  483. router_len_tuner_amplitude_incr,
  484. router_len_tuner_dist_decr,
  485. router_len_tuner_dist_incr,
  486. router_len_tuner_setup,
  487. save,
  488. save_as,
  489. search_tree,
  490. select_layer_pair,
  491. select_same_sheet,
  492. select_w_layer,
  493. set_origin,
  494. shape_3d,
  495. shape_3d_back,
  496. sheetset,
  497. show_all_back_layers,
  498. show_all_copper_layers,
  499. show_all_front_layers,
  500. show_all_layers,
  501. show_back_assembly_layers,
  502. show_dcodenumber,
  503. show_footprint,
  504. show_front_assembly_layers,
  505. show_graphics_mode,
  506. show_mod_edge,
  507. show_no_copper_layers,
  508. show_no_layers,
  509. show_ratsnest,
  510. show_not_in_posfile,
  511. show_other,
  512. show_tht,
  513. show_smt,
  514. show_zone,
  515. show_zone_disable,
  516. show_zone_outline_only,
  517. show_zone_triangulation,
  518. showtrack,
  519. sim_add_signal,
  520. sim_probe,
  521. sim_run,
  522. sim_stop,
  523. sim_tune,
  524. simulator,
  525. slice_line,
  526. small_down,
  527. small_edit,
  528. small_folder,
  529. small_library,
  530. small_plus,
  531. small_refresh,
  532. small_sort_desc,
  533. small_trash,
  534. small_up,
  535. small_warning,
  536. special_tools,
  537. spreadsheet,
  538. stripline,
  539. stroke_dash,
  540. stroke_dashdot,
  541. stroke_dashdotdot,
  542. stroke_dot,
  543. stroke_solid,
  544. swap,
  545. swap_layer,
  546. switch_corner_rounding_shape,
  547. teardrop_sizes,
  548. teardrop_rect_sizes,
  549. teardrop_track_sizes,
  550. text,
  551. text_align_left,
  552. text_align_center,
  553. text_align_right,
  554. text_align_top,
  555. text_align_middle,
  556. text_align_bottom,
  557. text_valign_top,
  558. text_valign_center,
  559. text_valign_bottom,
  560. text_horizontal,
  561. text_vertical,
  562. text_bold,
  563. text_italic,
  564. text_mirrored,
  565. text_sketch,
  566. thermal_spokes,
  567. three_d,
  568. tool_ratsnest,
  569. tools,
  570. track_locked,
  571. track_sketch,
  572. track_unlocked,
  573. trash,
  574. tree_nosel,
  575. tree_sel,
  576. tune_diff_pair_length_legend,
  577. tune_diff_pair_skew_legend,
  578. tune_single_track_length_legend,
  579. twistedpair,
  580. undelete,
  581. undo,
  582. unit_inch,
  583. unit_mil,
  584. unit_mm,
  585. unknown,
  586. unlocked,
  587. unzip,
  588. up,
  589. update_fields,
  590. update_pcb_from_sch,
  591. update_sch_from_pcb,
  592. via,
  593. via_annulus,
  594. via_buried,
  595. via_diameter,
  596. via_hole_diameter,
  597. via_microvia,
  598. via_sketch,
  599. viacalc,
  600. viewlibs_icon,
  601. visibility,
  602. visibility_off,
  603. width_conn,
  604. width_track,
  605. width_track_via,
  606. wizard_add_fplib_icon,
  607. wizard_add_fplib_small,
  608. www,
  609. zip,
  610. zone_duplicate,
  611. zone_fillet,
  612. zone_unfill,
  613. zoom,
  614. zoom_area,
  615. zoom_auto_fit_in_page,
  616. zoom_center_on_screen,
  617. zoom_fit_in_page,
  618. zoom_fit_to_objects,
  619. zoom_in,
  620. zoom_out,
  621. zoom_page,
  622. zoom_selection,
  623. };
  624. inline bool operator!( const BITMAPS& aBitmap ) { return aBitmap == BITMAPS::INVALID_BITMAP; }
  625. #endif // BITMAPS_PNG_BITMAPS_LIST__H