KiCad PCB EDA Suite
bitmaps_list.h
Go to the documentation of this file.
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-2021 KiCad Developers, see CHANGELOG.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 
25 #ifndef BITMAPS_PNG_BITMAPS_LIST__H
26 #define BITMAPS_PNG_BITMAPS_LIST__H
27 
32 enum class BITMAPS : unsigned int
33 {
34  /*
35  * Bitmap 0 is reserved for the invalid marker, so that classes using BITMAPS can forward-
36  * declare this enum and zero-initialize it, which cuts down on the number of files that need
37  * to be rebuilt when this enum is changed
38  */
39  INVALID_BITMAP = 0,
40 
41  about,
43  add_arc,
44  add_board,
45  add_bus,
48  add_circle,
50  add_corner,
53  add_gerber,
54  add_glabel,
62  add_label,
63  add_leader,
65  add_line,
70  add_power,
73  add_tracks,
74  add_via,
75  add_zone,
84  anchor,
85  annotate,
89  array,
90  att_bridge,
91  att_pi,
93  att_tee,
98  axis3d,
101  axis3d_front,
102  axis3d_left,
103  axis3d_right,
104  axis3d_top,
105  break_bus,
106  break_line,
107  bug,
109  c_microstrip,
110  calculator,
111  cancel,
115  change_label,
116  change_text,
117  checked_ok,
118  coax,
126  config,
128  convert,
130  copy,
132  cpw,
133  cpw_back,
134  cursor,
135  cursor_shape,
138  cut,
139  datasheet,
143  delete_sheet,
145  directory,
151  down,
152  drag,
154  drc,
155  drc_off,
156  dummy_item,
157  duplicate,
159  edit,
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,
178  export_idf,
180  export_part,
181  export_png,
182  export_step,
183  export_svg,
185  fabrication,
186  file_bom,
187  file_drl,
188  file_dsn,
189  file_gbr,
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,
208  gerber_file,
211  go_down,
212  go_up,
213  grid,
214  grid_select,
216  group,
217  group_enter,
218  group_leave,
219  group_remove,
221  help,
222  help_online,
223  hidden_pin,
228  hotkeys,
229  icon_3d,
234  icon_cvpcb,
245  icon_kicad,
249  icon_libedit,
253  icon_modedit,
265  icon_pcbnew,
269  icon_pcm,
270  icon_pcm_24,
271  image,
272  import,
273  import3d,
279  import_part,
282  info,
286  language,
288  leave_sheet,
289  left,
290  lib_next,
291  lib_previous,
292  libedit,
293  library,
298  lines90,
299  list_nets,
300  list_nets_16,
301  load_drill,
302  load_gerber,
304  lock_unlock,
305  locked,
306  measurement,
307  microstrip,
309  minus,
310  mirror_h,
311  mirror_v,
312  mode_module,
313  mode_track,
314  module,
323  morgan1,
324  morgan2,
325  move,
326  move_exactly,
328  mw_add_gap,
329  mw_add_line,
330  mw_add_shape,
331  mw_add_stub,
335  net_locked,
336  net_unlocked,
337  netlist,
338  new_board,
340  new_document,
342  new_generic,
343  new_library,
345  new_project,
346  new_python,
347  noconn,
348  normal,
349  open_project,
355  options_pad,
357  ortho,
358  pad,
360  pad_number,
361  pad_sketch,
363  pads_npth,
367  pads_remove,
374  paste,
375  path,
376  pcb_target,
377  pcbnew,
378  pin,
379  pin2pin,
381  pin_size_to,
382  pin_table,
386  pinorient_up,
397  pintype_bidi,
399  pintype_nic,
408  plot,
409  polar_coord,
410  post_bom,
411  post_compo,
412  post_d356,
413  post_drill,
414  post_gencad,
415  post_gerber,
416  post_module,
417  post_rpt,
418  preference,
420  print_button,
421  project,
424  ps_diff_pair,
429  ps_router,
432  puzzle_piece,
433  py_script,
443  recent,
445  red,
446  redo,
447  refresh,
448  regul,
449  regul_3pins,
450  reload,
451  render_mode,
452  repaint,
453  rescue,
454  resize_sheet,
455  right,
456  rotate_ccw,
457  rotate_ccw_x,
458  rotate_ccw_y,
459  rotate_ccw_z,
460  rotate_cw,
461  rotate_cw_x,
462  rotate_cw_y,
463  rotate_cw_z,
470  save,
471  save_as,
472  search_tree,
476  set_origin,
477  shape_3d,
479  sheetset,
493  show_other,
494  show_tht,
495  show_smt,
496  show_zone,
500  showtrack,
502  sim_probe,
503  sim_run,
504  sim_stop,
505  sim_tune,
506  simulator,
507  small_down,
508  small_edit,
509  small_folder,
511  small_plus,
513  small_trash,
514  small_up,
517  spreadsheet,
518  stripline,
519  stroke_dash,
521  stroke_dot,
522  stroke_solid,
523  swap_layer,
525  text,
526  text_sketch,
527  three_d,
529  tools,
530  track_locked,
531  track_sketch,
533  trash,
534  tree_nosel,
535  tree_sel,
539  twistedpair,
540  undelete,
541  undo,
542  unit_inch,
543  unit_mil,
544  unit_mm,
545  unknown,
546  unlocked,
547  unzip,
548  up,
552  via,
553  via_annulus,
554  via_buried,
555  via_diameter,
557  via_microvia,
558  via_sketch,
559  viacalc,
561  visibility,
563  width_track,
567  www,
568  zip,
570  zone_fillet,
571  zone_unfill,
572  zoom,
573  zoom_area,
578  zoom_in,
579  zoom_out,
580  zoom_page,
582 };
583 
584 
585 inline bool operator!( const BITMAPS& aBitmap ) { return aBitmap == BITMAPS::INVALID_BITMAP; }
586 
587 #endif // BITMAPS_PNG_BITMAPS_LIST__H
bool operator!(const BITMAPS &aBitmap)
Definition: bitmaps_list.h:585
BITMAPS
A list of all bitmap identifiers.
Definition: bitmaps_list.h:32