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  image,
270  import,
271  import3d,
277  import_part,
280  info,
284  language,
286  leave_sheet,
287  left,
288  lib_next,
289  lib_previous,
290  libedit,
291  library,
296  lines90,
297  list_nets,
298  list_nets_16,
299  load_drill,
300  load_gerber,
302  lock_unlock,
303  locked,
304  measurement,
305  microstrip,
307  minus,
308  mirror_h,
309  mirror_v,
310  mode_module,
311  mode_track,
312  module,
321  morgan1,
322  morgan2,
323  move,
324  move_exactly,
326  mw_add_gap,
327  mw_add_line,
328  mw_add_shape,
329  mw_add_stub,
333  net_locked,
334  net_unlocked,
335  netlist,
336  new_board,
338  new_document,
340  new_generic,
341  new_library,
343  new_project,
344  new_python,
345  noconn,
346  normal,
347  open_project,
353  options_pad,
355  ortho,
356  pad,
358  pad_number,
359  pad_sketch,
361  pads_npth,
365  pads_remove,
372  paste,
373  path,
374  pcb_target,
375  pcbnew,
376  pin,
377  pin2pin,
379  pin_size_to,
380  pin_table,
384  pinorient_up,
395  pintype_bidi,
397  pintype_nic,
406  plot,
407  polar_coord,
408  post_bom,
409  post_compo,
410  post_d356,
411  post_drill,
412  post_gencad,
413  post_gerber,
414  post_module,
415  post_rpt,
416  preference,
418  print_button,
419  project,
422  ps_diff_pair,
427  ps_router,
430  puzzle_piece,
431  py_script,
441  recent,
443  red,
444  redo,
445  refresh,
446  regul,
447  regul_3pins,
448  reload,
449  render_mode,
450  repaint,
451  rescue,
452  resize_sheet,
453  right,
454  rotate_ccw,
455  rotate_ccw_x,
456  rotate_ccw_y,
457  rotate_ccw_z,
458  rotate_cw,
459  rotate_cw_x,
460  rotate_cw_y,
461  rotate_cw_z,
468  save,
469  save_as,
470  search_tree,
474  set_origin,
475  shape_3d,
477  sheetset,
491  show_zone,
494  showtrack,
496  sim_probe,
497  sim_run,
498  sim_stop,
499  sim_tune,
500  simulator,
501  small_down,
502  small_edit,
503  small_folder,
505  small_plus,
507  small_trash,
508  small_up,
511  spreadsheet,
512  stripline,
513  stroke_dash,
515  stroke_dot,
516  stroke_solid,
517  swap_layer,
519  text,
520  text_sketch,
521  three_d,
523  tools,
524  track_locked,
525  track_sketch,
527  trash,
528  tree_nosel,
529  tree_sel,
533  twistedpair,
534  undelete,
535  undo,
536  unit_inch,
537  unit_mil,
538  unit_mm,
539  unknown,
540  unlocked,
541  unzip,
542  up,
546  via,
547  via_annulus,
548  via_buried,
549  via_diameter,
551  via_microvia,
552  via_sketch,
553  viacalc,
555  visibility,
557  width_track,
561  www,
562  zip,
564  zone_fillet,
565  zone_unfill,
566  zoom,
567  zoom_area,
572  zoom_in,
573  zoom_out,
574  zoom_page,
576 };
577 
578 
579 inline bool operator!( const BITMAPS& aBitmap ) { return aBitmap == BITMAPS::INVALID_BITMAP; }
580 
581 #endif // BITMAPS_PNG_BITMAPS_LIST__H
bool operator!(const BITMAPS &aBitmap)
Definition: bitmaps_list.h:579
BITMAPS
A list of all bitmap identifiers.
Definition: bitmaps_list.h:32