Commit Graph

11243 Commits

Author SHA1 Message Date
Émilie Feral
d14107b2bc [escher] add a method reloadData to table view
Change-Id: I1b07a323d2f83783dd81fe870a461e5851163501
2016-10-14 12:39:02 +02:00
Émilie Feral
a116db9b4a [apps/graph/values] Enable the parameter page to edit the interval
Change-Id: I78de132a3b2d7bce2acd852781ef04bead7be55f
2016-10-14 12:38:54 +02:00
Émilie Feral
f8f51cd8b5 [apps/graph] Add a global context pointer in graph app
Change-Id: Ib5e7ff438f5afa663918f58a0f24c223ae1bb561
2016-10-14 12:24:33 +02:00
Émilie Feral
ee02edee35 [escher] In text view, clean how exception (nullptr) are handled
Change-Id: Ibd1c3939c910a3da741bb92f8b341e02cf0bb63c
2016-10-14 12:24:32 +02:00
Émilie Feral
f3428f28e5 [apps/graph/value] Add methods -get/set- to the class interval
Change-Id: I77a506a9bd689979a09706bb10403f5db0a90758
2016-10-14 12:24:27 +02:00
Émilie Feral
b8b52e2d73 [escher] create a class float table view cell
Change-Id: Ie0d0e701d60ccdd492760bcdc5857470fcd1a255
2016-10-14 12:06:09 +02:00
Émilie Feral
a7fdf442a9 [escher] create a class float view
Change-Id: Ic81de75b5a7aa3965a1851cadfb612d828908f2a
2016-10-14 12:06:09 +02:00
Émilie Feral
d647178ccd [apps/graph/values] Delete temporary methods to convert float to string
Change-Id: I363d933b0adce80b4cde8800f5c94864b31fcefa
2016-10-14 12:06:09 +02:00
Émilie Feral
bac174ebfc [poincare] In float, add method to convert float to text
Change-Id: I9a85c02e0b2843ee999847b821b9d24f1452eb5d
2016-10-14 12:06:00 +02:00
Émilie Feral
96a9ac3a9c [apps/graph] Wrap in namespace Graph
Change-Id: I08b37438f42749ff86e105770cd5aa566f84a237
2016-10-14 11:47:19 +02:00
Émilie Feral
fef2e3ae68 [apps/graph] use GraphContext to evaluate function at abscissa
Change-Id: Id9832203bb550a72296d1b9396b6244f9bd8bcce
2016-10-14 10:24:18 +02:00
Émilie Feral
6194f539f6 [apps/graph] create a class evaluate context
Change-Id: Ib3cbc9121c3c96dafd88fb9ea695be3bcf380775
2016-10-14 10:24:18 +02:00
Émilie Feral
7156ce81b5 [escher] Modify header view controller to handle the logic without data
Change-Id: I87b544e39f24961683085af3f6060be357ee4f24
2016-10-14 10:24:10 +02:00
Émilie Feral
c28f7bc6c7 [escher] Implement minimlSizeForOptimalDisplay in text view and button
Change-Id: I86cbc1cc9314623a1deb69f2dd36ac8c45338d92
2016-10-13 09:53:06 +02:00
Émilie Feral
76c99f8944 [escher] In view, add a method to get the minimal size to be displayed
Change-Id: Idbca819dc461c60b122b97c6eb2e32ebf383cabe
2016-10-13 09:37:56 +02:00
Émilie Feral
ff0fc6eb2c [escher] In input view controller, do not handle when invisible
Change-Id: I5c235a1da638e5552dfa6b43bbce4d71e51ea5ce
2016-10-12 18:04:28 +02:00
Émilie Feral
9c92fa4604 [apps/graph/values] Clean tab spaces
Change-Id: I5646fde32d78caf7a6fd66bb71e235a9af259ff3
2016-10-12 18:03:46 +02:00
Émilie Feral
ab37a15b3b [escher] Correct bug: update the subview layout when resizing the content view
Change-Id: I5941ca52d2b53332ab6d4cd03312862e9f48c71c
2016-10-12 17:39:54 +02:00
Émilie Feral
7ba8c9e0e8 [kandinsky] add method to test equality/inequality between KDPoints
Change-Id: I39d3c66e2e3c32adc386e050b221725620e8919b
2016-10-12 17:39:54 +02:00
Émilie Feral
5b1078175a [apps/graph/values] Implement the action linked to the button "Regler l'intervallle"
Change-Id: I60a8c11b518f6f5c6e68908f0f99341e0c350af9
2016-10-12 17:39:54 +02:00
Émilie Feral
8fd83716e3 [apps/graph/values] Add a parameter controller as instance variable in the values controller
Change-Id: Id9196e2a4488cf0c39ca6d84f2378f5b445053d0
2016-10-12 17:39:54 +02:00
Émilie Feral
5325dfd38f [apps/graph/values] Create a simple version of the parameter page of the table of values
Change-Id: Ic4a1091ba3c49097f838df13aa03a802497af873
2016-10-12 17:39:54 +02:00
Émilie Feral
d38ba7e3d3 [escher] Modify header view controller to contain 3 buttons instead of 3 text views
Change-Id: I43b60e9a3fc61255015029c61c8d1b19de924a52
2016-10-12 17:39:54 +02:00
Émilie Feral
6b16752574 [escher] Create a class button
Change-Id: I6236925a4d8720d4e6e1c39483cf904d39d2031b
2016-10-12 17:39:54 +02:00
Émilie Feral
c7d5998660 [apps/graph/values] Make the values controller inherits from header view controller
Change-Id: I9a21d9029f5cd1b2c881193b91308b481d2d8e15
2016-10-12 17:39:53 +02:00
Émilie Feral
132a46bdb9 [apps/graph/graph] make the graph controller inherits from header view controller
Change-Id: If1e067b775f0704ed4380158119108bfc72b0ae2
2016-10-12 17:39:53 +02:00
Émilie Feral
0dafbcbd26 [apps/grpah/list] Make the list controller inherits from header view controller
Change-Id: I1164b53b3cb926108c6cb768eed460fd26963528
2016-10-12 17:39:53 +02:00
Émilie Feral
890f144a4a [escher] create a class header view controller
Change-Id: I8cd2311ca3a878e545be3e260cabb8c227fef7f4
2016-10-12 17:39:53 +02:00
Émilie Feral
9ad6cddcec [escher] add a method in text view to get the size of the printed text
Change-Id: I53eb2b403d455788e1a9a53f73e205ed322ac468
2016-10-12 17:39:53 +02:00
Émilie Feral
d7b5303313 [escher] Correct bug in input view controller: enable to handle ESC/ENTER only when the text view is visible
Change-Id: Iedbbd1f2df46771b95fd585b2c6cd4bef8c7211d
2016-10-12 17:39:53 +02:00
Émilie Feral
2b8df283e2 [apps/graph/values] Add a parameter in float_to_string to cap the number of significative number
Change-Id: I8406a910c176da13147fe0235b183ea22dc4faa0
2016-10-12 17:39:53 +02:00
Émilie Feral
2aa227ce0f [apps/graph/values] add an interval in values controller
Change-Id: I3ff16e6baaf91e8351f6b1ec756291af447c9fbf
2016-10-12 17:39:53 +02:00
Émilie Feral
300d595c9d [apps/graph/values] Create a class Interval
Change-Id: Ie05a9887c0f3d4146b9e90a139f57e6eec7981b1
2016-10-12 17:39:53 +02:00
Émilie Feral
0d98d57031 [apps/graph/values] add margin to the table of values
Change-Id: I606917b6dc0313a1b9041993aa1315ad7c15f089
2016-10-12 17:39:53 +02:00
Émilie Feral
3360275cea [apps/graph/graph] call method to evaluate functions to display curves
Change-Id: I87e6cce28d491b6298ac5a10b2d2b518051d3fd4
2016-10-12 17:39:53 +02:00
Émilie Feral
604e2211ab [apps/graph/function] Add a method to evaluate the function
Change-Id: I54516369bbbde8d65d98ad41d6e94cd3780e6162
2016-10-12 17:39:53 +02:00
Émilie Feral
440bf4d187 [escher] improve the drawing of tabs
Change-Id: I52d4f36087258f0c7fc9f7450ca77a0d2ae77aad
2016-10-12 17:39:52 +02:00
Émilie Feral
a4a0a4b298 [apps/graph/list] improve the drawing of the list of function
Change-Id: I0e0ea607988fdb6debeb7c48a04945519859db19
2016-10-12 17:39:50 +02:00
Émilie Feral
4f72c379f3 [apps/graph] add the table of values in graph app
Change-Id: I878362d63afddc10afa5114b9cf3afbca3b34db2
2016-10-12 17:38:53 +02:00
Émilie Feral
68db109faf [escher] add a third tab in tab view controller
Change-Id: Ia0c3f252a3779e9506c25bd894aac43f486cba8b
2016-10-12 17:38:53 +02:00
Émilie Feral
b4eb64ea76 [apps/graph/values] add a controller of the table of values
Change-Id: Ie294d85c3c31871372cf82ae9828382adb55d1ef
2016-10-12 17:38:53 +02:00
Émilie Feral
9f762f81ff [apps/values] add a class of value cell inheriting from even odd cell
Change-Id: I2c03bb0323bb7e3df7c1d5098ba677812256178b
2016-10-12 17:38:53 +02:00
Émilie Feral
016e42050f [apps/graph/values] Add a class of title cell inheriting of even odd cell
Change-Id: I013659fe18c9d6b69b3f718f1974384298a71a56
2016-10-12 17:38:53 +02:00
Émilie Feral
5004b3af9c [apps/graph/values] add a temporary methods to print float in a buffer
Change-Id: Ib81339b4b7e41a59f20432c90310a8aee68c9299
2016-10-12 17:38:53 +02:00
Émilie Feral
bda1982db0 [apps/graph] Add methods to find active functions in function store
Change-Id: Ibe7242b945160b8917421186d061c46301bb004d
2016-10-12 17:38:52 +02:00
Émilie Feral
22271b1f74 [apps/graph/list] Improve the drawing of the list of functions
Change-Id: I5325ed1a8959b55958dfd14c111e5369aed4ce81
2016-10-12 17:38:40 +02:00
Émilie Feral
fc5e282edf [apps/graph] Put the function variable name "(x)" in function
Change-Id: I0bd287363e4fc957a72dacef1a8f61f1c276da7e
2016-10-11 10:31:50 +02:00
Émilie Feral
c3524fa287 [apps/graph/list] make the class function cell inherits from even odd cell class
Change-Id: I8c786d76c7be726b2672713a5150dce5abb12061
2016-10-11 10:31:50 +02:00
Romain Goyet
72f9fa9bd5 [poincare] Use libm to eval trig functions
Change-Id: I6d0d505829b0f0e4c05f84715dea42b921f63f55
2016-10-07 20:11:22 +02:00
Romain Goyet
183efe9257 [liba] Import trigonometric function from OpenBSD's libm
Change-Id: Ib192451a0063388e0438bdef5e7ae776ed058e19
2016-10-07 20:10:57 +02:00