Skip to content

Commit 46b9339

Browse files
committed
UI: added R157 colour theme #94
1 parent 028f94d commit 46b9339

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

ChangeLog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2020-03-07 (0.12.19)
2+
COMMON: implement DEFINEKEY undo #92
3+
14
2020-02-13 (0.12.19)
25
AUDIO: fix integration with latest version of miniaudio library
36

src/platform/fltk/MainWindow.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -974,6 +974,7 @@ MainWindow::MainWindow(int w, int h) :
974974
m->add("&View/Theme/&Shian", 0, set_theme_cb, (void *)(intptr_t)2);
975975
m->add("&View/Theme/&Atom 1", 0, set_theme_cb, (void *)(intptr_t)3);
976976
m->add("&View/Theme/&Atom 2", 0, set_theme_cb, (void *)(intptr_t)4);
977+
m->add("&View/Theme/&R157", 0, set_theme_cb, (void *)(intptr_t)5);
977978
m->add("&View/Text Color/_Background", 0, EditorWidget::set_color_cb, (void *)st_background);
978979
m->add("&View/Text Color/Text", 0, EditorWidget::set_color_cb, (void *)st_text);
979980
m->add("&View/Text Color/Comments", 0, EditorWidget::set_color_cb, (void *)st_comments);

src/ui/textedit.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,20 @@ const int atom2[] = {
156156
0x0083f8, 0xff9d00, 0x31ccac, 0xc679dd, 0x0083f8
157157
};
158158

159+
const int r157[] = {
160+
0x80dfff, 0xa7aebc, 0xffffff, 0xa7aebc, 0xa7aebc, 0xd0d6e1,
161+
0x2e3436, 0x888a85, 0x000000, 0x4d483b, 0x000000, 0x576375,
162+
0xffffff, 0xffc466, 0xffcce0, 0xffff66, 0x0083f8
163+
};
164+
159165
int g_user_theme[] = {
160166
0xc8cedb, 0xa7aebc, 0x484f5f, 0xa7aebc, 0xa7aebc, 0x00bb00,
161167
0x2e3436, 0x888a85, 0x000000, 0x4d483b, 0x000000, 0x2b313a,
162168
0x0083f8, 0xff9d00, 0x31ccac, 0xc679dd, 0x0083f8
163169
};
164170

165171
const int* themes[] = {
166-
solarized_dark, solarized_light, shian, atom1, atom2, g_user_theme
172+
solarized_dark, solarized_light, shian, atom1, atom2, r157, g_user_theme
167173
};
168174

169175
const char *helpText =

0 commit comments

Comments
 (0)