Commit graph

33 commits

Author SHA1 Message Date
manongjohn
d8d45d2fb7 Add Flip and Rotate Selection tool option buttons 2021-09-08 02:26:42 -04:00
shun-iwasawa
abf861c0c6 fix tool options shortcut 2021-05-02 23:44:33 -04:00
Jeremy Bullock
49d34403ac
Fill with gaps on Smart Raster levels. (#338)
* Start of Smart Raster gap filling

* Ready for testing

* More Tweaks

* Improve polyline and freehand stuff

* Remove unneeded line.

* Hide on lines
2020-11-11 20:36:21 -07:00
Jeremy Bullock
af90cdedbe
UI update and Icons from Konero (#126)
* add multi arc mockup

* implement mutli arc

* add join and smooth option

* reset multiarc and arc when deactivated

* create self loop if the last point is the same as the first

* make join option in multiarc consistent with tape tool

* fix a bug where thickness don't affect mutliarc in vector level

* remove join option in geometric tool

* stop mutliarc after closing shape

* double click can also end multi arc

* fix a bug where multiArc will produce buggy stroke

* fix a bug where geometric tools is not deactivated

* add multiArc shortcut

* rewrite multiArc

* revert changes to tvectorimage

* add undo data for multiArc

* Paste as Copy Command for XSheet

* Remove unneeded code

* Bug fix

* prevent guide lines from jumping around in MultiArc

* make stroke color consistent in MultiArc

* remove color in MultiArc's undo data

* make color consistent in MultiArc with previous version

* Fix single image raster levels

* fix compilation error

* fix a bug where multiArc might generate bugged stroke

* Remove ICONV dep (#3304)

* fix crash on saving studio palette

* Move to Paste Special Menu

* Don't Set Fixed Width if Docking a Floating Panel

* Update how_to_build_win.md

New draft of pr for requested changes to windows build instructions.

* fix geometric tool multiarc smooth option

* fix level saving failure

* fix wrong warning after saving palette

* fix a bug where moving a control point while holding alt has unintended result

* fix travis-install (#3389)

* Fix assert debug crash in flipconsole.cpp

Fix crash when using the viewer controls in the console (debug)

* Redraw Audio Waveform

Fills the waveform rather than outlines it.

* Update .gitignore

* fix undo data when drawing arc and mutliarc

* fix overwriting raster drawing palette (#3387)

* mode sensitive fx settings

* Create New Style Command Button (#3394)

* Create New Style Command Button

This PR creates a new button in the pallette editor that creates a new style.  Button is large and easy access for a faster and easier workflow.  Original code developed by Turtletooth for Tahoma.  Given permission to develop within Openoonz.

Co-Authored-By: Jeremy Bullock <turtletooth@users.noreply.github.com>

* Update paletteviewergui.cpp

Made changes to the PR per request by Shun.

* Fixed a space within the code that wasn't suppose to be there.

Co-authored-by: Jeremy Bullock <turtletooth@users.noreply.github.com>

* tahoma license (#3396)

* new style button optional

* fix loading pegbars (removing updateKeyframes)

* periodic random expression

* add fx in linear color space
this commit is based on source for the ComposeAdd plugin fx by DWANGO Co., Ltd.
in dwango_opentoonz_plugins and opentoonz_plugin_utility repositories.

* fractal noise iwa fx

* skip unnecessary icon invalidation

* fix frame range fill with tablet

* stop function editor to open by dbl clicking key

* Expanding the radius of the rotation handle.

This just changes when the cursor transforms into the rotation tool.

(cherry picked from commit 7722ae989bbdc6aa5cb48df7a4c08bae1fe6ea39)

* fix vector img patern stroke style

* Update Stylesheets

- Support the new icon sizes
- XSheet and Timeline significantly redesigned
- Lots of margin fixes and refactoring
- Remove deprecated icons, as some icons are moved into binary
- New Light theme

* New Icons

- Redesigns almost every icon as symbolic
- Adds icons for most commands

* Add Option for Icon Themes

- Adds option for icon themes
- Removes useless label from Preferences category list

* Update Icon Functions

- Adds themePath() boolean
- Adds function for recoloring black pixels in pixmaps to any color
- Rebuilds createQIcon to use fromTheme() and recolorPixmap()
- Removes createQIconOnOff as it seemed to be a rarely used duplicate of createQIcon
- Removes a grey horizontal line drawn above the console play bar in the viewer

* Set Default Icon Theme and Paths

- Sets search paths for icons for use with QIcon::fromTheme()
- Sets default start icon theme on first install
- Sets flag for displaying icons in menus, so we can selectively hide them

* Set Icons for Commands

- Sets icons for the commands
- Hides icons being displayed in menus as most icons are 20x20, they will look blurry when shrunk to 16x16
- Selectively allows icons to display for Tools in menus

* Change Icon Sizes, General Fixes and Stylesheet Additions

- Change icon sizes to new size
- Remove margin around FX Editor window
- Remove white line under color sliders in Style Editor
- Make keyframe icons uniform and color stylable in the stylesheets
- Removes deprecated stylesheet strings
- Redesign GUI for palette list view
- Make tree list header sort row stylable
- Remove black lines from scrollbars in New Project window
- Remove margin around combobox in Level Strip
- Alter how some lines are drawn in the Timeline to fix some alpha issues
- Make conditional fixed onion skin and normal onion skin dots contrast more against a light background area to make sure they have good visibility
- Make text always viewable in the FPS field in console bar
- Increase size of radio buttons in Cleanup Settings
- Increase size of switches in motion path nodes
- Remove unessesary "Layer" label in Timeline and other rects
- Various colors made stylable in the stylesheets; palette numpad and selection frame, cleanup settings border, scene cast folder path, schematic lines, ruler, xsheet lines, keyframes, cell input box and more
- Moves some external stylesheet icons into binary

* Make TPanelTitleBar Icon States Stylable

- Makes icon states for TPanelTitleBar buttons stylable in stylesheets

* Travis Fixes

* Swap Startup Popup Logos

They were in the wrong folders

* Revert "Swap Startup Popup Logos"

This reverts commit 815908a9f3e725f48507dab8a2270bdfa045649d.

* Fix Startup Popup Logo

It wasn't switching

* Feedback Changes

- Change render visualization to clapboard
- Fix text contrast on levels in XSheet

* Make Cell Selection More Clear

* Darken Light Theme and Tint Empty Cell Selection

* Fix missing icons

* Fix memo button

* Bring back colors

* Hide Motion Tab

* Fix Play Range Area (Light)

Make play range area more visible

* Vector Column Color

Co-authored-by: pojienie <pojienie@gmail.com>
Co-authored-by: rim <11380091+rozhuk-im@users.noreply.github.com>
Co-authored-by: shun-iwasawa <shun.iwasawa@ghibli.jp>
Co-authored-by: Rodney <rodney.baker@gmail.com>
Co-authored-by: DoctorRyan <65507211+DoctorRyan@users.noreply.github.com>
Co-authored-by: shun-iwasawa <shun-iwasawa@users.noreply.github.com>
Co-authored-by: Kite <konero@users.noreply.github.com>
Co-authored-by: Jeremy Bullock <turtletooth@users.noreply.github.com>
Co-authored-by: DoctorRyan <doctorryan1969.gmail.com>
2020-08-31 12:51:22 -06:00
Jeremy Bullock
22d9f96232 Add scroll to tool options 2020-05-12 00:27:39 -06:00
caryoscelus
fb92fd2ade SelectTool minor code improvements (#2932)
* SelectionTool: code improvement: use strongly-typed enum

* SelectionTool minor code improvement: use unique_ptr

* SelectionTool minor code improvement: formating / warnings

* SelectionTool: generalize code
2019-12-23 20:03:57 +09:00
manongjohn
6939a3e658 Allow Selection Tool copy when level is not editable 2019-11-24 19:22:20 -05:00
manongjohn
525c4b1d84 Fix tool option on Command bar crash 2019-11-15 10:49:00 -05:00
shun-iwasawa
76d093f2f4
Nonlinear Slider for the Brush Size Options (#2824)
* nonlinear slider for tool size

* nonlinear slider for finger magnet and pinch tools
2019-10-11 12:13:41 +09:00
manongjohn
85ae4ce1e7 Add shortcuts for MyPaint Brush toolbar options (#2575)
* Add shortcut for MyPaint Eraser Toolbar option

* Add Lock Alpha shortcut

* Enable Pressure shortcut for Mypaint Pressure checkbox

* Enable max size shortcuts for mypaint brush size
2019-06-20 00:02:37 -06:00
shun-iwasawa
102e065515 fix tapetool crash (#2352) 2018-11-04 22:37:12 -07:00
manongjohn
b66bc4e313 Show actual fonts in font dropdowns (#2080)
* Show actual fonts in font dropwdowns
2018-08-06 15:46:52 +09:00
shun-iwasawa
e87e0815f7 Make More UI Texts Translatable (#2026)
* make ui texts translatable

* add more translatable texts

* load translate file for default commands
2018-06-04 12:18:43 +09:00
shun-iwasawa
28a2a8fa0e fix tool option combobox (#1942) 2018-05-07 11:09:06 +09:00
shun-iwasawa
df7bb0e418
EnumProperty: translation and icon by podsvirov (modified) (#1863)
* EnumProperty: translation and icon

Add support to translate EnumProperty items and
show icon.
2018-04-26 18:24:25 +09:00
Jeremy Bullock
e122a937ef Fill Tool: Allow Fillable Gap Size Change in Vector Images (#1317)
close #1093 

* CAUTION *
Changing the "Maximum Gap" from the default value (1.15) will lose backward compatibility of PLI file.
2018-03-07 15:09:17 +09:00
shun_iwasawa
0231580ff0 fix animate tool 2017-12-05 15:45:51 +09:00
shun_iwasawa
23727d2b13 fix select all on only the first click 2017-11-24 21:13:52 +09:00
shun-iwasawa
43640b7624 make autopaint lines optional (#1564) 2017-11-22 12:52:08 +09:00
Jeremy Bullock
7712907c92 Middle Mouse Drag to Edit Values (#1362)
* Middle mouse drag to edit numeric values
* The function editor spreadsheet values can be ctrl + dragged to change their value. Alt + click on a key will clear it.
2017-11-20 16:28:59 +09:00
Jeremy Bullock
f9b89b9c75
Merge pull request #1558 from shun-iwasawa/autopaint_autoapply_undo
Enable Undo for Editing Styles
2017-11-14 08:24:25 -07:00
Jeremy Bullock
3a06bdc569 Allow Shortcut to Cycle Dropdown Options (#1420) 2017-11-09 23:15:46 +09:00
shun_iwasawa
9a458198b4 Merge remote-tracking branch 'origin/master' into autopaint_autoapply_undo 2017-11-09 15:27:53 +09:00
shun_iwasawa
a39cc71201 fix tooloption checkbox 2017-11-08 13:21:55 +09:00
shun_iwasawa
e553fc7d27 undo for autoapply 2017-11-07 16:24:20 +09:00
shun_iwasawa
b366ef2b24 fix boolean tool options 2017-10-26 16:55:46 +09:00
shun_iwasawa
4a5f426fc0 konero svg icons part 1 2017-07-03 12:33:11 +09:00
Jeremy Bullock
fa8f3e3640 Fix crash on camera scale 0 (#1219)
close #1178
2017-05-26 17:00:32 +09:00
Shinya Kitaoka
d1f6c4e95b REFACTORING: Add final specifiers (#537)
* add final specifiers

* apply clang-format

* fix for macOS
2016-06-29 15:17:12 +09:00
shun-iwasawa
c86c5d6189 Organizing the Tool option bar layout (#443)
* edit tool, selection tool, brush tool

* other tools

* include cmath
2016-06-27 15:22:54 +09:00
Shinya Kitaoka
120a6e041c apply clang-format 2016-06-15 15:43:10 +09:00
Shinya Kitaoka
3bfa549e8b remove "using"
- using std::string;
- using std::wstring;
- using std::ostream;
- using std::istream;
- using std::iostream;
- using std::ostrstream;
- using std::istrstream;
- using std::fstream;
2016-04-21 16:23:15 +09:00
Toshihiro Shimizu
890dddabbd first commit 2016-03-19 02:57:51 +09:00