Windows issues parsing these characters. Bug fix for entering edit mode without setti...
[cowl.git] / NOTES
blob5074240096d34eb18a980b9ddfe76174edc3cdd3
3 INPUT What kind of exclusive input locks do we need?
5 DYNLAYOUT What kind of callbacks determine the dimensions?
7 cowl-widget
8   has ideal-size and current-size in both dimensions, 
10   cowl-button
11     TODO LOCK when button held (lock button-up, click only if released over target)
13   cowl-input
14     INPUT when selected (lock keyboard)
15     INPUT when button held (lock mouse motion (selection))
17     cowl-numeric-input
19   cowl-slider
20     INPUT when button held (lock mouse motion)
22   cowl-text
23     DYNLAYOUT text may determine size
25   cowl-container
26     DYNLAYOUT contents may determine size
27     two modes of size determining:
28       expand n: use minimum of n, expanding to fit all current (or ideal?!?!) sizes
29       weight n: balanced weights? how does this work again?!?!
31   cowl-viewport
32   cowl-graph
33   cowl-progress
36 focus model
38   input-editor state
40   accept-focus-p:
41     button
42     input
44   before focus:
45     defocus current
47   input blur:
48     leave edit mode with: save current contents? I think so.
50   input focus:
51     enter edit mode
53   focus next(container current):
54     find current in row
56   mouse button event:
57    propogate down widgets:
58      button:
59        down: focus
60        fire event: left/middle/right, down/up
61        up: focused? fire click
62      input:
63        down: focus, start selection?
64        up: selection functions
65   wheel events:
66     propogate down containers:
67       button:
68         no focus, i think
69         fire event: zrel
70   key events:
71     send to focused widget:
72       input:
73         motion keys modify input-editor state
74         esc: revert
75         tab: confirm and focus next
76         TODO return: insert linebreak
77         characters insert
79     
80      
81 LAYOUT... how is this happening?
84 widget properties:
85   ideal size
86   current size
89 strategies:
90   expand: set to ideal size
91   weight: share remaining size
94 compute ideal size:
95   find maximum ideal size for each row/col