Commit Graph

36 Commits

Author SHA1 Message Date
Alexander Bock
2e6465d888 Correctly order the Property::Visibility enum 2017-07-22 23:09:38 -04:00
Alexander Bock
04bac9293b Encapsulate identifier, guiName, and description into a PropertyInfo struct 2017-07-22 17:36:03 -04:00
Alexander Bock
b584f0197e Add description to Propertys 2017-07-21 16:31:58 -04:00
Alexander Bock
40926aa68f Remove <any> include 2017-07-17 16:19:26 -04:00
Alexander Bock
0e9edaeb12 Fix byte order mark commits
Update Ghoul
2017-07-17 15:54:00 -04:00
Alexander Bock
90e0364c5a Revert to using ghoul::any due to lack of support on macOS 2017-07-17 13:46:35 -04:00
Alexander Bock
4dba552fd1 Started switching OpenSpace projects to nested namespaces
Various cleanups
2017-07-15 20:01:55 -04:00
Alexander Bock
3b1c2b37a0 Update ghoul repository
Adapt to the change from ghoul::any to std::any
2017-07-15 18:13:52 -04:00
Alexander Bock
314c6c0848 Enable Property to have multiple callbacks 2017-07-11 14:23:17 -04:00
Alexander Bock
f22be1273a Fix property visibility to correctly ignore hidden properties 2017-05-19 16:57:12 -04:00
Alexander Bock
2e38f29eb0 Enable color picking for vec3 and vec4 properties marked as color properties 2017-05-16 14:47:17 -04:00
Emil Axelsson
0cdceddeee Rename None to Hidden, to avoid collision with X11 and reset data path 2017-03-06 10:33:30 +01:00
Alexander Bock
fb67e805ac Various cleanup
Add script that counts the number of includes
2017-03-02 19:50:05 -05:00
Alexander Bock
94e3e11188 Update copyright header to 2017
Update Ghoul repository
Remove libgdal link
2017-02-06 18:02:01 -05:00
Alexander Bock
d139dd2d22 Clean include guards in OpenSpace core
Remove unused files
2016-12-09 13:54:22 +01:00
Alexander Bock
7ffcf81235 Add visibility setting to the property classes (closing #166) 2016-11-23 23:24:07 +01:00
Alexander Bock
7086440384 Turn property identifier and guiName specification into prerequisites
Allow NumericalProperty's min and max value to be changed after construction
2016-09-07 11:24:04 +02:00
Alexander Bock
9fb7814145 Add visibility toggle to Property base class
Restructure GuiPropertyComponent to take a source function that returns a list of PropertyOwner%s instead of registering individual properties
Apply restructuring
2016-06-28 14:50:53 +02:00
Alexander Bock
906470f28e Untabify the rest of the source files
Update Ghoul repository
2016-04-18 20:14:29 +02:00
Alexander Bock
c3aa8fecc2 Update ghoul to account for removed boost dependency 2016-03-15 23:59:57 +01:00
Alexander Bock
877a4d1ba6 Updated copyright header 2016-02-05 17:43:21 +01:00
Alexander Bock
03994b2758 Renamed getLua, setLua, getString, and setString methods to add "Value" to the end of the method name
Added documentation for getString/setString methods
2015-07-05 16:37:03 +02:00
Alexander Bock
75a64e770f Enable Properties to be set by strings 2015-07-05 16:23:48 +02:00
Alexander Bock
a6ebddb8eb Updated copyright header in all files 2015-02-17 14:20:03 +01:00
Alexander Bock
6360a5f66a Add methods for generating Property descriptions 2014-12-12 14:47:08 +01:00
Alexander Bock
119b1eb335 Started work to produce descriptive output for Properties in preparation for GUI generation 2014-12-11 23:41:31 +01:00
Alexander Bock
fe73550b55 Add a TriggerProperty that fires a single event when a value is passed 2014-12-09 23:31:05 +01:00
Alexander Bock
4e65aaafe2 Add method to get fully qualified id to Propertys 2014-12-06 17:19:25 +01:00
Alexander Bock
659b4ff3b8 Added documentation to PropertyOwner 2014-09-07 15:54:17 +02:00
Alexander Bock
eb7d1aac06 Added documentation to Property class
Modified callback function mechanism to only allow one call back function to be present
2014-09-07 15:02:35 +02:00
Alexander Bock
e7697a4ce0 Enable setting and getting property values from Lua scripts 2014-08-31 17:52:02 +02:00
Alexander Bock
5add1682d3 More work on properties
Added notify method to templateproperty's set method
Fixed names of subpropertyowners
2014-08-31 16:08:19 +02:00
Jonas Strandstedt
d7eb868dde Static assert fix and minor changes 2014-05-05 11:12:11 -04:00
Alexander Bock
ac38f73faa More property work
Add StringProperty
Add possibility for callbacks
Switch RenderablePlanet to use Properties
2014-05-03 19:53:12 +02:00
Alexander Bock
90931bb619 More Property work
Cleaning up Property classes
Added property owner
2014-05-03 17:58:04 +02:00
Alexander Bock
47c3656b04 Apply changes in directory structure to properties 2014-04-03 11:21:11 -04:00