;; Copyright (C) 2016 Free Software Foundation, Inc ;; Authors: Cl├йment Pit--Claudel, Nick Roberts , ;; Rocky Bernstein ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation, either version 3 of the License, or ;; (at your option) any later version. ;; This program is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License ;; along with this program. If not, see . ;; Run тАШcask exec emacs -Q -L . -l etc/screenshot.elтАЩ from the project's root to ;; build a screenshot. (require 'load-relative) (defconst realgud-bp-xpm-data "/* XPM */ static char *magick[] = { /* columns rows colors chars-per-pixel */ \"10 10 2 1\", \" c red\", \"+ c None\", /* pixels */ \"+++ +++\", \"++ ++\", \"+ +\", \" \", \" \", \" \", \" \", \"+ +\", \"++ ++\", \"+++ +++\", };" "XPM data used for breakpoint enable and disable icon.") ;; For seeing what above icon looks like: (if nil (progn (let ((image (find-image `((:type xpm :data ,realgud-bp-xpm-data :ascent 100 :pointer hand))))) (insert-image image)) ;; eval-last-sexp after previous )) (let ((image (find-image `((:type xpm :data ,realgud-bp-xpm-data :conversion disabled :ascent 100 :pointer hand))))) (insert-image image)) ;; eval-last-sexp after previous )) ) ) (defconst realgud-bp-enabled-pbm-data "P1 10 10\", 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 1 1 1 1 1 1 1 1 1 1 0 0 1 1 1 1 1 1 1 1 1 1 0 0 1 1 1 1 1 1 1 1 1 1 0 0 1 1 1 1 1 1 1 1 1 1 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0" "PBM data used for enabled breakpoint icon.") ;; For seeing what above icon looks like: (if nil (let ((image (find-image `((:type pbm :data ,realgud-bp-enabled-pbm-data :ascent 100 :pointer hand))))) (insert-image image)) ;; eval-last-sexp after previous )) ) (defconst realgud-bp-disabled-pbm-data "P1 10 10\", 1 1 1 1 0 0 0 0 1 1 1 1 1 1 1 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 0 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1" "PBM data used for disabled breakpoint icon.") ;; For seeing what above icon looks like: (if nil (let ((image (find-image `((:type pbm :data ,realgud-bp-disabled-pbm-data :ascent 100 :pointer hand))))) (insert-image image)) ;; eval-last-sexp after previous )) ) (defconst realgud-bp-enabled-svg-data " ") ;; For seeing what above icon looks like: (if nil (let ((image (find-image `((:type svg :data ,realgud-bp-enabled-svg-data :ascent 100 :pointer hand))))) (insert-image image)) ;; eval-last-sexp after previous )) ) (defconst realgud-bp-disabled-svg-data " ") ;; For seeing what above icon looks like: (if nil (let ((image (find-image `((:type svg :data ,realgud-bp-disabled-svg-data :ascent 100 :pointer hand))))) (insert-image image)) ;; eval-last-sexp after previous )) ) (defconst realgud-bp-enabled-tiff-data "II*(        ■ @@@@                        BBBB                  ■ @@@@                                BBBB                                                BBBB                                                                                                                                                              ■ >>>>  ■ <<<<                              ■ >>>>                  ■ <<<<                      ■ >>>>                                  ■ <<<<              ■ >>>>                               &f 4<()>D?TR/tmp/en.tiffHHрF@V@А┬ї(@`╕@@33@Аff&@аЩЩ @< ╫@" "TIFF data used for breakpoint enabled icon.") ;; For seeing what above icon looks like: (if nil (let ((image (find-image `((:type tiff :data ,realgud-bp-enabled-tiff-data :ascent 100 :pointer hand))))) (insert-image image)) ;; eval-last-sexp after previous )) ) (defconst realgud-bp-disabled-tiff-data "II*Ш    аа  ВВ  АБ  АБ  АБ  ВВ  аб          аа  ВВ  АБ  АБ  АБ  АБ  АБ  ВВ  аб      ВВ  АБ  АБ  АБ  АБ  АБ  АБ  АБ  ВВ  аб  АБ  АБ  АБ  АБ  АБ  АБ  АБ  АБ  АБ  ЗИ  АБ  АБ  АБ  АБ  АБ  АБ  АБ  АБ  АБ  ЗИ  АБ  АБ  АБ  АБ  АБ  АБ  АБ  АБ  АБ  ЗИ  ВВ  АБ  АБ  АБ  АБ  АБ  АБ  АБ  ВВ  ЯЯ  ЮЮ  ВВ  АБ  АБ  АБ  АБ  АБ  ВВ  ЯЯ          ЮЮ  ВВ  АБ  АБ  АБ  ВВ  ЯЯ                  ЮЮ  ЗИ  ЗИ  ЗИ  ЯЯ                  О╠РЬд()>м?╝R/tmp/dis.tiffHHрF@V@А┬ї(@`╕@@33@Аff&@аЩЩ @< ╫@" "TIFF data used for breakpoint disabled icon.") ;; For seeing what above icon looks like: (if nil (let ((image (find-image `((:type tiff :data ,realgud-bp-disabled-tiff-data :ascent 100 :pointer hand))))) (insert-image image)) ;; eval-last-sexp after previous )) ) (provide-me "realgud-")