Skip to content

Commit

Permalink
Merge branch 'hotfix/0.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Schwarzbaer committed Feb 8, 2016
2 parents b63cf5d + 1c50317 commit cba7bba
Showing 1 changed file with 0 additions and 59 deletions.
59 changes: 0 additions & 59 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,62 +71,3 @@ TODO
* Logging console
* Use for regular logging and for debugging / profiling information
* (Only) Ship logs to server if explicitly requested to do so

LUI NOTES
---------

# Design elements
# Text style
# label.add(text="This", font_size=20, margin_top=-6, color=(0.4,0.2,1.0))
# Text alignment
# my_text.center_vertical = True
# Or center_horizontal
# my_obj.left = 10, right aligned: my_obj.right = 10
# Layout
# LUIVerticalLayout(spacing = 10, use_dividers = True)
# LUIFrame: FIXME
# LUISprite(parent, "blank", "skin", x=0, y=0, w=123, h=456, color=(bla))
# Margin as in CSS: top, right, bottom, left
# margin = (0, 0, 0, 0)
# Padding too. Also, a single number for all sides is possible.
# padding = 10
# color affects text color
# color=(0.4,0.0,0.0, 1.0)
# Other notes
# Be notified if child has changed its attributes
# .bind("child_changed", xxx)
# Questions
# Can I build from master again?
# How do I unset focus on input field?
# How do I get the cursor's position in an InputField / TextField?
# ._cursor_index, but that is not exposed yet
# What should I call when the window's / frame's size has changed?
# How do I make elements expand to the full available height or width?
# How do I create a skin?
# How do I design dividers and borders?
# By now, you can't influence borders.
# How do I use the cut buffer to C-v content into the InputField?
# What about Pos1/End?
# Open needs
# Text wrapping
# .bind("parent_changed", my_function_that_does_the_design)
# May not be a need after all
# LUITextArea, because LUIInputField is single-line only.




# Questions and Wants
# Where do fonts come from, and how do I set them?
# Why do elements and layouts have a different way of building the tree?
# What kind of pattern follows to create a class that encapsulates a tree of GUI elements?
# Subclassing the container, then using attributes to store widgets
# Colors; how do they work?
# Barely, and on few elements. Better use sprites.
# But then how do I create complex elements via inheritance?
# Why does a container, which has no color, darken the background?
# It's the default skin.
# Is there a complete list of design-related attributes?
# What about not-design-related ones?
# How come buttons take only three sprites (left, middle, right), while other
# elements take a 3x3 grid? Also, are the middle ones nx1 strips, or tiles?

0 comments on commit cba7bba

Please sign in to comment.