swk

static widget kit
git clone git://git.suckless.org/swk
Log | Files | Refs | README | LICENSE

TODO (1643B)


      1 TODO
      2 ====
      3   * install and load ttf font. allow to override font path
      4   * define default image path in config.h
      5   * change cursor
      6   * change window title in runtime?
      7   * how to schedule a function to be executed in N ns?
      8   * Add thresold to detect click and pan
      9   * implement a top bar to mark selected column
     10   * support multiline text widget
     11   * support for user-defined input handler
     12     (when input widget is activated, run xterm -e vim str > text)
     13   * add support for negative colpos (align to right)
     14   * receive fine-grained x,y in Point? for sketch or imaging stuff is important
     15   * support for clipboard (implemented in gi_ backend)
     16   * simple way to define callback for buttons instead of reimplementing widget (?)
     17   * full text editing widget (multiline, cursor support, text format, ...)
     18     - this must be done with an external input handler (use vim, dmenu, .. )
     19   * mouse bindings in config.h (which mouse bindings we need? wheel to scroll?)
     20     - add horitzonal scroll wheel support
     21   * add support to resize images (scaling)
     22   * only focus buttons and entries (input widgets)
     23     - will make the design inconsistent and the code more complex
     24 
     25 Events
     26 ======
     27   * We need a way to enqueue events
     28   * add function to click button 1, 2, 3, ... // clicking from code..
     29 
     30 Think about a decent absolute/relative
     31 ======================================
     32   * column split position (w->colpos)
     33   * scrolling box (..)
     34   * font size (font_inc, font_dec, font_set)
     35 
     36 Design rules
     37 ============
     38   * useful
     39   * usable
     40   * transparent
     41   * either discoverable or well-documented
     42   * reliable
     43   * as simple as possible, and no simpler
     44   * customizable