make colors easier to edit
[?]
Jul 12, 2022, 6:03 AM
4KC7I3E2DIKLIP7LQRKB5WFA2Z5XZXAU46RFHNFQU5BVEJPDX6UQCDependencies
- [2]
FHSZYAZ2more precise search highlighting - [3]
C6QTJYA4keep online help inside of drawing - [4]
2L5MEZV3experiment: new edit namespace - [5]
LUNH47XXmake text and drawings the same width - [6]
J2SVGR2Eexperiment: blinking cursor - [7]
NUCZBE77bugfix: alignment of help screen - [8]
DAENUOGVeliminate assumptions that line length == size in bytes - [9]
6J3NXBYGaffordance to adjust width for word wrap - [10]
OIB2QPRCstart remembering where the cursor is drawn in px - [11]
AH744RFRshow when we're naming a point - [12]
HIKLULFQextract a function - [13]
GSV7DABCmake online help fit within a drawing - [14]
5DOC2CBMextract a function - [15]
BZRRUIFQcorrect location of the line width slider - [16]
MP2TBKU6bugfix: crash in Text.up() after return - [17]
WTDKUACNrectangle and square shapes - [18]
M6TH7VSZrip out notion of Line_width - [19]
LXTTOB33extract a couple of files - [20]
2TQR4PSYadd args to some functions - [21]
U7M4M2F7bugfix: don't rely on Screen_bottom1 while scrolling - [22]
HOSPP2ANcrisp font rendering - [23]
BYG5CEMVsupport for naming points - [24]
C45WCXJ2keep drawings within the line width slider as well - [25]
NYQ7HD4Dmove - [26]
XOAHJ6M3similar tests for cursor up - [27]
4VKEE43Zbugfix - [28]
GK47BBCYstart passing left/right margins everywhere - [29]
B3IWYWSRdelete another arg that can be deduced - [30]
H22OAXWEcouple of TODOs - [31]
E6TMJY2Tlighter color for in-progress strokes - [32]
5DOTWNVMright margin - [33]
Z4XRNDTRfind text - [34]
BULPIBEGbeginnings of a module for the text editor - [35]
XNFTJHC4split keyboard handling between Text and Drawing - [36]
YJGADSGKdelete unused arg - [37]
BLWAYPKVextract a module - [38]
DXT4QTAHa few more integer coordinates - [39]
H2DPLWMVsnapshot: wrapping long lines at word boundaries - [40]
VHQCNMARseveral more modules - [41]
3TFEAQSWstart using some globals - [42]
NQH7DEEWbugfix: missed rename in one file - [43]
JFFUF5ALoverride mouse state lookups in tests - [44]
LAW2O3NWextract variable Margin_left - [45]
CVGE3SIGI feel confident now that page-down is working. - [46]
BOFNXP5Gclicking now moves the cursor even on long, wrapped lines - [*]
3QNOKBFMbeginnings of a test harness - [*]
AVTNUQYRbasic test-enabled framework
Change contents
- replacement in text.lua at line 14[5.22]→[5.109:141](∅→∅),[5.26]→[5.109:141](∅→∅),[5.50]→[5.109:141](∅→∅),[5.63]→[5.109:141](∅→∅),[5.113]→[5.109:141](∅→∅),[5.1166]→[5.109:141](∅→∅),[5.1746]→[5.109:141](∅→∅),[5.109]→[5.109:141](∅→∅)
love.graphics.setColor(0,0,0)App.color(Text_color) - replacement in text.lua at line 62
love.graphics.setColor(0,0,0)App.color(Text_color) - replacement in text.lua at line 86
love.graphics.setColor(1,0,0)App.color(Cursor_color) - replacement in text.lua at line 88
love.graphics.setColor(0,0,0)App.color(Text_color) - replacement in select.lua at line 71
love.graphics.setColor(0.7,0.7,0.9)App.color(Highlight_color) - replacement in select.lua at line 73
love.graphics.setColor(0,0,0)App.color(Text_color) - replacement in search.lua at line 14
love.graphics.setColor(0,0,0)App.color(Text_color) - replacement in search.lua at line 16
love.graphics.setColor(1,0,0)App.color(Cursor_color) - replacement in search.lua at line 21
love.graphics.setColor(0,0,0)App.color(Text_color) - edit in icons.lua at line 3
function icon.line_width(x, y)love.graphics.setColor(0.7,0.7,0.7)love.graphics.line(x+0,y+0, x+9,y+0)love.graphics.line(x+0,y+1, x+9,y+1)love.graphics.line(x+0,y+2, x+9,y+2)love.graphics.line(x+0,y+3, x+9,y+3)love.graphics.line(x+0,y+4, x+9,y+4)love.graphics.line(x+0,y+5, x+9,y+5)love.graphics.line(x+1,y+6, x+8,y+6)love.graphics.line(x+2,y+7, x+7,y+7)love.graphics.line(x+3,y+8, x+6,y+8)love.graphics.line(x+4,y+9, x+5,y+9)end - replacement in icons.lua at line 4
love.graphics.setColor(0.7,0.7,0.7)App.color(Icon_color) - edit in icons.lua at line 8
love.graphics.setColor(0, 0, 0) - replacement in help.lua at line 2
love.graphics.setColor(0,0.5,0)App.color(Help_color) - replacement in help.lua at line 48
love.graphics.setColor(0,0.5,0, 0.1)App.color(Help_background_color) - replacement in help.lua at line 53
love.graphics.setColor(0,0.5,0)App.color(Help_color) - replacement in help.lua at line 127
love.graphics.setColor(0,0.5,0, 0.1)App.color(Help_background_color) - edit in edit.lua at line 1
-- some constants people might like to tweakText_color = {r=0, g=0, b=0}Cursor_color = {r=1, g=0, b=0}Stroke_color = {r=0, g=0, b=0}Current_stroke_color = {r=0.7, g=0.7, b=0.7} -- in process of being drawnCurrent_name_background_color = {r=1, g=0, b=0, a=0.1} -- name currently being editedFocus_stroke_color = {r=1, g=0, b=0} -- what mouse is hovering overHighlight_color = {r=0.7, g=0.7, b=0.9} -- selected textIcon_color = {r=0.7, g=0.7, b=0.7} -- color of current mode icon in drawingsHelp_color = {r=0, g=0.5, b=0}Help_background_color = {r=0, g=0.5, b=0, a=0.1} - replacement in edit.lua at line 117
love.graphics.setColor(0, 0, 0)App.color(Text_color) - replacement in drawing.lua at line 10[5.403]→[5.316:359](∅→∅),[5.1709]→[5.316:359](∅→∅),[5.2764]→[5.316:359](∅→∅),[5.4220]→[5.316:359](∅→∅),[5.6674]→[5.316:359](∅→∅),[5.18359]→[5.316:359](∅→∅),[5.316]→[5.316:359](∅→∅)
love.graphics.setColor(0.75,0.75,0.75)App.color(Icon_color) - replacement in drawing.lua at line 34
love.graphics.setColor(1,0,0)App.color(Focus_stroke_color) - replacement in drawing.lua at line 36
love.graphics.setColor(0,0,0)App.color(Stroke_color) - replacement in drawing.lua at line 43
love.graphics.setColor(1,0,0)App.color(Focus_stroke_color) - replacement in drawing.lua at line 46
love.graphics.setColor(0,0,0)App.color(Stroke_color) - replacement in drawing.lua at line 55
love.graphics.setColor(1,0,0,0.1)App.color(Current_name_background_color) - replacement in drawing.lua at line 68
love.graphics.setColor(0.75,0.75,0.75)App.color(Current_stroke_color) - edit in app.lua at line 158[49.6421][49.6421]
endfunction App.color(color)love.graphics.setColor(color.r, color.g, color.b, color.a)