Don Ho
0ee65fd826
Fix x64 build error in 3f1a582a36db175a4f86b35dcd47f3aa5bf331fa
...
Fix x64 build error, remove unnecessary codes and add enhancement for the previous commit 3f1a582a36db175a4f86b35dcd47f3aa5bf331fa
2022-04-13 04:43:08 +02:00
ozone10
3f1a582a36
Add dark mode support for autocomplete list & calltip
...
Fix fix #11522 , close #11523
2022-04-13 03:42:38 +02:00
ozone10
b88e2fe57f
Apply darkmode on missing preference dialog items
...
- Edit control in Date Time for Custom format
- Tooltip in Delimiter for Word character list
- Fix blurry text in Link for Clickable Link Settings
Fix #11497 , close #11498
2022-04-09 19:59:52 +02:00
Don Ho
785453147b
Inialize all memebers of struct (instead of its 1st member) to zero
...
The curly brace initiator in C/C++ is quite confusing (at least to me).
The C style array uses {0} for initializing all the array to 0,
whereas C++ struct uses {0} for initializing only the 1st member's value to 0.
If we want to set all members' value in a struct to 0, we should use {} instread of {0}.
This commit fix the error which initialize only the 1st member's value to 0 in the structures.
Ref:
1. https://docs.microsoft.com/en-us/cpp/cpp/initializing-classes-and-structs-without-constructors-cpp?view=msvc-170
2. https://en.cppreference.com/w/c/language/struct_initialization
2022-02-09 16:41:56 +01:00
Don Ho
5d086f93a8
Workaround Microsoft dark mode API bug of Windows 11
...
Notepad++ dark mode works fine under Microsft Windows 7, 8, 8.1 & 10.
Under Windows 11 while Notepad++ being switched into dark mode,
the hightlighting (background) of toolbar's hot-track icons remains in light mode.
Hence this workaround to remedy Notepad++ dark mode visual glitchy due to the bug of Windows 11.
Fix #10510 , close #10685
2021-10-18 00:30:14 +02:00
Ivan Ustûžanin
049ededf9f
Add gcc 32-bit build and improve build process
...
1. Include SciLexer build in Notepad++ build.
2. Remove -fpermissive, auto -j in make.
Fix #9989 , close #10540
2021-09-13 23:17:11 +02:00
Don Ho
e5a800722b
Make code more sanitary
...
Fix some vulnerable codes detected by VS's analyzing.
Close #10541
2021-09-12 18:50:30 +02:00
ozone10
8ac13d9065
Make dark mode compatible with Windows 11
...
Use documented way to enable UxTheme dialog texture.
Remove undocumented way.
Disable UxTheme dialog texture in dark mode.
Fix #10299 , close #10383
2021-08-20 12:08:41 +02:00
ozone10
318a566ae7
Apply explorer style on treeview
...
Enable hottracking for explorer style.
Allow dynamic change based on treeview background.
Fix #10061 , close #10304
2021-08-01 16:05:26 +02:00
ozone10
1214319839
Don't reset style & icons, when changing dark tone
...
Improve title bar dynamic redraw when changing mode.
Fix #10049 , fix #10196 , close #10272
2021-07-28 17:03:47 +02:00
ozone10
6d06000600
Apply dark mode on column editor
...
Fix #10236 , close #10237
2021-07-25 21:25:27 +02:00
ozone10
89d835a56f
Apply dark mode on all find dialogs
...
1. Apply dark mode on find in finder dialog.
2. Apply dark mode on progress window (searching in files).
3. Make color more consistent for incremental search.
4. Use different border style for incremental search.
5. Set border for finder for docking panel consistency.
Fix #10233 , close #10234
2021-07-24 23:42:19 +02:00
Don Ho
50dfdb2a8d
Add link text color in customized dark colors of Preferences dialog
2021-07-24 04:18:43 +02:00
ozone10
e627de438b
Apply dark mode on Style Configurator
...
Create link text color to be used too in about, debug and preference dialog.
Fix #10226 , close #10227
2021-07-24 00:48:03 +02:00
ozone10
a4cfd2a126
Dark find and replace dialog enhancement and fixes
...
1. Make color more consistent.
2. Fix bug with trackbar (Transparency option) not changing background, when changing background color.
3. Fix visual glitch.
4. Enhancement to combobox, including DPI fixes.
5. Make listbox of combobox use dark scrollbar.
Fix #10027 , fix #10221 , close #10220
2021-07-22 04:01:10 +02:00
ozone10
264e1924b0
Restore Splitter appearance in dark mode
...
Allow dynamic color change for arrows.
Fix #10069 , close #10199
2021-07-21 04:32:08 +02:00
ozone10
81b21aae2a
Enhance combobox & edit field in dark mode
...
1. Allow function list search to use dark mode error background.
2. Make combobox more dark and allow to use custom colors (borders, arrow head and background).
3. Use dark listbox in combobox.
Fix #10178 , close #10179
2021-07-20 15:44:49 +02:00
ozone10
33fa3b6198
Edge Enhancement
...
Make changing edge color dynamic.
Apply color on docking panels caption, color button.
Add status bar separators.
Fix #10166 , close #10167
2021-07-15 23:55:41 +02:00
Don Ho
831d3ba9cc
Add customizing dynamically dark mode colors capacity
...
Let users customize whole set of dark mode colors (except title bar, menu items and scroll bar colors).
Close #10145
2021-07-14 03:33:36 +02:00
ozone10
b3fdfdd064
Improve DarkMode toggling
...
Make choosing dark tone to not require turning back to light mode.
Close #10141
2021-07-12 01:32:51 +02:00
Don Ho
39b9090b96
Make Notepad++ dark mode colors customizable
...
Add 6 more color choices.
Close #10128
2021-07-10 14:18:36 +02:00
ozone10
066ef8a4a0
Make dark mode restartless
...
Fix #10121 , close #10122
2021-07-09 12:25:49 +02:00
ozone10
ae56255be6
Enhance listview column header in dark mode
...
Use different approach to make listview header dark.
Close #10106
2021-07-06 19:41:37 +02:00
ozone10
75643560a3
Improve dynamic switching for scrollbars.
...
For main and sub edits, finder (search result docking window) and clipboard history panel.
Fix #10083 , close #10084
2021-06-30 16:42:27 +02:00
Don Ho
60105d68f7
Fix Doc Switcher panel not follow theme in dark mode
...
Plus add highlightHotTrackColor in dark mode & clean up.
2021-06-30 16:02:34 +02:00
ozone10
1da707128a
Fix regression: disable Explorer Theme for TreeView
...
Ref: #10061
Close #10062
2021-06-28 02:18:59 +02:00
ozone10
219cec8000
Allow dynamic dark/light mode change for tooltips
...
Fix #10059 , close #10060
2021-06-24 03:44:15 +02:00
mere-human
6a4ef408f2
Fix GCC compiler warnings in Notepad++
...
Fix #10037 , close #10048
2021-06-23 12:49:06 +02:00
Don Ho
296e1c695e
Fix root menu item mouse hover color issue while being back in light mode
...
https://github.com/notepad-plus-plus/notepad-plus-plus/pull/10039#discussion_r656151554
2021-06-23 02:33:15 +02:00
ozone10
c8be679cde
Use Explorer theme for list- and tree-views
...
Apply Explorer theme on list- and tree-views.
Allow dynamic change between dark and light mode in these views.
Add border to document switcher for consistency.
Refactor code in TreeView.cpp to make it consistent.
Fix #10055 , close #10056
2021-06-23 01:53:31 +02:00
Don Ho
e4ebeed6f9
Make Project Panel toolbar conform to dark mode
...
Close #10039
2021-06-21 13:00:10 +02:00
ozone10
a6bbdeb92e
Make line above panel toolbar dark in dark mode
...
Fix #10043 , close #10042
2021-06-21 12:48:12 +02:00
ozone10
ffbf3af029
Make DarkMode title bar to apply on all dialog on dark mode
...
Also remove border from clipboard history panel.
Close #10023
2021-06-20 19:09:35 +02:00
Don Ho
bef4da61be
Provide the whole set of arguments to initialize "Colors" structure
...
9c13d657c9 (r52399592)
2021-06-20 15:07:48 +02:00
Don Ho
9c13d657c9
Better look & feel in dark mode
...
Fix #9982
2021-06-15 17:48:21 +02:00
ozone10
467870d66e
Add DarkMode Tooltips
...
Fix #9962 , close #9963
2021-06-13 00:35:12 +02:00
Adam D. Walling
7e139e1ba2
Remove menubar white line under dark mode
...
Fix #9984 , close #9985
2021-06-11 20:15:09 +02:00
Adam D. Walling
ceca91557b
Fix disabled checkboxes in dark mode
...
Fix the following issue:
https://community.notepad-plus-plus.org/topic/21228/notepad-v8-release-candidate-2?_=1622335986466
Close #9919
2021-05-30 07:52:48 +02:00
Adam D. Walling
1089e239ba
Add the capacity to customize the color of Notepad++ (not only dark)
...
1. Customizable colors easily handled now by tweaking a few custom drawing implementations.
2. make dark mode less intense by default.
Close #9848
2021-05-10 12:14:03 +02:00
Adam D. Walling
85aaef2fba
Dark Mode independent of OS setting
...
Close #9802
2021-04-27 01:38:24 +02:00
Adam D. Walling
bd6dbd4bb6
Add dark mode in find/replace dialog
...
Dark Mode find/replace dialog box! Also supporting buffered paint animation for darkmode checkbox/radiobutton control states
Close #9800
2021-04-26 17:57:22 +02:00
Adam D. Walling
5a3bf49c86
Add Dark Mode for not attracting bugs
...
Toolbar, status bar, tab bar, menu bar, dark scrollbar, handle switching between light and dark, docking splitters and headers, flicker fixes. Minor tweaks to DarkMode.h. Mostly handles the dark mode request for the main interface for #7692 and also follows the windows system theme settings like #9183 .
Fix #9183 , fix #7692 , close #9587
2021-04-23 16:22:57 +02:00