Commit graph

  • 556a5dd90b Added ability to get width of arcs with finished animation. 23rd 2021-01-27 20:02:40 +03:00
  • 57fc9861a7 Added ability to get width of displayed arcs. 23rd 2021-01-27 04:27:26 +03:00
  • bda12f2bec Fixed resizing menu with wide items. 23rd 2021-01-23 21:58:12 +03:00
  • a5fb993721 Make a generic NumberInput from PortInput. John Preston 2021-01-19 10:21:27 +04:00
  • 912f0b48a6 Fixed mouse selecting of menu item when it was deselected via keyboard. 23rd 2021-01-20 00:12:46 +03:00
  • 70aa4833b7 Removed redundant property of mouse selection item from menu. 23rd 2021-01-19 23:41:59 +03:00
  • fedeac3f08 Removed redundant property of current selected item from menu. 23rd 2021-01-19 23:17:41 +03:00
  • 0ce0766b5e Removed redundant hasSubmenu property from menu item base. 23rd 2021-01-19 23:10:10 +03:00
  • 43f09755e5 Moved key press handling from menu to menu item base. 23rd 2021-01-19 23:03:31 +03:00
  • 3bd07cf837 Delegated responsibility for position of arc painter to parent. 23rd 2021-01-18 00:00:13 +03:00
  • ddda92c777 Added animation support to arc painter. 23rd 2021-01-17 23:08:21 +03:00
  • 5bcd894429 Added initial implementation of arc painter. 23rd 2021-01-17 04:56:47 +03:00
  • 5d74463bc9 Renamed contentWidth property to minWidth in menu items. 23rd 2021-01-14 01:48:17 +03:00
  • 0d6a0d9cef Moved mouse selecting of menu items to menu base item. 23rd 2021-01-14 01:47:47 +03:00
  • 4325eb2f1b Wrapped raw QAction pointers with not_null in menu items. 23rd 2021-01-14 00:07:39 +03:00
  • a6a2a8dde0 Fixed crash in dropdown menu. 23rd 2021-01-13 22:14:07 +03:00
  • 79146e54b9 Returned finish of animating to menu. 23rd 2021-01-13 19:41:39 +03:00
  • 5e37c06a6a Added action menu item with toggle view. 23rd 2021-01-13 18:58:09 +03:00
  • 3640f69369 Removed redundant argument from action menu item constructor. 23rd 2021-01-13 18:20:08 +03:00
  • 0c5135f671 Added ability to fill menu with custom widgets. 23rd 2021-01-13 18:17:27 +03:00
  • 497452250a Added ability to set index to menu item. 23rd 2021-01-13 18:04:05 +03:00
  • df0a8ff589 Slightly refactored creating new items in menu. 23rd 2021-01-13 03:49:42 +03:00
  • 98fa99ae42 Fixed mouse clicking on disabled context menu items. 23rd 2021-01-13 16:08:42 +03:00
  • 11a2b0f88d Added ability to check if menu has no items. 23rd 2021-01-13 04:10:03 +03:00
  • ec988db6c7 Replaced passing of numerous arguments with struct in menu. 23rd 2021-01-13 02:21:49 +03:00
  • 4cbe5fc464 Moved all files related to menu to separate namespace. 23rd 2021-01-13 02:00:07 +03:00
  • f3e5220dfb Moved menu action item to separate file. 23rd 2021-01-13 01:47:06 +03:00
  • 7e52011a06 Moved menu separator to separate file. 23rd 2021-01-13 01:34:24 +03:00
  • 8d5bdd6b7e Partially replaced code for using widgets as items in Ui::Menu. 23rd 2021-01-15 15:38:54 +03:00
  • 6f097fc571 Removed obsolete ability to fill menu with slots. 23rd 2021-01-11 23:53:32 +03:00
  • e6b66158e6 Added color for song cover overlay. 23rd 2021-01-11 22:45:28 +03:00
  • 55a97c0106 Allow different icon on RoundButton hover. John Preston 2021-01-15 16:56:57 +04:00
  • 239cec923f Make radio button closer to guidelines. John Preston 2021-01-15 15:40:06 +04:00
  • 9ebd51c8f8 Fixed blobs paint with high update rate. 23rd 2021-01-02 14:35:02 +03:00
  • 120a52c143 Add traits for customizing RpWidgetWrap instances. John Preston 2021-01-05 21:09:05 +04:00
  • b5fb343d6c Allow only Ctrl modifier for Backspace on Linux. John Preston 2020-12-30 17:49:54 +04:00
  • eb19141480
    Merge pull request #7 from ilya-fedin/fallback-to-custom-main-font RadRussianRus 2020-12-26 04:16:49 +03:00
  • da2d14bd99 Fallback to custom main font if custom semibold font is not specified #7 Ilya Fedin 2020-12-26 05:14:52 +04:00
  • b9dab597d8
    Merge pull request #6 from ilya-fedin/fix-bold RadRussianRus 2020-12-26 02:43:25 +03:00
  • c441745209 No need to parse Semibold in name since tdesktop code always uses Semibold style #6 Ilya Fedin 2020-12-26 03:32:11 +04:00
  • fc694055ac Fix applying bold style with system font Ilya Fedin 2020-12-26 03:25:28 +04:00
  • 17eb0f22b4 Slightly improved connecting animation in mute button. 23rd 2020-12-25 07:35:07 +03:00
  • bab4cfa5aa Fixed crash in mute button disconnect with disabled animations. 23rd 2020-12-24 13:53:19 +03:00
  • 5bb0b6a6e5 Updated lib_ui sources to TDesktop version 2.5.1 RadRussianRus 2020-12-23 21:03:36 +03:00
  • 1e2799245c Added ability to reset level value in Blobs. 23rd 2020-12-21 14:02:37 +03:00
  • d340430e85 Added ability to pass min and max speeds to Blobs. 23rd 2020-12-21 09:43:08 +03:00
  • a29e93ca55 Added initial implementation of label animation in mute button. 23rd 2020-12-18 12:35:53 +03:00
  • abb615a7c9 Improve label positions in mute button. John Preston 2020-12-18 12:42:00 +04:00
  • d7ee715b63 Improved animation from any state to Connecting state in mute button. 23rd 2020-12-18 09:47:27 +03:00
  • 1d2357eed9 Moved progress clamping in mute button to single place. 23rd 2020-12-18 06:55:29 +03:00
  • a8edd6567e Slightly optimized blobs paint. 23rd 2020-12-18 06:51:10 +03:00
  • 407079e5b1 Add a sub-label to CallMuteButton. John Preston 2020-12-17 17:24:43 +04:00
  • ac71aabba2 Improved animation from Connecting state in mute button. 23rd 2020-12-17 10:40:29 +03:00
  • c0e1dfcc8d Added ability to pass additional scale to RadialBlob. 23rd 2020-12-17 11:35:50 +03:00
  • 526a816b7e Updated colors for force muted state in group calls. 23rd 2020-12-16 13:04:19 +03:00
  • 9eef2289a7 Replaced main blob in mute button with circle. 23rd 2020-12-16 11:48:42 +03:00
  • dd4ddd69fd Added ability to pass different count of colors to gradients. 23rd 2020-12-16 10:31:55 +03:00
  • 967b18290c Added ability to pass QGradientStops to gradients. 23rd 2020-12-16 08:48:38 +03:00
  • 5e3897fcff Improve macOS custom window title. John Preston 2020-12-17 15:54:04 +04:00
  • 3bd98ac564 Add shake-on-error animation to CallMuteButton. John Preston 2020-12-16 15:27:59 +04:00
  • 300c5a9c66 Update voice chat colors. John Preston 2020-12-15 19:59:52 +04:00
  • e08a0de35d Use static polymorphism for gradients. John Preston 2020-12-14 18:47:33 +04:00
  • d5a076ccef Fixed computing of inner rect from mute button. 23rd 2020-12-14 16:14:51 +03:00
  • 417413f026 Updated appearance for force muted state in group calls. 23rd 2020-12-14 16:13:48 +03:00
  • b0925f97d0 Moved InterpolateF to animation_value header. 23rd 2020-12-11 10:30:51 +03:00
  • 37d939a650 Replaced CallButton with AbstractButton in mute button. 23rd 2020-12-11 09:54:22 +03:00
  • d61e1a7bde Extracted common code for gradient classes. 23rd 2020-12-11 02:00:20 +03:00
  • d032f4d8b5 Extracted common code for radial and linear blob classes. 23rd 2020-12-10 14:28:35 +03:00
  • 9735510195 Added ability to set direction of Linear Blobs. 23rd 2020-12-10 10:53:20 +03:00
  • a02c8923dc Paint waves antialiased. John Preston 2020-12-09 11:17:07 +04:00
  • cffbdc7c58 Added initial implementation of Linear Blobs. 23rd 2020-12-08 23:09:21 +03:00
  • 15ea9197cc Merge remote-tracking branch 'origin/master' into blob John Preston 2020-12-08 22:23:29 +04:00
  • dfc0f0b889 Change button round radius. John Preston 2020-12-08 11:12:46 +04:00
  • ea840471d2 Fixed blob animations in mute button with enabled push-to-talk. 23rd 2020-12-06 18:00:07 +03:00
  • fe6daf12b8 Added not equal operator to BlobBezier::Radiuses. 23rd 2020-12-06 17:47:14 +03:00
  • 577e8f94ab Improve close window icon. John Preston 2020-12-06 17:51:49 +04:00
  • f24411cd96 Added correct handling animations disabling in mute button. 23rd 2020-12-03 21:09:47 +03:00
  • 5c66d1fa0a Wrapped AnimationsDisabled with rpl::variable. 23rd 2020-12-03 21:08:53 +03:00
  • 5437c8865d Added initial animation of Blobs hiding. 23rd 2020-12-03 18:09:10 +03:00
  • 5b0e499932 Replaced raw radius values of Blob with struct. 23rd 2020-12-03 09:52:54 +03:00
  • 5f44304a30 Add PCH to the project file. John Preston 2020-12-03 21:11:31 +03:00
  • ab4ad89c4c Allow colorizing CrossLineAnimation. John Preston 2020-12-02 15:25:02 +03:00
  • 87ee83bc73 Fixed delta time computing in BlobsWidget. 23rd 2020-12-01 14:17:52 +03:00
  • dffa36ede4 Slightly improved Blob. 23rd 2020-12-01 14:13:01 +03:00
  • c8c29c7c78 Replaced gradients in mute button. 23rd 2020-12-01 12:37:07 +03:00
  • ce7ad090f3 Added classes for gradient color animation with several states. 23rd 2020-12-01 11:02:24 +03:00
  • a175ae7c80 Moved gradient color animations to separate file. 23rd 2020-12-01 10:26:33 +03:00
  • cc1f597c6e Added ability to reverse lines in cross line animation. 23rd 2020-12-01 07:59:43 +03:00
  • 7fd90cb38b Add onShowFinished callback to BoxContent. John Preston 2020-11-30 21:06:12 +03:00
  • 5c6ddf9cb3 Disabled mouse events for mute button when state is inactive. 23rd 2020-11-30 20:27:21 +03:00
  • 4761b307b4 Fixed reversed animations in mute button. 23rd 2020-11-30 20:08:24 +03:00
  • c4df097339 Paint CallButton eliipse with high quality. John Preston 2020-11-30 18:49:30 +03:00
  • 84b3ac9b58 Fix build and run on Windows. John Preston 2020-11-30 15:37:29 +03:00
  • 5897e357bf Added colors overriding for call settings button from mute button. 23rd 2020-11-30 12:38:22 +03:00
  • 07359392c2 Added ability to override background and ripple colors in CallButton. 23rd 2020-11-30 12:29:59 +03:00
  • 011d0ba692 Fixed blobs paint for non-default scales. 23rd 2020-11-30 10:59:21 +03:00
  • 1b2869d9c9 Added circle paint instead of blobs when animations are disabled. 23rd 2020-11-30 10:23:12 +03:00
  • e2210274de Added glow to mute button. 23rd 2020-11-30 09:17:22 +03:00
  • baea14611e Added class for radial gradient color animation. 23rd 2020-11-30 09:17:12 +03:00
  • ee969568ac Added transforming blob to circle in mute button for connecting state. 23rd 2020-11-30 06:08:03 +03:00