X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fgl_video_view.h;h=fd9154a7338d946a8c1b31a619adde843f9f4324;hb=6c18c9a37f3a1c8ea1d3ca7791a0f1380b23f5d1;hp=e64cb63db642e445daae664944ccb0cfeb3427de;hpb=1b6b469e927de081367b9cf861f0a551ee43422b;p=dcpomatic.git diff --git a/src/wx/gl_video_view.h b/src/wx/gl_video_view.h index e64cb63db..fd9154a73 100644 --- a/src/wx/gl_video_view.h +++ b/src/wx/gl_video_view.h @@ -19,12 +19,12 @@ */ -#include "lib/warnings.h" - -DCPOMATIC_DISABLE_WARNINGS +#include +LIBDCP_DISABLE_WARNINGS #include #include -DCPOMATIC_ENABLE_WARNINGS +LIBDCP_ENABLE_WARNINGS + /* The OpenGL API in wxWidgets 3.0.x is sufficiently different to make it awkward to support, * and I think it may even have things missing that we require (e.g. the attributes parameter @@ -99,7 +99,8 @@ private: void ensure_context (); void size_changed (wxSizeEvent const &); void setup_shaders (); - void set_border_colour (GLuint program); + void set_outline_content_colour (GLuint program); + void set_crop_guess_colour (GLuint program); wxGLCanvas* _canvas; wxGLContext* _context; @@ -130,6 +131,7 @@ private: Last> _last_inter_position; Last _last_inter_size; Last _last_out_size; + Last>> _last_crop_guess; boost::atomic _canvas_size; std::unique_ptr _video_texture;