id int64 0 755k | file_name stringlengths 3 109 | file_path stringlengths 13 185 | content stringlengths 31 9.38M | size int64 31 9.38M | language stringclasses 1
value | extension stringclasses 11
values | total_lines int64 1 340k | avg_line_length float64 2.18 149k | max_line_length int64 7 2.22M | alphanum_fraction float64 0 1 | repo_name stringlengths 6 65 | repo_stars int64 100 47.3k | repo_forks int64 0 12k | repo_open_issues int64 0 3.4k | repo_license stringclasses 9
values | repo_extraction_date stringclasses 92
values | exact_duplicates_redpajama bool 2
classes | near_duplicates_redpajama bool 2
classes | exact_duplicates_githubcode bool 2
classes | exact_duplicates_stackv2 bool 1
class | exact_duplicates_stackv1 bool 2
classes | near_duplicates_githubcode bool 2
classes | near_duplicates_stackv1 bool 2
classes | near_duplicates_stackv2 bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
42,770 | cmd_timeline.cpp | LibreSprite_LibreSprite/src/app/commands/cmd_timeline.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "ui/ui.h"
#inclu... | 2,169 | C++ | .cpp | 75 | 26.24 | 72 | 0.721098 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,771 | cmd_zoom.cpp | LibreSprite_LibreSprite/src/app/commands/cmd_zoom.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/app.h"
#incl... | 2,877 | C++ | .cpp | 106 | 23.764151 | 83 | 0.679156 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,772 | cmd_launch.cpp | LibreSprite_LibreSprite/src/app/commands/cmd_launch.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/commands/com... | 1,321 | C++ | .cpp | 54 | 21.777778 | 71 | 0.705272 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,773 | cmd_run_script.cpp | LibreSprite_LibreSprite/src/app/commands/cmd_run_script.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/commands/com... | 1,343 | C++ | .cpp | 49 | 25.244898 | 73 | 0.764247 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,774 | cmd_flatten_layers.cpp | LibreSprite_LibreSprite/src/app/commands/cmd_flatten_layers.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/commands/com... | 1,539 | C++ | .cpp | 52 | 27.211538 | 77 | 0.769804 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,775 | cmd_goto_frame.cpp | LibreSprite_LibreSprite/src/app/commands/cmd_goto_frame.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/commands/com... | 5,856 | C++ | .cpp | 166 | 30.86747 | 95 | 0.703789 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,776 | cmd_link_cels.cpp | LibreSprite_LibreSprite/src/app/commands/cmd_link_cels.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/app.h"
#incl... | 2,883 | C++ | .cpp | 94 | 25.989362 | 94 | 0.667749 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,777 | cmd_tiled_mode.cpp | LibreSprite_LibreSprite/src/app/commands/cmd_tiled_mode.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/app.h"
#incl... | 1,959 | C++ | .cpp | 62 | 28.935484 | 73 | 0.739246 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,778 | cmd_modify_selection.cpp | LibreSprite_LibreSprite/src/app/commands/cmd_modify_selection.cpp | // Aseprite
// Copyright (C) 2015, 2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/cmd/set_mas... | 7,287 | C++ | .cpp | 210 | 29 | 83 | 0.647327 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,779 | cmd_copy_cel.cpp | LibreSprite_LibreSprite/src/app/commands/cmd_copy_cel.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/app.h"
#incl... | 1,128 | C++ | .cpp | 42 | 24.666667 | 71 | 0.751859 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,780 | cmd_copy.cpp | LibreSprite_LibreSprite/src/app/commands/cmd_copy.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/app.h"
#incl... | 1,012 | C++ | .cpp | 40 | 23.05 | 71 | 0.740125 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,781 | cmd_import_sprite_sheet.cpp | LibreSprite_LibreSprite/src/app/commands/cmd_import_sprite_sheet.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/app.h"
#incl... | 12,749 | C++ | .cpp | 365 | 29.657534 | 101 | 0.675823 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,782 | cmd_rotate.cpp | LibreSprite_LibreSprite/src/app/commands/cmd_rotate.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/app.h"
#incl... | 6,724 | C++ | .cpp | 217 | 25.21659 | 91 | 0.615551 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,783 | cmd_change_color.cpp | LibreSprite_LibreSprite/src/app/commands/cmd_change_color.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string>
#includ... | 2,739 | C++ | .cpp | 104 | 22.423077 | 71 | 0.685539 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,784 | cmd_goto_layer.cpp | LibreSprite_LibreSprite/src/app/commands/cmd_goto_layer.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/app.h"
#incl... | 3,104 | C++ | .cpp | 103 | 27.029126 | 84 | 0.74135 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,785 | cmd_deselect_mask.cpp | LibreSprite_LibreSprite/src/app/commands/cmd_deselect_mask.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/cmd/deselect... | 1,598 | C++ | .cpp | 53 | 27.245283 | 80 | 0.761564 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,786 | cmd_canvas_size.cpp | LibreSprite_LibreSprite/src/app/commands/cmd_canvas_size.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/commands/com... | 9,195 | C++ | .cpp | 294 | 26.183673 | 90 | 0.617534 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,787 | cmd_unlink_cel.cpp | LibreSprite_LibreSprite/src/app/commands/cmd_unlink_cel.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/app.h"
#incl... | 2,747 | C++ | .cpp | 89 | 25.910112 | 96 | 0.669065 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,788 | cmd_undo.cpp | LibreSprite_LibreSprite/src/app/commands/cmd_undo.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/app.h"
#incl... | 3,862 | C++ | .cpp | 117 | 29.051282 | 82 | 0.698737 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,789 | cmd_remove_frame.cpp | LibreSprite_LibreSprite/src/app/commands/cmd_remove_frame.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/app.h"
#incl... | 1,999 | C++ | .cpp | 71 | 24.746479 | 75 | 0.713987 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,790 | cmd_palette_editor.cpp | LibreSprite_LibreSprite/src/app/commands/cmd_palette_editor.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/app.h"
#incl... | 21,285 | C++ | .cpp | 647 | 27.97527 | 111 | 0.669153 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,791 | cmd_open_in_folder.cpp | LibreSprite_LibreSprite/src/app/commands/cmd_open_in_folder.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/commands/com... | 1,260 | C++ | .cpp | 45 | 25.666667 | 76 | 0.766805 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,792 | cmd_new_frame_tag.cpp | LibreSprite_LibreSprite/src/app/commands/cmd_new_frame_tag.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/app.h"
#incl... | 2,362 | C++ | .cpp | 75 | 28.346667 | 83 | 0.730396 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,793 | cmd_layer_properties.cpp | LibreSprite_LibreSprite/src/app/commands/cmd_layer_properties.cpp | // Aseprite | Copyright (C) 2001-2016 David Capello
// LibreSprite | Copyright (C) 2021 LibreSprite contributors
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef... | 8,450 | C++ | .cpp | 255 | 27.854902 | 114 | 0.661259 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,794 | cmd_duplicate_sprite.cpp | LibreSprite_LibreSprite/src/app/commands/cmd_duplicate_sprite.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/app.h"
#incl... | 2,363 | C++ | .cpp | 72 | 30 | 82 | 0.740317 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,795 | cmd_new_layer.cpp | LibreSprite_LibreSprite/src/app/commands/cmd_new_layer.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/app.h"
#incl... | 3,996 | C++ | .cpp | 128 | 28.015625 | 91 | 0.695856 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,796 | cmd_replace_color.cpp | LibreSprite_LibreSprite/src/app/commands/filters/cmd_replace_color.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdio.h>
#inclu... | 4,922 | C++ | .cpp | 140 | 31.078571 | 96 | 0.721615 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,797 | cmd_convolution_matrix.cpp | LibreSprite_LibreSprite/src/app/commands/filters/cmd_convolution_matrix.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/app.h"
#incl... | 5,534 | C++ | .cpp | 163 | 29.92638 | 119 | 0.724649 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,798 | filter_worker.cpp | LibreSprite_LibreSprite/src/app/commands/filters/filter_worker.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/app.h"
#incl... | 4,574 | C++ | .cpp | 154 | 27.24026 | 112 | 0.72041 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,799 | cmd_despeckle.cpp | LibreSprite_LibreSprite/src/app/commands/filters/cmd_despeckle.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/app.h"
#incl... | 3,781 | C++ | .cpp | 112 | 29.553571 | 82 | 0.701317 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,800 | filter_manager_impl.cpp | LibreSprite_LibreSprite/src/app/commands/filters/filter_manager_impl.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/commands/fil... | 8,345 | C++ | .cpp | 287 | 24.937282 | 100 | 0.659912 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,801 | filter_preview.cpp | LibreSprite_LibreSprite/src/app/commands/filters/filter_preview.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/commands/fil... | 1,977 | C++ | .cpp | 78 | 21.794872 | 74 | 0.700532 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,802 | filter_window.cpp | LibreSprite_LibreSprite/src/app/commands/filters/filter_window.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/commands/fil... | 4,096 | C++ | .cpp | 131 | 27.847328 | 86 | 0.729517 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,803 | cmd_color_curve.cpp | LibreSprite_LibreSprite/src/app/commands/filters/cmd_color_curve.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/color.h"
#in... | 3,336 | C++ | .cpp | 104 | 27.894231 | 79 | 0.715087 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,804 | cmd_invert_color.cpp | LibreSprite_LibreSprite/src/app/commands/filters/cmd_invert_color.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/color.h"
#in... | 2,203 | C++ | .cpp | 73 | 26.383562 | 75 | 0.733113 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,805 | color_curve_editor.cpp | LibreSprite_LibreSprite/src/app/commands/filters/color_curve_editor.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/commands/fil... | 7,983 | C++ | .cpp | 263 | 25.13308 | 98 | 0.634226 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,806 | convolution_matrix_stock.cpp | LibreSprite_LibreSprite/src/app/commands/filters/convolution_matrix_stock.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/commands/fil... | 4,477 | C++ | .cpp | 147 | 23.176871 | 86 | 0.518294 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,807 | filter_target_buttons.cpp | LibreSprite_LibreSprite/src/app/commands/filters/filter_target_buttons.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/commands/fil... | 5,405 | C++ | .cpp | 171 | 27.321637 | 96 | 0.669229 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,808 | write_document.cpp | LibreSprite_LibreSprite/src/app/crash/write_document.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/crash/write_... | 6,305 | C++ | .cpp | 183 | 30.486339 | 96 | 0.648938 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,809 | data_recovery.cpp | LibreSprite_LibreSprite/src/app/crash/data_recovery.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/crash/data_r... | 2,462 | C++ | .cpp | 78 | 27.410256 | 75 | 0.674556 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,810 | backup_observer.cpp | LibreSprite_LibreSprite/src/app/crash/backup_observer.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/crash/backup... | 2,763 | C++ | .cpp | 91 | 26.956044 | 89 | 0.694539 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,811 | session.cpp | LibreSprite_LibreSprite/src/app/crash/session.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/crash/sessio... | 5,844 | C++ | .cpp | 227 | 22.550661 | 90 | 0.657286 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,812 | read_document.cpp | LibreSprite_LibreSprite/src/app/crash/read_document.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/crash/read_d... | 11,681 | C++ | .cpp | 369 | 26.092141 | 92 | 0.608487 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,813 | render.cpp | LibreSprite_LibreSprite/src/render/render.cpp | // Aseprite Render Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "render/render.h"
#include "base/base.h"
#include "doc/blend_internals.h"
#include "do... | 27,566 | C++ | .cpp | 884 | 25.255656 | 105 | 0.624491 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,814 | get_sprite_pixel.cpp | LibreSprite_LibreSprite/src/render/get_sprite_pixel.cpp | // Aseprite Render Library
// Copyright (c) 2001-2014 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/doc.h"
#include "gfx/clip.h"
#include "render/render.h"
#include <memory>
namesp... | 803 | C++ | .cpp | 26 | 28.461538 | 80 | 0.671018 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,815 | quantization.cpp | LibreSprite_LibreSprite/src/render/quantization.cpp | // Aseprite Render Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#include <memory>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "render/quantization.h"
#include "base/base.h"
#include "doc/image_i... | 11,614 | C++ | .cpp | 346 | 25.656069 | 103 | 0.574913 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,816 | render_tests.cpp | LibreSprite_LibreSprite/src/render/render_tests.cpp | // Aseprite Document Library
// Copyright (c) 2001-2014 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <gtest/gtest.h>
#include "render/render.h"
#include "doc/cel.h"
#include "doc/conte... | 6,277 | C++ | .cpp | 184 | 31.190217 | 82 | 0.59617 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,817 | ordered_dither_tests.cpp | LibreSprite_LibreSprite/src/render/ordered_dither_tests.cpp | // Aseprite Render Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <gtest/gtest.h>
#include "render/ordered_dither.h"
using namespace doc;
using namespa... | 1,301 | C++ | .cpp | 55 | 20.672727 | 60 | 0.586095 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,818 | zoom.cpp | LibreSprite_LibreSprite/src/render/zoom.cpp | // Aseprite Render Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "base/base.h"
#include "base/debug.h"
#include "render/zoom.h"
namespace render {
sta... | 2,228 | C++ | .cpp | 113 | 16.867257 | 65 | 0.572857 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,850 | trim_string.cpp | LibreSprite_LibreSprite/src/base/trim_string.cpp | // Aseprite Base Library
// Copyright (c) 2001-2013 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "base/trim_string.h"
#include <cctype>
void base::trim_string(const std::string& input, ... | 614 | C++ | .cpp | 24 | 22.75 | 69 | 0.64726 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,852 | fs.cpp | LibreSprite_LibreSprite/src/base/fs.cpp | // Aseprite Base Library
// Copyright (c) 2001-2013, 2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "base/fs.h"
#include "base/split_string.h"
#ifdef _WIN32
#include "base/fs_win32... | 977 | C++ | .cpp | 35 | 24.771429 | 88 | 0.699893 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,855 | fs_tests.cpp | LibreSprite_LibreSprite/src/base/fs_tests.cpp | // Aseprite Base Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#include <gtest/gtest.h>
#include "base/fs.h"
using namespace base;
TEST(FileSystem, MakeDirectory)
{
EXPECT_FALSE(is_directory("a"));
make... | 1,030 | C++ | .cpp | 37 | 25.405405 | 60 | 0.70102 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,860 | pref_types.cpp | LibreSprite_LibreSprite/src/gen/pref_types.cpp | // Aseprite Code Generator
// Copyright (c) 2014, 2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#include "base/exception.h"
#include "base/file_handle.h"
#include "base/path.h"
#include "base/split_string.h"
#include "base/string.h"
#includ... | 8,748 | C++ | .cpp | 240 | 30.95 | 139 | 0.579575 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,861 | ui_class.cpp | LibreSprite_LibreSprite/src/gen/ui_class.cpp | // Aseprite Code Generator
// Copyright (c) 2014, 2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#include "gen/ui_class.h"
#include "base/exception.h"
#include "base/file_handle.h"
#include "base/path.h"
#include "base/string.h"
#include "g... | 5,445 | C++ | .cpp | 152 | 31.973684 | 108 | 0.600304 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,862 | gen.cpp | LibreSprite_LibreSprite/src/gen/gen.cpp | // Aseprite Code Generator
// Copyright (c) 2014-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#include "base/file_handle.h"
#include "base/path.h"
#include "base/program_options.h"
#include "base/string.h"
#include "gen/pref_types.h"
#incl... | 1,962 | C++ | .cpp | 61 | 28.934426 | 97 | 0.677232 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,863 | skin_class.cpp | LibreSprite_LibreSprite/src/gen/skin_class.cpp | // Aseprite Code Generator
// Copyright (c) 2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#include "gen/skin_class.h"
#include "base/string.h"
#include "gen/common.h"
#include <iostream>
#include <vector>
void gen_skin_class(tinyxml2::XM... | 5,981 | C++ | .cpp | 195 | 26.179487 | 92 | 0.539075 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,864 | main.cpp | LibreSprite_LibreSprite/src/main/main.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/app.h"
#incl... | 2,372 | C++ | .cpp | 91 | 23.604396 | 78 | 0.698147 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,865 | http_request.cpp | LibreSprite_LibreSprite/src/net/http_request.cpp | // Aseprite Network Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "net/http_request.h"
#include "base/debug.h"
#include "net/http_response.h"
#if __ha... | 3,122 | C++ | .cpp | 103 | 26.76699 | 104 | 0.697628 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,866 | http_request_wasm.cpp | LibreSprite_LibreSprite/src/net/http_request_wasm.cpp | // LibreSprite
// Copyright (c) 2024 LibreSprite Contributors
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#if defined(__EMSCRIPTEN__)
#include "net/http_request.h"
#include "base/debug.h"
#include "net/http_... | 3,727 | C++ | .cpp | 138 | 22.956522 | 108 | 0.639349 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,867 | http_request_null.cpp | LibreSprite_LibreSprite/src/net/http_request_null.cpp | // LibreSprite
// Copyright (c) 2024 LibreSprite Contributors
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "net/http_request.h"
#include "base/debug.h"
#include "net/http_response.h"
#if !__has_incl... | 709 | C++ | .cpp | 22 | 30.636364 | 62 | 0.765579 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,868 | http_response.cpp | LibreSprite_LibreSprite/src/net/http_response.cpp | // Aseprite Network Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "net/http_response.h"
#include <ostream>
namespace net {
void HttpResponse::write(c... | 414 | C++ | .cpp | 16 | 24.375 | 62 | 0.755102 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,869 | aseprite_thumb_creator.cpp | LibreSprite_LibreSprite/desktop/kde/aseprite_thumb_creator.cpp | // Aseprite Desktop Integration Module
// Copyright (C) 2016 Gabriel Rauter
//
// Licensed under the the MIT License (https://opensource.org/licenses/MIT).
#include "aseprite_thumb_creator.h"
#include <QImage>
#include <QProcess>
#include <QStringList>
#include <QFile>
#include <QCryptographicHash>
#include <cstdio>... | 954 | C++ | .cpp | 34 | 26.029412 | 106 | 0.765027 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,870 | easytab.h | LibreSprite_LibreSprite/third_party/EasyTab/easytab.h | /*
EasyTab.h - Single-header multi-platform tablet library
https://github.com/ApoorvaJ/EasyTab
----------------------------------------------------------------------------
USAGE
----------------------------------------------------------------------------
1) Add the following lines in exactly on... | 30,717 | C++ | .h | 791 | 30.694058 | 140 | 0.515704 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | true | false | false | false | false | false | false |
42,871 | qoi.h | LibreSprite_LibreSprite/third_party/qoi/qoi.h | /*
QOI - The "Quite OK Image" format for fast, lossless image compression
Dominic Szablewski - https://phoboslab.org
-- LICENSE: The MIT License(MIT)
Copyright(c) 2021 Dominic Szablewski
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation file... | 19,322 | C++ | .h | 523 | 34.493308 | 80 | 0.637124 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,872 | obs.h | LibreSprite_LibreSprite/third_party/observable/obs.h | // Observable Library
// Copyright (c) 2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifndef OBS_H_INCLUDED
#define OBS_H_INCLUDED
#pragma once
#include "obs/observable.h"
#include "obs/observers.h"
#include "obs/signal.h"
#include "obs/sl... | 334 | C++ | .h | 13 | 24.461538 | 60 | 0.77044 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,880 | modp_b64.h | LibreSprite_LibreSprite/third_party/modp_b64/modp_b64.h | /**
* High performance base64 encoder / decoder
* Version 1.3 -- 17-Mar-2006
*
* Copyright (C) 2005, 2006, Nick Galbreath -- nickg [at] modp [dot] com
* All rights reserved.
*
* http://modp.com/release/base64
*
* Released under bsd license. See modp_b64.c for details.
*/
#ifndef MODP_B64
#define MODP_B64
#... | 3,298 | C++ | .h | 115 | 26.773913 | 72 | 0.663304 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,882 | config.h | LibreSprite_LibreSprite/src/config.h | // Aseprite | Copyright (C) 2001-2016 David Capello
// LibreSprite | Copyright (C) 2018-2021 LibreSprite contributors
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef... | 1,191 | C++ | .h | 30 | 38.066667 | 107 | 0.7487 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,883 | style.h | LibreSprite_LibreSprite/src/css/style.h | // Aseprite CSS Library
// Copyright (C) 2013 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include <map>
#include <string>
#include "css/map.h"
#include "css/rule.h"
#include "css/value.h"
namespace css {
class Style {
pub... | 1,142 | C++ | .h | 37 | 27.081081 | 61 | 0.671245 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,884 | query.h | LibreSprite_LibreSprite/src/css/query.h | // Aseprite CSS Library
// Copyright (C) 2013 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "css/rule.h"
#include "css/style.h"
#include "css/value.h"
#include <map>
namespace css {
class Query {
public:
Query()... | 830 | C++ | .h | 30 | 23.733333 | 71 | 0.677215 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,885 | value.h | LibreSprite_LibreSprite/src/css/value.h | // Aseprite CSS Library
// Copyright (C) 2013 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "css/map.h"
#include <string>
namespace css {
class Value {
public:
enum Type {
None,
Number,
String
... | 978 | C++ | .h | 37 | 22.216216 | 63 | 0.662716 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,886 | stateful_style.h | LibreSprite_LibreSprite/src/css/stateful_style.h | // Aseprite CSS Library
// Copyright (C) 2013 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "css/rule.h"
#include "css/state.h"
#include "css/style.h"
#include "css/value.h"
namespace css {
class StatefulStyle {
publ... | 1,722 | C++ | .h | 58 | 25.344828 | 89 | 0.684625 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,887 | state.h | LibreSprite_LibreSprite/src/css/state.h | // Aseprite CSS Library
// Copyright (C) 2013 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include <string>
#include <vector>
namespace css {
class State {
public:
State() { }
State(const std::string& name) : m_name... | 1,811 | C++ | .h | 58 | 26.724138 | 79 | 0.650748 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,888 | css.h | LibreSprite_LibreSprite/src/css/css.h | // Aseprite CSS Library
// Copyright (C) 2013 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "css/compound_style.h"
#include "css/query.h"
#include "css/rule.h"
#include "css/sheet.h"
#include "css/state.h"
#include "css/st... | 382 | C++ | .h | 14 | 26.142857 | 60 | 0.751366 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,889 | rule.h | LibreSprite_LibreSprite/src/css/rule.h | // Aseprite CSS Library
// Copyright (C) 2013 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "css/map.h"
#include <map>
#include <string>
namespace css {
class Rule {
public:
Rule() { }
Rule(const std::string... | 475 | C++ | .h | 20 | 21 | 60 | 0.690583 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,890 | sheet.h | LibreSprite_LibreSprite/src/css/sheet.h | // Aseprite CSS Library
// Copyright (C) 2013 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "css/rule.h"
#include "css/style.h"
#include "css/value.h"
#include <map>
#include <string>
namespace css {
class CompoundSty... | 703 | C++ | .h | 28 | 22.071429 | 60 | 0.724398 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,891 | compound_style.h | LibreSprite_LibreSprite/src/css/compound_style.h | // Aseprite CSS Library
// Copyright (C) 2013 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "css/query.h"
#include "css/rule.h"
#include "css/state.h"
#include "css/stateful_style.h"
namespace css {
class Sheet;
cla... | 772 | C++ | .h | 28 | 24.25 | 60 | 0.710778 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,892 | map.h | LibreSprite_LibreSprite/src/css/map.h | // Aseprite CSS Library
// Copyright (C) 2013 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include <map>
#include <string>
namespace css {
template<typename T>
class Map {
public:
typedef std::map<std::string, T> map;... | 1,306 | C++ | .h | 45 | 24.133333 | 60 | 0.620192 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,893 | script_object.h | LibreSprite_LibreSprite/src/script/script_object.h | // LibreSprite Scripting Library
// Copyright (c) 2021 LibreSprite contributors
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "base/injection.h"
#include "base/with_handle.h"
#include "function.h"
#include <exception>
namespace script ... | 5,819 | C++ | .h | 164 | 29.756098 | 158 | 0.644765 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,894 | engine.h | LibreSprite_LibreSprite/src/script/engine.h | // Aseprite Scripting Library
// Copyright (c) 2015-2016 David Capello
// Copyright (c) 2021 LibreSprite contributors
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "base/with_handle.h"
#include "script/script_object.h"
#include "script/... | 3,757 | C++ | .h | 107 | 28.803738 | 121 | 0.629884 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,895 | engine_delegate.h | LibreSprite_LibreSprite/src/script/engine_delegate.h | // Aseprite Scripting Library
// Copyright (c) 2015-2016 David Capello
// Copyright (c) 2021 LibreSprite contributors
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "base/injection.h"
namespace script {
class EngineDelegate : public ... | 456 | C++ | .h | 15 | 28.133333 | 60 | 0.756881 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,896 | function.h | LibreSprite_LibreSprite/src/script/function.h | // LibreSprite Scripting Library
// Copyright (c) 2021 LibreSprite contributors
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
/*
The script::Function exists to make it easy for scripting engines to call native code.
It does this by providing a way to call an... | 4,764 | C++ | .h | 116 | 35.387931 | 126 | 0.64507 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
42,897 | value.h | LibreSprite_LibreSprite/src/script/value.h | // LibreSprite Scripting Library
// Copyright (c) 2021 LibreSprite contributors
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include <memory>
#include <string>
namespace script {
class ScriptObject;
class Value {
public:
enum class... | 7,389 | C++ | .h | 256 | 21.980469 | 96 | 0.552999 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
42,901 | clip.h | LibreSprite_LibreSprite/src/gfx/clip.h | // Aseprite Gfx Library
// Copyright (c) 2001-2014 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "gfx/point.h"
#include "gfx/rect.h"
#include "gfx/size.h"
namespace gfx {
class Clip {
public:
Point dst;
Point... | 1,644 | C++ | .h | 65 | 19.861538 | 66 | 0.568138 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,904 | rect_io.h | LibreSprite_LibreSprite/src/gfx/rect_io.h | // Aseprite Gfx Library
// Copyright (C) 2001-2014 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "gfx/rect.h"
#include <iosfwd>
namespace gfx {
inline std::ostream& operator<<(std::ostream& os, const Rect& rect)
{
... | 474 | C++ | .h | 18 | 21.388889 | 69 | 0.560976 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,910 | scoped_handle.h | LibreSprite_LibreSprite/src/she/scoped_handle.h | // SHE library
// Copyright (C) 2012-2013 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
namespace she {
template<typename T>
class ScopedHandle {
public:
ScopedHandle(T* handle) : m_handle(handle) { }
~ScopedHandle(... | 622 | C++ | .h | 24 | 22.166667 | 60 | 0.665541 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,912 | system.h | LibreSprite_LibreSprite/src/she/system.h | // SHE library
// Copyright (C) 2012-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "gfx/fwd.h"
#include "she/capabilities.h"
#include <cstddef>
#include <cstdint>
#include <functional>
#include <stdexcept>
#include ... | 2,017 | C++ | .h | 56 | 32.392857 | 79 | 0.711578 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,914 | pointer_type.h | LibreSprite_LibreSprite/src/she/pointer_type.h | // SHE library
// Copyright (C) 2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
namespace she {
// Source of a mouse like event
enum class PointerType {
Unknown,
Mouse, // A regular mouse
M... | 563 | C++ | .h | 17 | 30.117647 | 62 | 0.571956 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,915 | error.h | LibreSprite_LibreSprite/src/she/error.h | // SHE library
// Copyright (C) 2012-2014 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
namespace she {
void error_message(const char* msg);
} // namespace she
| 254 | C++ | .h | 9 | 26.555556 | 60 | 0.746888 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,916 | font.h | LibreSprite_LibreSprite/src/she/font.h | // SHE library
// Copyright (C) 2012-2016 David Capello
// Copyright (C) 2021 LibreSprite contributors
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include <string>
#include "gfx/rect.h"
namespace she {
enum class FontType {
kUn... | 802 | C++ | .h | 28 | 25.357143 | 61 | 0.691406 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,917 | capabilities.h | LibreSprite_LibreSprite/src/she/capabilities.h | // SHE library
// Copyright (C) 2012-2013, 2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
namespace she {
enum class Capabilities {
MultipleDisplays = 1,
CanResizeDisplay = 2,
DisplayScale = 4,
GpuAccelerati... | 359 | C++ | .h | 14 | 22.928571 | 60 | 0.721408 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,920 | display.h | LibreSprite_LibreSprite/src/she/display.h | // SHE library
// Copyright (C) 2012-2016 David Capello
// Copyright (C) 2021 LibreSprite contributors
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "gfx/point.h"
#include "she/native_cursor.h"
#include <string>
namespace she {... | 2,318 | C++ | .h | 59 | 34.949153 | 75 | 0.683929 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,925 | she.h | LibreSprite_LibreSprite/src/she/she.h | // SHE library
// Copyright (C) 2012-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "she/display.h"
#include "she/error.h"
#include "she/event.h"
#include "she/event_queue.h"
#include "she/font.h"
#include "she/scoped... | 380 | C++ | .h | 14 | 26 | 60 | 0.747253 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,926 | sdl2_display.h | LibreSprite_LibreSprite/src/she/sdl2/sdl2_display.h | // SHE library
// Copyright (C) 2021 LibreSprite contributors
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "she/display.h"
#if (defined(_WIN32) || defined(__linux__)) && !defined(ANDROID)
#include <EasyTab/easytab.h>
#undef None
#endi... | 2,384 | C++ | .h | 70 | 27.428571 | 67 | 0.667536 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,927 | sdl2_surface.h | LibreSprite_LibreSprite/src/she/sdl2/sdl2_surface.h | // SHE library
// Copyright (C) 2021 LibreSprite contributors
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifndef SHE_SDL2_SURFACE_H
#define SHE_SDL2_SURFACE_H
#pragma once
#include "she/surface.h"
#include "she/common/generic_surface.h"
#include "she/sdl2... | 2,563 | C++ | .h | 63 | 36.444444 | 109 | 0.723071 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,930 | generate_drop_files.h | LibreSprite_LibreSprite/src/she/osx/generate_drop_files.h | // SHE library
// Copyright (C) 2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "base/path.h"
inline void generate_drop_files_from_nsarray(NSArray* filenames)
{
std::vector<std::string> files;
for (int i=0; i<[fil... | 558 | C++ | .h | 19 | 27 | 64 | 0.714019 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,931 | event_queue.h | LibreSprite_LibreSprite/src/she/osx/event_queue.h | // SHE library
// Copyright (C) 2015-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "base/concurrent_queue.h"
#include "she/event.h"
#include "she/event_queue.h"
namespace she {
class OSXEventQueue : public EventQue... | 543 | C++ | .h | 19 | 26.894737 | 60 | 0.773694 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,932 | window_delegate.h | LibreSprite_LibreSprite/src/she/osx/window_delegate.h | // SHE library
// Copyright (C) 2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
class OSXWindowImpl;
@interface OSXWindowDelegate : NSObject {
@private
OSXWindowImpl* m_impl;
}
@end
@implementation OSXWindowDelegate
- (OSXWindowDelegate... | 791 | C++ | .h | 36 | 20.222222 | 61 | 0.757373 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,933 | view.h | LibreSprite_LibreSprite/src/she/osx/view.h | // SHE library
// Copyright (C) 2015-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "she/pointer_type.h"
#include <Cocoa/Cocoa.h>
@interface OSXView : NSView {
@private
NSTrackingArea* m_trackingArea;
NSCursor* ... | 1,666 | C++ | .h | 50 | 32.08 | 62 | 0.772953 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,934 | window.h | LibreSprite_LibreSprite/src/she/osx/window.h | // SHE library
// Copyright (C) 2012-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include <Cocoa/Cocoa.h>
#include "gfx/point.h"
#include "gfx/rect.h"
#include "gfx/size.h"
#include "she/keys.h"
#include "she/native_cursor... | 1,172 | C++ | .h | 42 | 24.833333 | 60 | 0.711487 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,935 | app_delegate.h | LibreSprite_LibreSprite/src/she/osx/app_delegate.h | // SHE library
// Copyright (C) 2012-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include <Cocoa/Cocoa.h>
@interface OSXAppDelegate : NSObject<NSApplicationDelegate>
- (NSApplicationTerminateReply)applicationShouldTerminat... | 696 | C++ | .h | 15 | 45.2 | 81 | 0.830383 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.