Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-05-07 | dont focus on click | mbkma | 1 | -0/+1 | |
2019-05-07 | mp-equation: add pre-defined physical constants | mbkma | 1 | -4/+43 | |
This adds some fundamental physical constants: - Velocity of Light "c₀", 299,792,458 m/s - Magnetic constant, "μ₀", 1.2566370614×10⁻ N/A² - Electric constant, "ε₀", 8.85418782×10⁻¹² s⁴A²/m³kg - Newtonian constant of gravitation, "G", 6.67408×10⁻¹¹ m³/(s²kg) - Planck constant, "h", 6.62607004×10⁻³⁴ m²kg/s - Elementary charge, "e", 1.6021766208(98)×10⁻¹⁹ C - Electron mass, "mₑ", 9.10938356×10⁻³¹ kg - Proton mass, "mₚ", 1.672621898(21)×10⁻²⁷ kg - Avogrado constant, "Nₐ", 6.02214086×10²³ mol⁻¹ They are taken from https://en.wikipedia.org/wiki/Physical_constant#Universal_constants To insert them one would enter the corresponding symbol or use the gui. They are set to a MPNumber from string. | |||||
2019-05-06 | buttons-ui: add destructive-action style to 'clear' button | mbkma | 1 | -0/+3 | |
2019-05-06 | buttons-ui: add style class "suggested-action" to result button | mbkma | 1 | -4/+7 | |
This gives the result (=) button a theme defined colour. Currently has effects in Menta theme. Saw this on gnome-calculator. | |||||
2019-05-04 | Use gresources for UI files | rbuj | 1 | -0/+951 | |
.ui files are combined into a binary resource bundle, and they are marked as compressed, so they will be automatically uncompressed when the resource is used. REF https://developer.gnome.org/gio/stable/GResource.html |