idotobi
7701ec1c20
Include default argument setters/getters
...
Include the ToolPointer enum to all setter and getter Functions with the
default being "current".
6 years ago
idotobi
8faa96a062
Base color selection behaviour on capabilities
6 years ago
tobidot
534a45944e
Simplify logic by introducing 3 toolPointers
...
- toolbarSelectedTool
- buttonSelectedTool
- currentTool
6 years ago
tobidot
387bde19ad
Change color selection behaviour if tool is Eraser
...
New Behaviour:
- Eraser selected from toolbar:
No change of color possible anymoer as eraser does not have color and
it's not obvious for which other tool to set the color
- Eraser selected via stylus:
Allow change of color in the toolbar. This color will actually set
the tools color which was active before the button press. This makes
sense as upon release of the eraser button this tool will be selected
again.
6 years ago
Fabian Keßler
ddbb7c6b12
Enforce uint32_t for internal Color Representation
...
This prevents unwanted conversion bugs
-Removed GtkColorWrapper
6 years ago
Julius Lehmann
3535da19ee
Remove obsolete function and nearest color rounding
6 years ago
Fabian Keßler
bf3c63fee3
applied formatting
6 years ago
Fabian Keßler
985d0946e7
clang-tidy applied everything in .clang-tidy file,
...
disabled readability-identifier-naming for now,
since the naming convention has not be discussed.
It also it differs from the actual one.
6 years ago
Fabian Keßler
4ee8fa415c
clang-tidy google-*
6 years ago
Fabian Keßler
a2e98f4bd7
clang-tidy init
6 years ago
Julius Lehmann
16e12205db
Replace NULL with nullptr
7 years ago
Fabian Keßler
fa33dc43f3
removed memory checks
7 years ago
Peter Klausing
c963499da7
replace math. header with cmath
7 years ago
Ulrich Huber
a79473037b
Fix #953
7 years ago
Andreas Butti
ece3edc9cd
If the eraser is active switch to pen on color change
...
fixed #888
7 years ago
Andreas Butti
3f483c285b
Marked color as disabled, if disabled
7 years ago
Andreas Butti
c2667c7b70
Color icon is now easier to change and HighDPI
7 years ago
Andreas Butti
96026ed266
Stroke tool item
...
fixes #598
7 years ago
Andreas Butti
47375e9a52
Replace Boost::i18n with GLib i18n, to be consistent
...
#534
7 years ago
Andreas Butti
895e7a0546
Translation Cleanup
...
#534
7 years ago
Andreas Butti
10445d12ab
Should fix unexpected color change
...
fixes #558
7 years ago
Peter Klausing
e24b038e1a
fix color chooser lacked
7 years ago
Andreas Butti
c5c2e38381
Fixed drag & drop handling
7 years ago
Andreas Butti
ee46ba530b
Removed GTK2 Stuff
7 years ago
Andreas Butti
663a233ada
Colorchooser working with GTK2 / GTK3
7 years ago
Andreas Butti
2798c8f03d
Color item removed, replaced with GtkImage
7 years ago
Andreas Butti
9aabd6db83
Building and starting with GTK2 and GTK3
...
There are still a lot of issues which needs to be fixed, but this is now
the base for the next master, and the master will be renamted to gtk2 or
something like this in the future.
7 years ago
MarPiRK
4dc73d7a02
Unified to boost::locale::translate (no more glib i18n)
...
Also updated i18n readme
11 years ago
MarPiRK
289b46d1f9
Rewritten StringUtils::format with boost::format and boost::locale::format in mind
11 years ago
MarPiRK
f14a780237
Resorted includes
...
Basing on some new sorting rules
11 years ago
Andreas Butti
dab9333072
Merged
11 years ago
MarPiRK
24fb01b6d3
Formatting review
...
Basing on new coding conventions (on https://github.com/xournalpp/xournalpp/wiki/Coding-conventions ) – mainly 120 margin changes
11 years ago
MarPiRK
a3634d7ce4
Standardized formatting
11 years ago
MarPiRK
fafe0603cc
Complete rewrite of string
...
Now it's based on std::string, but with help of boost::local and boost::algorithm - icu was veeery inconveinient and memory consuming. Now memory consuption is ridiculously lower than in basic glib_new branch.
I've also added streams instead of good old printf's, but it's just basic stuff. New thing is also usage of boost library and replacing some glibc functions with it - I have done only small chunk of them. To get rid of glibc completely we would have to move to gtkmm and rewrite looot of code, but I think that it's worth it. Boost will be used in future for i18n.
The whole thing compiles now and at a glance is pretty stable, but it needs deep testing to make shure that everything works as it should without any strange crashes, which I faced while writing.
If anyone has questions about new string handling please cntact with me.
11 years ago
MarPiRK
5ba4ea0ff8
String tweaks, CrashHandler uses less legacy staff – more C++ in Xournal++ :)
11 years ago
MarPiRK
342feb66ee
Removed old terrible String class and replaced with UnicodeString from ICU library with kinda compatibility layer for old class for future optimalizaction.
11 years ago
Wilson Brenna
e241ee1a5f
Formatted master using same astyle as addpoppler.
12 years ago
andreasb123
8338c6c5ba
Open Errorlog and send Bugfix Messagebox
...
Color palette for Color Chooser (not working as I woud like, but working...)
git-svn-id: svn://svn.code.sf.net/p/xournal/svn/trunk@192 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
14 years ago
AndreasB123
ccb3517b89
gtk_window_set_transient_for added for the most dialogs
...
git-svn-id: https://xournal.svn.sourceforge.net/svnroot/xournal/trunk/xournalpp@188 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago
AndreasB123
93b6cdb52e
gtk_window_set_transient_for added for the most dialogs
...
git-svn-id: svn://svn.code.sf.net/p/xournal/svn/trunk@188 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago
AndreasB123
e2e46041ea
Color names working
...
git-svn-id: https://xournal.svn.sourceforge.net/svnroot/xournal/trunk/xournalpp@187 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago
AndreasB123
6f8d961775
Color names working
...
git-svn-id: svn://svn.code.sf.net/p/xournal/svn/trunk@187 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago
AndreasB123
19bb6a08dd
Toolbar drag & drop nearly complete working...
...
git-svn-id: https://xournal.svn.sourceforge.net/svnroot/xournal/trunk/xournalpp@184 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago
AndreasB123
e4dab3b116
Toolbar drag & drop nearly complete working...
...
git-svn-id: svn://svn.code.sf.net/p/xournal/svn/trunk@184 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago
AndreasB123
16f34dbe41
git-svn-id: https://xournal.svn.sourceforge.net/svnroot/xournal/trunk/xournalpp@179 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago
AndreasB123
59a3e033fc
git-svn-id: svn://svn.code.sf.net/p/xournal/svn/trunk@179 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago
andreasb123
3f14a6b3fb
git-svn-id: https://xournal.svn.sourceforge.net/svnroot/xournal/trunk/xournalpp@174 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago
andreasb123
c4ea0f9098
git-svn-id: svn://svn.code.sf.net/p/xournal/svn/trunk@174 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago
andreasb123
578690dacb
Automake chanages
...
small bugfixes
git-svn-id: https://xournal.svn.sourceforge.net/svnroot/xournal/trunk/xournalpp@146 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago
andreasb123
55d741fefc
Automake chanages
...
small bugfixes
git-svn-id: svn://svn.code.sf.net/p/xournal/svn/trunk@146 9fe2bcd3-a095-4d8b-a836-9b85dc8d7627
15 years ago