summaryrefslogtreecommitdiff
path: root/src/wx/content_panel.h
AgeCommit message (Collapse)Author
2025-02-25Fix misunderstanding of wxDialog lifetime handling.Carl Hetherington
Broken by d0308d53dd9f4d036d8c5fe8023920fcdfd43f39 wxDialog can be stack allocated if opened with ShowModal(), but not with Show(). Go back to wx_ptr for those that are opened with Show().
2025-02-09Remove unnecessary wx_ptrCarl Hetherington
It was only ever used for wxDialog subclasses, which can be stack-allocated.
2024-11-20Merge branch 'main' into v2.17.xCarl Hetherington
2024-11-17Fix multi-selection of content.v2.16.98Carl Hetherington
In order to add ellipsizing of text we're using this "mode" of wxListCtrl where `OnGetItemAttr` is called to get information about an item. This was intended to support very long lists, so that the whole list does not have to be given to wxListCtrl. However, in this mode, multiple selections (e.g. shift-click) are just not reported. There's a 13-year-old wxWidgets bug to fix this: https://github.com/wxWidgets/wxWidgets/issues/4541 and there is mentioned the workaround applied here - listen to the focused event. We have to delay it because on macOS (at least) the selection state is not updated until after the focused event.
2024-03-12Rename TimelineDialog -> ContentTimelineDialog.Carl Hetherington
2023-11-11Move add_files_override_path to film_utilCarl Hetherington
2023-08-09Extract Film::Property to its own header to (maybe) increase compilation speed.Carl Hetherington
2023-01-16Use wx_ptr more.Carl Hetherington
2023-01-14Add options for where the add files dialog starts (#2413).Carl Hetherington
2022-12-13More header trimming.Carl Hetherington
2022-12-13Add video_{range,frame_type}.{cc,h} and remove some types.h includes.Carl Hetherington
2022-10-14Ellipsize content names in the middle (#2350).Carl Hetherington
2022-10-14Rename LimitedSplitter -> LimitedContentPanelSplitter.Carl Hetherington
2022-10-14Cleanup: move LimitedSplitter out of the header.Carl Hetherington
2022-10-14Cleanup: use simpler ownership for FilmViewer.Carl Hetherington
2022-10-05Support drag and drop onto the content list (#1220).v2.16.29Carl Hetherington
2022-09-27Use EnumIndexedVector in ContentPanel.Carl Hetherington
2022-06-09Fix strange multi-selection behaviour on Linux (#2269).Carl Hetherington
It seems that all of a sudden the behaviour of wxListCtrl's selection is strange (on Linux at least). If a list item is selected by some other action (e.g. selection in the timeline) and then you click another directly in the list, both are selected. This "fix" seems to work on Linux at least - also setting wxLIST_STATE_FOCUSED as well as wxLIST_STATE_SELECTED. I don't know why this works.
2022-04-22Use libdcp's warnings.hCarl Hetherington
2022-04-21Disable warnings around all wx includes.Carl Hetherington
2022-04-21Tidying.Carl Hetherington
2022-04-09Add some missing override labels.Carl Hetherington
2021-06-21Use std::vector for add_files.Carl Hetherington
2021-04-29Remove use of boost::noncopyable.Carl Hetherington
2021-04-04Formatting / C++11 tidying.Carl Hetherington
2021-03-20Add select-all.Carl Hetherington
2021-01-31More enum class additions.Carl Hetherington
2021-01-07std::shared_ptrCarl Hetherington
2020-10-20Try to improve splitter behaviour when shrinking and then enlargingCarl Hetherington
the main window (#1839).
2020-10-20Move the LimitedSplitter constructor into the .cc file.Carl Hetherington
2020-10-20Move contents of ContentPanel::first_shown into LimitedSplitter.Carl Hetherington
2020-10-20Move LimitedSplitter into the header file.Carl Hetherington
2020-08-07Fix layout bug where the stuff in the content panel would be completelyCarl Hetherington
hidden in some cases (seen on Linux only, I think). wxDisplay::GetFromWindow sometimes returns -1 (perhaps when multiple monitors are connected) and we have to set the splitter position in this case.
2019-10-14Remove unused bits.Carl Hetherington
2019-07-08Fix flicker in timeline view when selecting (in some cases).Carl Hetherington
2019-02-02Remove unused variable.Carl Hetherington
2019-01-09Try a draggable splitter in the LHS.Carl Hetherington
2018-09-11Separate out management of controls.Carl Hetherington
2018-09-11Partial split of film viewer.Carl Hetherington
2018-08-19Work around visual glitch when clicking on an already-selectedv2.13.43Carl Hetherington
piece of content; on Linux at least you get a deselected event then a selected event for that content.
2018-08-18Destroy and re-create content sub-panels as required; fixes weirdCarl Hetherington
artefacts (unhidden bits of UI) on Windows/OS X.
2018-07-23Tidy up after mass rename.Carl Hetherington
2018-07-23More automated renaming.Carl Hetherington
ActiveCaptions -> ActiveText BitmapCaption -> BitmapText ContentCaption -> ContentText ContentTextCaption -> ContentStringText TextCaptionFileContent -> StringTextFileContent TextCaptionFileDecoder -> StringTextFileDecoder TextCaptionFile -> StringTextFile TextCaption -> StringText PlayerCaption -> PlayerText CaptionContent -> TextContent CaptionDecoder -> TextDecoder CaptionPanel -> TextPanel CaptionView -> TextView CaptionAppearanceDialog -> SubtitleAppearanceDialog CaptionType -> TextType
2018-07-22Display only required tabs, including subs / ccap.Carl Hetherington
2018-07-19More subtitle -> caption.Carl Hetherington
2018-07-19UI for selecting caption type.Carl Hetherington
2018-06-29Basic jump to selected subtitle (#1200).Carl Hetherington
2018-03-23Ctrl-T to open timeline (#1201).Carl Hetherington
2018-01-05Add simple copy and paste for content settings (#1051).Carl Hetherington
2017-02-20Add DCP button added to content panel.Carl Hetherington