pebble-scalable 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +9 -1
  2. package/dist.zip +0 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -41,7 +41,10 @@ If a percentage isn't precise enough, the x/y or w/h can be nudged by some pixel
41
41
 
42
42
  ```c
43
43
  // A rect nudged by 5px in x and 2px in y
44
- const GRect precise = scalable_nudge_xy(scalable_grect(100, 100, 200, 200), 5, 2);
44
+ GRect precise = scalable_nudge(scalable_grect(100, 100, 200, 200), 5, 2);
45
+
46
+ // Nudge more only on Emery
47
+ precise = scalable_nudge_emery(precise, 5, 2);
45
48
  ```
46
49
 
47
50
  ## Centering
@@ -102,3 +105,8 @@ graphics_draw_text(
102
105
  NULL
103
106
  );
104
107
  ```
108
+
109
+ ## TODO
110
+
111
+ - [ ] Solution for picking bitmaps (to work with their scalable GRects)
112
+ - [ ] Functions per-platform
package/dist.zip CHANGED
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pebble-scalable",
3
3
  "author": "Chris Lewis",
4
- "version": "1.3.0",
4
+ "version": "1.4.0",
5
5
  "files": [
6
6
  "dist.zip"
7
7
  ],