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,936 | native_dialogs.h | LibreSprite_LibreSprite/src/she/gtk/native_dialogs.h | // GTK Component of SHE library
// Copyright (C) 2016 Gabriel Rauter
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
//disable EMPTY_STRING macro already set in allegro, enabling it at the end of file
#pragma push_macro("EMPTY_STRING")
#undef EMPTY_STRING
#pra... | 683 | C++ | .h | 22 | 28.818182 | 83 | 0.759939 | 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,937 | system.h | LibreSprite_LibreSprite/src/she/common/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
#ifdef _WIN32
#include "she/win/native_dialogs.h"
#elif defined(__APPLE__)
#include "she/osx/native_dialogs.h"
#elif defined(ASEPRITE_WITH... | 1,774 | C++ | .h | 66 | 23.863636 | 74 | 0.719764 | 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,938 | sprite_sheet_font.h | LibreSprite_LibreSprite/src/she/common/sprite_sheet_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 "base/debug.h"
#include "base/string.h"
#include "gfx/rect.h"
#include "she/font... | 2,700 | C++ | .h | 104 | 21.432692 | 79 | 0.622127 | 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,939 | generic_surface.h | LibreSprite_LibreSprite/src/she/common/generic_surface.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/clip.h"
#include "she/common/freetype_font.h"
#include "she/common/sprite_sheet_font.h"
namespace she {
namespace {
#define M... | 6,902 | C++ | .h | 191 | 25.21466 | 117 | 0.491452 | 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,940 | freetype_font.h | LibreSprite_LibreSprite/src/she/common/freetype_font.h | // SHE library
// Copyright (C) 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 "ft/face.h"
#include "ft/lib.h"
#include "she/font.h"
namespace she {
class Font;
cl... | 982 | C++ | .h | 31 | 28.322581 | 67 | 0.721868 | 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,942 | native_dialogs.h | LibreSprite_LibreSprite/src/she/win/native_dialogs.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.
#pragma once
#include "she/native_dialogs.h"
namespace she {
class NativeDialogsWin32 : public NativeDialogs {
public:
NativeDialogsWin32();
FileD... | 381 | C++ | .h | 14 | 24.857143 | 60 | 0.751381 | 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,943 | system.h | LibreSprite_LibreSprite/src/she/win/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 "she/common/system.h"
#include "she/win/pen.h"
namespace she {
class WindowSystem : public CommonSystem {
public:
WindowSystem() ... | 445 | C++ | .h | 20 | 20.2 | 60 | 0.722488 | 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,944 | event_queue.h | LibreSprite_LibreSprite/src/she/win/event_queue.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 <queue>
#include <windows.h>
#include "she/event.h"
#include "she/event_queue.h"
namespace she {
class WinEventQueue : public Eve... | 1,110 | C++ | .h | 47 | 19 | 60 | 0.619638 | 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,945 | pen.h | LibreSprite_LibreSprite/src/she/win/pen.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/dll.h"
#include <windows.h>
#include "wacom/wintab.h"
#define PACKETDATA (PK_CURSOR | PK_BUTTONS | PK_X | PK_Y | PK_NORMAL_PRESSUR... | 760 | C++ | .h | 27 | 25.296296 | 84 | 0.710927 | 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,946 | window.h | LibreSprite_LibreSprite/src/she/win/window.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 <windows.h>
#include <windowsx.h>
#include <commctrl.h>
#include <shellapi.h>
#include <sstream>
#include "base/base.h"
#include "gf... | 22,529 | C++ | .h | 658 | 24.159574 | 138 | 0.546286 | 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,947 | color_curve_filter.h | LibreSprite_LibreSprite/src/filters/color_curve_filter.h | // 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.
#pragma once
#include <vector>
#include "filters/filter.h"
namespace fil... | 824 | C++ | .h | 27 | 27.222222 | 71 | 0.7446 | 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,948 | invert_color_filter.h | LibreSprite_LibreSprite/src/filters/invert_color_filter.h | // 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.
#pragma once
#include "filters/filter.h"
namespace filters {
class Inv... | 600 | C++ | .h | 18 | 30.611111 | 71 | 0.764298 | 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,949 | convolution_matrix.h | LibreSprite_LibreSprite/src/filters/convolution_matrix.h | // 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.
#pragma once
#include "filters/target.h"
#include <vector>
#include <stri... | 2,358 | C++ | .h | 55 | 38.727273 | 99 | 0.650524 | 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,950 | filter_indexed_data.h | LibreSprite_LibreSprite/src/filters/filter_indexed_data.h | // 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.
#pragma once
namespace doc {
class Palette;
class RgbMap;
}
namespace... | 618 | C++ | .h | 21 | 26.952381 | 71 | 0.734797 | 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,951 | filter.h | LibreSprite_LibreSprite/src/filters/filter.h | // 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.
#pragma once
namespace filters {
class FilterManager;
// Interface w... | 1,292 | C++ | .h | 31 | 37.903226 | 71 | 0.728217 | 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,952 | replace_color_filter.h | LibreSprite_LibreSprite/src/filters/replace_color_filter.h | // 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.
#pragma once
#include "filters/filter.h"
namespace filters {
class Rep... | 918 | C++ | .h | 29 | 28 | 71 | 0.725 | 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,953 | target.h | LibreSprite_LibreSprite/src/filters/target.h | // 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.
#pragma once
#define TARGET_RED_CHANNEL 1
#define TARGET_GREE... | 913 | C++ | .h | 24 | 36.125 | 71 | 0.617214 | 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,954 | filter_manager.h | LibreSprite_LibreSprite/src/filters/filter_manager.h | // 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.
#pragma once
#include "filters/target.h"
namespace doc {
class Image;
}... | 2,433 | C++ | .h | 55 | 40.145455 | 76 | 0.696186 | 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,955 | median_filter.h | LibreSprite_LibreSprite/src/filters/median_filter.h | // 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.
#pragma once
#include "base/ints.h"
#include "filters/filter.h"
#include "... | 1,067 | C++ | .h | 33 | 28.848485 | 71 | 0.729492 | 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,956 | convolution_matrix_filter.h | LibreSprite_LibreSprite/src/filters/convolution_matrix_filter.h | // 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.
#pragma once
#include <vector>
#include "base/ints.h"
#include "base/shar... | 1,139 | C++ | .h | 32 | 32.3125 | 71 | 0.759124 | 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,957 | color_curve.h | LibreSprite_LibreSprite/src/filters/color_curve.h | // 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.
#pragma once
#include <vector>
#include "gfx/point.h"
namespace filters ... | 1,067 | C++ | .h | 32 | 29.40625 | 71 | 0.681685 | 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,958 | tiled_mode.h | LibreSprite_LibreSprite/src/filters/tiled_mode.h | // 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.
#pragma once
namespace filters {
enum class TiledMode {
NONE = 0... | 402 | C++ | .h | 15 | 24.2 | 71 | 0.691906 | 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,959 | neighboring_pixels.h | LibreSprite_LibreSprite/src/filters/neighboring_pixels.h | // 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.
#pragma once
#include "filters/tiled_mode.h"
#include "doc/image.h"
#inclu... | 3,006 | C++ | .h | 89 | 25.483146 | 105 | 0.56022 | 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,960 | fixmath.h | LibreSprite_LibreSprite/src/fixmath/fixmath.h | /*
* Fixed point type.
* Based on Allegro library by Shawn Hargreaves.
*/
#pragma once
#include "base/ints.h"
#include <cerrno>
namespace fixmath {
typedef int32_t fixed;
extern const fixed fixtorad_r;
extern const fixed radtofix_r;
extern fixed _cos_tbl[];
extern fixed _tan_tbl[];
extern fixed _ac... | 2,951 | C++ | .h | 126 | 18.285714 | 74 | 0.554204 | 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,961 | cfg.h | LibreSprite_LibreSprite/src/cfg/cfg.h | // Aseprite Config Library
// Copyright (c) 2014 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include <string>
namespace cfg {
class CfgFile {
public:
CfgFile();
~CfgFile();
const std::string& filename() const;... | 1,176 | C++ | .h | 29 | 36.689655 | 96 | 0.729754 | 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,962 | test.h | LibreSprite_LibreSprite/src/tests/test.h | // 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.
#pragma once
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <gt... | 1,052 | C++ | .h | 42 | 21.809524 | 79 | 0.69 | 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,963 | textbox.h | LibreSprite_LibreSprite/src/ui/textbox.h | // Aseprite UI Library
// Copyright (C) 2001-2013 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "ui/widget.h"
namespace ui {
class TextBox : public Widget {
public:
TextBox(const std::string& text, int align);
... | 567 | C++ | .h | 20 | 25.3 | 60 | 0.72963 | 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,964 | label.h | LibreSprite_LibreSprite/src/ui/label.h | // Aseprite UI Library
// Copyright (C) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "gfx/color.h"
#include "ui/widget.h"
namespace ui {
class Label : public Widget {
public:
Label(const std::string& ... | 457 | C++ | .h | 17 | 24.352941 | 60 | 0.730415 | 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,965 | combobox.h | LibreSprite_LibreSprite/src/ui/combobox.h | // Aseprite UI 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.
#pragma once
#include "base/signal.h"
#include "ui/widget.h"
#include <string>
#include <vector>
namespace ui {
class Button;
class En... | 2,790 | C++ | .h | 84 | 28.738095 | 61 | 0.718073 | 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,966 | cursor.h | LibreSprite_LibreSprite/src/ui/cursor.h | // Aseprite UI Library
// Copyright (C) 2001-2013 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"
namespace she { class Surface; }
namespace ui {
class Cursor {
public:
// The surface is disposed in... | 607 | C++ | .h | 21 | 25.809524 | 60 | 0.692042 | 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,967 | image_view.h | LibreSprite_LibreSprite/src/ui/image_view.h | // LibreSprite UI Library
// Copyright (C) 2001-2016 David Capello
// Copyright (C) 2024 LibreSprite contributors
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "ui/widget.h"
namespace she {
class Surface;
}
namespace ui {
class... | 896 | C++ | .h | 31 | 25.290323 | 87 | 0.699063 | 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,968 | alert.h | LibreSprite_LibreSprite/src/ui/alert.h | // Aseprite UI 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.
#pragma once
#include "base/shared_ptr.h"
#include "ui/window.h"
namespace ui {
class Box;
class Slider;
class Alert;
typedef base... | 758 | C++ | .h | 26 | 25.884615 | 95 | 0.710125 | 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,969 | cursor_type.h | LibreSprite_LibreSprite/src/ui/cursor_type.h | // Aseprite UI Library
// Copyright (C) 2001-2013 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
namespace ui {
enum CursorType {
kOutsideDisplay = -1,
kFirstCursorType = 0,
kNoCursor = 0,
kArrowCursor,
kArr... | 891 | C++ | .h | 41 | 17.365854 | 60 | 0.727381 | 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,970 | button.h | LibreSprite_LibreSprite/src/ui/button.h | // Aseprite UI 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.
#pragma once
#include "base/signal.h"
#include "ui/widget.h"
#include <vector>
namespace she {
class Surface;
}
namespace ui {
class ... | 2,424 | C++ | .h | 80 | 25.875 | 93 | 0.706339 | 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,971 | accelerator.h | LibreSprite_LibreSprite/src/ui/accelerator.h | // Aseprite UI Library
// Copyright (C) 2001-2016 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>
#include "ui/keys.h"
namespace ui {
extern const char* kWinKeyName;
class Accelerator {
... | 2,322 | C++ | .h | 64 | 31.8125 | 88 | 0.695886 | 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,972 | system.h | LibreSprite_LibreSprite/src/ui/system.h | // Aseprite UI Library
// Copyright (C) 2001-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 "ui/base.h"
#include "ui/cursor_type.h"
#include "ui/mouse_buttons.h"
namespace she { class Display; }
... | 1,169 | C++ | .h | 37 | 28.810811 | 70 | 0.735242 | 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,973 | widgets_list.h | LibreSprite_LibreSprite/src/ui/widgets_list.h | // Aseprite UI 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.
#pragma once
#include <vector>
#define UI_FOREACH_WIDGET_BACKWARD(list_name, iterator_name) \
for (WidgetsList::const_reverse_iterator ... | 1,167 | C++ | .h | 25 | 42.4 | 73 | 0.513228 | 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,974 | intern.h | LibreSprite_LibreSprite/src/ui/intern.h | // Aseprite UI 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.
#pragma once
#include "gfx/color.h"
#include "ui/base.h"
namespace she {
class Font;
}
namespace ui {
class Graphics;
class Widget;
... | 748 | C++ | .h | 28 | 23.035714 | 65 | 0.701133 | 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,975 | ui.h | LibreSprite_LibreSprite/src/ui/ui.h | // Aseprite UI Library
// Copyright (C) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "ui/accelerator.h"
#include "ui/alert.h"
#include "ui/base.h"
#include "ui/box.h"
#include "ui/button.h"
#include "ui/combobo... | 1,631 | C++ | .h | 62 | 25.274194 | 60 | 0.740268 | 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,976 | paint_event.h | LibreSprite_LibreSprite/src/ui/paint_event.h | // Aseprite UI 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.
#pragma once
#include "ui/event.h"
namespace ui {
class Graphics;
class Widget;
class PaintEvent : public Event {
public:
Pain... | 529 | C++ | .h | 21 | 22.047619 | 60 | 0.715431 | 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,977 | size_hint_event.h | LibreSprite_LibreSprite/src/ui/size_hint_event.h | // Aseprite UI 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.
#pragma once
#include "gfx/size.h"
#include "ui/event.h"
namespace ui {
class Widget;
class SizeHintEvent : public Event {
public:
... | 696 | C++ | .h | 25 | 24.48 | 60 | 0.702417 | 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,978 | listbox.h | LibreSprite_LibreSprite/src/ui/listbox.h | // Aseprite UI Library
// Copyright (C) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "base/signal.h"
#include "ui/widget.h"
namespace ui {
class ListItem;
class ListBox : public Widget {
public:
Li... | 987 | C++ | .h | 32 | 27.03125 | 60 | 0.730647 | 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,979 | grid.h | LibreSprite_LibreSprite/src/ui/grid.h | // Aseprite UI Library
// Copyright (C) 2001-2013 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "ui/widget.h"
#include <vector>
namespace ui {
class Grid : public Widget {
public:
struct Info {
int col, r... | 2,085 | C++ | .h | 64 | 26.0625 | 92 | 0.63129 | 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,980 | keys.h | LibreSprite_LibreSprite/src/ui/keys.h | // Aseprite UI Library
// Copyright (C) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "she/keys.h"
namespace ui {
typedef she::KeyModifiers KeyModifiers;
typedef she::KeyScancode KeyScancode;
using she:... | 3,598 | C++ | .h | 148 | 21.364865 | 60 | 0.740116 | 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,981 | graphics.h | LibreSprite_LibreSprite/src/ui/graphics.h | // Aseprite UI Library
// Copyright (C) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "base/disable_copying.h"
#include "base/shared_ptr.h"
#include "gfx/color.h"
#include "gfx/point.h"
#include "gfx/rect.h"
#in... | 4,899 | C++ | .h | 140 | 30.478571 | 131 | 0.656707 | 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,982 | pointer_type.h | LibreSprite_LibreSprite/src/ui/pointer_type.h | // Aseprite UI 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 "she/pointer_type.h"
namespace ui {
typedef she::PointerType PointerType;
} // namespace ui
| 287 | C++ | .h | 10 | 27 | 60 | 0.761029 | 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,983 | mouse_buttons.h | LibreSprite_LibreSprite/src/ui/mouse_buttons.h | // Aseprite UI Library
// Copyright (C) 2001-2013 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
namespace ui {
enum MouseButtons {
kButtonNone = 0,
kButtonLeft = 1,
kButtonRight = 2,
kButtonMiddle = 4
};
} //... | 334 | C++ | .h | 14 | 21.142857 | 60 | 0.708861 | 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,984 | tooltips.h | LibreSprite_LibreSprite/src/ui/tooltips.h | // Aseprite UI 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.
#pragma once
#include "ui/base.h"
#include "ui/popup_window.h"
#include "ui/timer.h"
#include "ui/window.h"
#include <map>
namespace ui {
... | 1,900 | C++ | .h | 60 | 27.283333 | 84 | 0.680945 | 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,985 | message_type.h | LibreSprite_LibreSprite/src/ui/message_type.h | // Aseprite UI Library
// Copyright (C) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
namespace ui {
// Message types.
enum MessageType {
// General messages.
kOpenMessage, // Windows is open.
kClose... | 2,958 | C++ | .h | 71 | 37.098592 | 76 | 0.71508 | 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,986 | popup_window.h | LibreSprite_LibreSprite/src/ui/popup_window.h | // Aseprite UI 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.
#pragma once
#include "ui/window.h"
namespace ui {
class PopupWindow : public Window {
public:
enum class ClickBehavior {
DoN... | 1,540 | C++ | .h | 45 | 29.222222 | 90 | 0.730951 | 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,988 | scroll_region_event.h | LibreSprite_LibreSprite/src/ui/scroll_region_event.h | // Aseprite | Copyright (C) 2015 David Capello
// LibreSprite | 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/region.h"
#include "ui/event.h"
namespace ui {
class ScrollRegionEve... | 568 | C++ | .h | 19 | 26.947368 | 61 | 0.704797 | 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,989 | overlay.h | LibreSprite_LibreSprite/src/ui/overlay.h | // Aseprite UI Library
// Copyright (C) 2001-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 "gfx/point.h"
#include "ui/base.h"
namespace she {
class Surface;
}
namespace ui {
class Overlay ... | 1,125 | C++ | .h | 37 | 26.648649 | 84 | 0.703911 | 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,990 | base.h | LibreSprite_LibreSprite/src/ui/base.h | // Aseprite UI Library
// Copyright (C) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
// Get the system's definition of NULL
#include <stddef.h>
#undef MIN
#undef MAX
#undef MID
#define MIN(x,y) (((x) < (y)) ? (x) ... | 2,326 | C++ | .h | 51 | 42.098039 | 122 | 0.613687 | 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,991 | init_theme_event.h | LibreSprite_LibreSprite/src/ui/init_theme_event.h | // Aseprite | Copyright (C) 2001-2013, 2015 David Capello
// LibreSprite | 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 "ui/event.h"
namespace ui {
class Theme;
class InitThemeEve... | 549 | C++ | .h | 19 | 25.684211 | 61 | 0.697318 | 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,992 | custom_label.h | LibreSprite_LibreSprite/src/ui/custom_label.h | // Aseprite UI Library
// Copyright (C) 2001-2013 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "ui/label.h"
namespace ui {
class CustomLabel : public Label
{
public:
CustomLabel(const std::string& text);
p... | 405 | C++ | .h | 16 | 22.75 | 60 | 0.735602 | 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,993 | box.h | LibreSprite_LibreSprite/src/ui/box.h | // Aseprite UI 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.
#pragma once
#include "ui/widget.h"
namespace ui {
class Box : public Widget
{
public:
Box(int align);
protected:
// Event... | 764 | C++ | .h | 36 | 17.861111 | 60 | 0.668985 | 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,994 | scroll_helper.h | LibreSprite_LibreSprite/src/ui/scroll_helper.h | // Aseprite UI 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.
#pragma once
#include "gfx/rect.h"
#include "gfx/size.h"
namespace ui {
class ScrollBar;
void setup_scrollbars(const gfx::Size& scroll... | 521 | C++ | .h | 16 | 24.9375 | 60 | 0.61523 | 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,995 | theme.h | LibreSprite_LibreSprite/src/ui/theme.h | // Aseprite UI 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.
#pragma once
#include "ui/base.h"
#include "ui/cursor_type.h"
#include <memory>
namespace gfx {
class Region;
}
namespace she {
class F... | 2,735 | C++ | .h | 75 | 32.52 | 85 | 0.71434 | 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,996 | message.h | LibreSprite_LibreSprite/src/ui/message.h | // Aseprite UI Library
// Copyright (C) 2001-2016 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 "ui/base.h"
#include "ui/keys.h"
#include "ui/message_type.h"
#include "ui/mouse... | 6,212 | C++ | .h | 156 | 34.025641 | 96 | 0.665007 | 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,997 | layout_io.h | LibreSprite_LibreSprite/src/ui/layout_io.h | // Aseprite UI Library
// Copyright (C) 2001-2013 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include <string>
namespace ui {
class Widget;
class LayoutIO
{
public:
virtual ~LayoutIO() { }
virtual std::string... | 450 | C++ | .h | 17 | 23.823529 | 72 | 0.714286 | 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,998 | property.h | LibreSprite_LibreSprite/src/ui/property.h | // Aseprite UI 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.
#pragma once
#include "base/disable_copying.h"
#include "base/shared_ptr.h"
#include <string>
namespace ui {
class Property {
public:
... | 560 | C++ | .h | 21 | 23.761905 | 60 | 0.725898 | 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,999 | entry.h | LibreSprite_LibreSprite/src/ui/entry.h | // Aseprite UI 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.
#pragma once
#include "base/signal.h"
#include "ui/timer.h"
#include "ui/widget.h"
namespace ui {
class MouseMessage;
class Entry : pu... | 2,502 | C++ | .h | 86 | 23.906977 | 67 | 0.674031 | 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 |
43,000 | overlay_manager.h | LibreSprite_LibreSprite/src/ui/overlay_manager.h | // Aseprite UI 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.
#pragma once
#include "ui/base.h"
#include <vector>
namespace she { class Surface; }
namespace ui {
class Overlay;
class OverlayManag... | 1,014 | C++ | .h | 32 | 27.90625 | 81 | 0.724922 | 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 |
43,001 | message_loop.h | LibreSprite_LibreSprite/src/ui/message_loop.h | // Aseprite UI Library
// Copyright (C) 2001-2013 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
namespace ui {
class Manager;
class MessageLoop
{
public:
MessageLoop(Manager* manager);
void pumpMessages();
pr... | 375 | C++ | .h | 17 | 19.235294 | 60 | 0.723647 | 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 |
43,002 | slider.h | LibreSprite_LibreSprite/src/ui/slider.h | // Aseprite UI 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.
#pragma once
#include "base/signal.h"
#include "ui/widget.h"
namespace ui {
class SliderDelegate {
public:
virtual ~SliderDelegate(... | 1,591 | C++ | .h | 48 | 28.979167 | 76 | 0.70334 | 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 |
43,003 | resize_event.h | LibreSprite_LibreSprite/src/ui/resize_event.h | // Aseprite UI 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.
#pragma once
#include "gfx/rect.h"
#include "ui/event.h"
namespace ui {
class Widget;
class ResizeEvent : public Event {
public:
... | 487 | C++ | .h | 18 | 24.388889 | 60 | 0.711497 | 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 |
43,004 | scroll_bar.h | LibreSprite_LibreSprite/src/ui/scroll_bar.h | // Aseprite UI 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.
#pragma once
#include "ui/widget.h"
namespace ui {
class ScrollableViewDelegate {
public:
virtual ~ScrollableViewDelegate() { }
... | 1,295 | C++ | .h | 40 | 28.325 | 85 | 0.699436 | 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 |
43,005 | link_label.h | LibreSprite_LibreSprite/src/ui/link_label.h | // Aseprite UI Library
// Copyright (C) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "base/signal.h"
#include "ui/custom_label.h"
#include <string>
namespace ui {
class LinkLabel : public CustomLabel {
p... | 751 | C++ | .h | 24 | 28.041667 | 63 | 0.711297 | 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 |
43,006 | view.h | LibreSprite_LibreSprite/src/ui/view.h | // Aseprite UI Library
// Copyright (C) 2001-2013, 2015, 2016 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/size.h"
#include "ui/scroll_bar.h"
#include "ui/viewport.h"
#include "ui/widget.h"
n... | 1,836 | C++ | .h | 54 | 29.722222 | 69 | 0.722537 | 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 |
43,007 | load_layout_event.h | LibreSprite_LibreSprite/src/ui/load_layout_event.h | // Aseprite UI 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.
#pragma once
#include "ui/event.h"
#include <iosfwd>
namespace ui {
class Widget;
class LoadLayoutEvent : public Event {
public:
... | 543 | C++ | .h | 21 | 22.666667 | 60 | 0.694553 | 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 |
43,008 | manager.h | LibreSprite_LibreSprite/src/ui/manager.h | // Aseprite UI Library
// Copyright (C) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "gfx/region.h"
#include "ui/keys.h"
#include "ui/message_type.h"
#include "ui/mouse_buttons.h"
#include "ui/pointer_type.h"
#... | 5,886 | C++ | .h | 150 | 30.9 | 100 | 0.664153 | 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 |
43,009 | menu.h | LibreSprite_LibreSprite/src/ui/menu.h | // Aseprite UI 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.
#pragma once
#include "base/signal.h"
#include "ui/register_message.h"
#include "ui/separator.h"
#include "ui/widget.h"
namespace ui {
cl... | 3,791 | C++ | .h | 119 | 27.336134 | 99 | 0.706303 | 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 |
43,010 | close_event.h | LibreSprite_LibreSprite/src/ui/close_event.h | // Aseprite UI Library
// Copyright (C) 2001-2013 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "ui/event.h"
namespace ui {
class CloseEvent : public Event
{
public:
CloseEvent(Widget* source)
: Event(so... | 354 | C++ | .h | 15 | 21.066667 | 60 | 0.709581 | 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 |
43,011 | hit_test_event.h | LibreSprite_LibreSprite/src/ui/hit_test_event.h | // Aseprite | Copyright (C) 2001-2013, 2015 David Capello
// LibreSprite | 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 "ui/event.h"
namespace ui {
enum HitTest {
HitTestNowhere,... | 935 | C++ | .h | 35 | 22.657143 | 70 | 0.686869 | 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 |
43,012 | event.h | LibreSprite_LibreSprite/src/ui/event.h | // Aseprite | Copyright (C) 2001-2013 David Capello
// LibreSprite | Copyright (C) 2021 LibreSprite contributors
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
namespace ui {
class Widget;
// Base class for every kind of event.
... | 711 | C++ | .h | 23 | 27.608696 | 68 | 0.694567 | 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 |
43,013 | listitem.h | LibreSprite_LibreSprite/src/ui/listitem.h | // Aseprite UI 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.
#pragma once
#include "ui/widget.h"
namespace ui {
class ListItem : public Widget {
public:
ListItem(const std::string& text = "");... | 670 | C++ | .h | 23 | 25.652174 | 60 | 0.700627 | 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 |
43,014 | window.h | LibreSprite_LibreSprite/src/ui/window.h | // Aseprite UI 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.
#pragma once
#include "base/signal.h"
#include "gfx/point.h"
#include "ui/close_event.h"
#include "ui/event.h"
#include "ui/hit_test_event.h"... | 2,359 | C++ | .h | 68 | 30.397059 | 72 | 0.706555 | 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 |
43,015 | splitter.h | LibreSprite_LibreSprite/src/ui/splitter.h | // Aseprite UI 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.
#pragma once
#include "ui/widget.h"
namespace ui {
class Splitter : public Widget {
public:
enum Type { ByPercentage, ByPixel };
... | 909 | C++ | .h | 30 | 26.5 | 60 | 0.716916 | 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 |
43,016 | widget.h | LibreSprite_LibreSprite/src/ui/widget.h | // Aseprite | Copyright (C) 2001-2016 David Capello
// LibreSprite | 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/disable_copying.h"
#include "base/with_handle.h"
#include "gf... | 13,602 | C++ | .h | 330 | 36.166667 | 87 | 0.593897 | 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 |
43,017 | widget_type.h | LibreSprite_LibreSprite/src/ui/widget_type.h | // Aseprite UI 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.
#pragma once
namespace ui {
// Widget types.
enum WidgetType : int {
// Undefined (or anonymous) widget type.
kGenericWidget,
... | 935 | C++ | .h | 42 | 18.02381 | 60 | 0.721533 | 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 |
43,018 | save_layout_event.h | LibreSprite_LibreSprite/src/ui/save_layout_event.h | // Aseprite UI 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.
#pragma once
#include "ui/event.h"
#include <iosfwd>
namespace ui {
class Widget;
class SaveLayoutEvent : public Event {
public:
... | 543 | C++ | .h | 21 | 22.666667 | 60 | 0.694553 | 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 |
43,019 | panel.h | LibreSprite_LibreSprite/src/ui/panel.h | // Aseprite UI 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 "ui/widget.h"
namespace ui {
class Panel : public Widget {
public:
Panel();
void showChild(Widget* widget);
... | 466 | C++ | .h | 17 | 24.588235 | 60 | 0.733032 | 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 |
43,020 | viewport.h | LibreSprite_LibreSprite/src/ui/viewport.h | // Aseprite UI Library
// Copyright (C) 2001-2013 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "ui/widget.h"
namespace ui {
class Viewport : public Widget {
public:
Viewport();
gfx::Size calculateNeededSiz... | 514 | C++ | .h | 19 | 24 | 60 | 0.72541 | 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 |
43,021 | register_message.h | LibreSprite_LibreSprite/src/ui/register_message.h | // Aseprite UI Library
// Copyright (C) 2001-2013 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "ui/message_type.h"
namespace ui {
class RegisterMessage
{
public:
RegisterMessage();
operator MessageType() ... | 398 | C++ | .h | 17 | 20.823529 | 60 | 0.723404 | 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 |
43,022 | timer.h | LibreSprite_LibreSprite/src/ui/timer.h | // Aseprite UI Library
// Copyright (C) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "base/disable_copying.h"
#include "base/signal.h"
#include "base/time.h"
namespace ui {
class Widget;
class Timer {
... | 886 | C++ | .h | 36 | 20.694444 | 60 | 0.68024 | 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 |
43,023 | move_region.h | LibreSprite_LibreSprite/src/ui/move_region.h | // Aseprite UI Library
// Copyright (C) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "gfx/region.h"
namespace ui {
class Manager;
void move_region(Manager* manager, const gfx::Region& region, int dx, int... | 345 | C++ | .h | 11 | 29.454545 | 80 | 0.743902 | 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 |
43,024 | int_entry.h | LibreSprite_LibreSprite/src/ui/int_entry.h | // Aseprite UI 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.
#pragma once
#include "ui/entry.h"
#include "ui/slider.h"
namespace ui {
class CloseEvent;
class PopupWindow;
class IntEntry : publi... | 1,239 | C++ | .h | 41 | 26.268293 | 76 | 0.698399 | 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 |
43,025 | conversion_she.h | LibreSprite_LibreSprite/src/doc/conversion_she.h | // 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.
#pragma once
namespace she {
class Surface;
}
namespace doc {
class Image;
class Palette;
void convert_image_to_surface(const Image*... | 462 | C++ | .h | 16 | 26.5625 | 75 | 0.732426 | 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 |
43,026 | sort_palette.h | LibreSprite_LibreSprite/src/doc/sort_palette.h | // Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
namespace doc {
class Remap;
class Palette;
enum class SortPaletteBy {
RED,
GREEN,
BLUE,
ALPHA,
HUE,
... | 547 | C++ | .h | 23 | 20.434783 | 78 | 0.714286 | 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 |
43,027 | document.h | LibreSprite_LibreSprite/src/doc/document.h | // Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include <string>
#include "base/observable.h"
#include "doc/document_observer.h"
#include "doc/object.h"
#include "doc/sprites.... | 1,367 | C++ | .h | 42 | 28.380952 | 88 | 0.685256 | 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 |
43,028 | images_collector.h | LibreSprite_LibreSprite/src/doc/images_collector.h | // Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "doc/frame.h"
#include <list>
#include <memory>
namespace doc {
class Sprite;
class Image;
class Layer;
class... | 1,884 | C++ | .h | 56 | 28.125 | 83 | 0.634859 | 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 |
43,029 | palette_picks.h | LibreSprite_LibreSprite/src/doc/palette_picks.h | // Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include <algorithm>
#include <vector>
namespace doc {
class PalettePicks {
public:
typedef std::vector<bool> list_type... | 1,769 | C++ | .h | 56 | 26.428571 | 82 | 0.620873 | 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 |
43,030 | mask_boundaries.h | LibreSprite_LibreSprite/src/doc/mask_boundaries.h | // Aseprite Document Library
// Copyright (c) 2001-2015 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 <vector>
namespace doc {
class Image;
class MaskBoundaries {
public:
class Segment {
... | 1,355 | C++ | .h | 40 | 29.15 | 65 | 0.662308 | 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 |
43,031 | document_event.h | LibreSprite_LibreSprite/src/doc/document_event.h | // 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.
#pragma once
#include "gfx/region.h"
#include "doc/frame.h"
namespace doc {
class Cel;
class Image;
class Layer;
class LayerImage;
... | 2,206 | C++ | .h | 67 | 28.507463 | 68 | 0.660395 | 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 |
43,032 | blend_internals.h | LibreSprite_LibreSprite/src/doc/blend_internals.h | // LibreSprite Document Library
// Copyright (C) 2001-2015 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
#define MASK 0xff
#define ONE_HALF 0x80
#define G_SHIFT 8
#define MUL_U... | 503 | C++ | .h | 14 | 34.071429 | 84 | 0.618557 | 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 |
43,033 | remap.h | LibreSprite_LibreSprite/src/doc/remap.h | // Aseprite Document Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "base/debug.h"
#include <vector>
namespace doc {
class Palette;
class PalettePicks;
class Remap {
public:
... | 1,996 | C++ | .h | 55 | 31.654545 | 79 | 0.673427 | 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 |
43,034 | frame_tag.h | LibreSprite_LibreSprite/src/doc/frame_tag.h | // Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "base/disable_copying.h"
#include "doc/anidir.h"
#include "doc/color.h"
#include "doc/frame.h"
#include "doc/object.h"
... | 1,221 | C++ | .h | 40 | 26.9 | 60 | 0.689744 | 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 |
43,035 | palette.h | LibreSprite_LibreSprite/src/doc/palette.h | // Aseprite Document Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "base/debug.h"
#include "doc/color.h"
#include "doc/frame.h"
#include "doc/object.h"
#include <vector>
#include <string... | 2,666 | C++ | .h | 77 | 29.727273 | 73 | 0.663285 | 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 |
43,036 | site.h | LibreSprite_LibreSprite/src/doc/site.h | // Aseprite Document Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "doc/frame.h"
#include "doc/layer_index.h"
#include <memory>
namespace doc {
class Cel;
class Document;
class Im... | 1,644 | C++ | .h | 51 | 28.235294 | 83 | 0.668142 | 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 |
43,037 | blend_funcs.h | LibreSprite_LibreSprite/src/doc/blend_funcs.h | // Aseprite Document Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include "doc/blend_mode.h"
#include "doc/color.h"
namespace doc {
typedef color_t (*BlendFunc)(color_t backdrop, color_t src... | 1,092 | C++ | .h | 22 | 47.181818 | 75 | 0.763653 | 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.