Commit Graph

82 Commits

Author SHA1 Message Date
KINGbabasula
55600f4acc Use a macro for unused variables
Change-Id: I491bea842274029feb965b71c3a62b5953c2ce5c
2015-03-23 14:57:20 +01:00
KINGbabasula
5f73cc6c99 Silence warnings from unused variables
Change-Id: I4bebc7947770a26467f3435a4249fa34c94c266b
2015-03-22 10:38:36 +01:00
Vojtech Bocek
7acfe47db9 Fix kexec-hardboot check 2015-03-05 17:51:54 +01:00
Vojtech Bocek
ab9ba11467 Move brightness setting to framebuffer.c 2015-03-03 19:36:14 +01:00
Vojtech Bocek
87cfd90c01 Support device encryption with PIN 2015-03-01 22:30:53 +01:00
Vojtech Bocek
1887f526e7 Initial work on keyboard widget 2015-02-26 14:04:06 +01:00
Vojtech Bocek
7db8f34697 Move drawing, input and utils code into separate library 2015-02-16 21:01:06 +01:00
Vojtech Bocek
a45c2730b5 Implement "autoboot if no key pressed" 2014-09-27 17:53:08 +02:00
Vojtech Bocek
1067ed2994 Fix USB tab broken by tabview 2014-08-16 20:39:09 +02:00
Vojtech Bocek
fe44e01829 Remove unused checkbox class 2014-08-13 18:11:59 +02:00
Vojtech Bocek
87135c77fc Sync 'selected tab' rectangle with tabview 2014-08-12 17:30:23 +02:00
Vojtech Bocek
75135e83d6 Implement tabview 2014-08-12 02:23:07 +02:00
Vojtech Bocek
65f07d0233 Rewrite list_* API to make more sense 2014-08-11 23:15:44 +02:00
Vojtech Bocek
12d6876398 Fix bunch of memory leaks and deadlocks found by valgrind 2014-08-09 20:08:27 +02:00
Vojtech Bocek
2f1fd9270d Save screenshots as PNG, use power+volume down to take screenshots
* Screenshots are now saved as
  /sdcard/Pictures/Screenshots/mrom_screenshot_XXX.png
* You _have_ to press power button first
2014-08-08 02:14:33 +02:00
Vojtech Bocek
fd564124a4 Fix race condition in usb scanning code 2014-08-04 20:45:09 +02:00
Vojtech Bocek
678fc18866 Fix race condition in auto-boot code 2014-08-04 20:15:21 +02:00
Vojtech Bocek
85cfc83f05 Animation duration is now changeable with a coeficient from config 2014-08-03 21:18:42 +02:00
Vojtech Bocek
db8a427bd9 Add support for text items with multiple styles at once 2014-07-31 19:20:47 +02:00
Vojtech Bocek
71b7c64416 pthread_cond instead of futex in fb_force_draw, fix UI exit sequence 2014-07-23 21:54:22 +02:00
Vojtech Bocek
6cf8b65384 Re-implement landscape theme 2014-07-23 17:01:36 +02:00
Vojtech Bocek
b9e56b8aba Fix keyaction frame color, add hover to tab buttons, misc fixes 2014-07-23 15:45:44 +02:00
Vojtech Bocek
90a1c11195 Re-implement color themes, change internal color format to 0xAARRGGBB 2014-07-21 23:28:44 +02:00
Vojtech Bocek
74e768a75c Add reveal animation 2014-07-21 20:42:23 +02:00
Vojtech Bocek
f2b656f494 Re-implement boot error messages and auto-boot 2014-07-21 18:19:48 +02:00
Vojtech Bocek
36fe6c2db5 Fix keyactions in listview, enable booting into ROM via double tap 2014-07-04 22:18:11 +02:00
Vojtech Bocek
249167cc74 Bunch of API and/or random changes
* Rewrite fb_text API
* Support for multiple font styles (italic, bold, ...)
* Add animation cancel_check callback, which is called from
  anim_cancel_for() and if it returns true, animation will
  be canceled.
* Temporarily disable landscape theme
* Remove msgbox concept
* Fix background color in emergency screen
2014-07-04 00:29:25 +02:00
Vojtech Bocek
14f4828625 Random fixes and improvements
* Add black background and help text to pong
* Call last-added touch handlers first
* Always call all touch handlers, but set ev->consumed after
  first successful handler
* Fix fb_draw_rect on RGE565
2014-07-03 02:25:57 +02:00
Vojtech Bocek
7797f90eff Finalize listview visuals and animations
* Implement batching of framebuffer item changes
  - when you enter a batch, rendering is blocked
* Support changing of base background framebuffer color
2014-07-02 23:57:17 +02:00
Vojtech Bocek
781267384a Start redesign, WIP
* Implement callback animation type
* Framebuffer items now have levels which specify the order of rendering
* Framebuffer items now have parent rectangle which they can't draw outside of
* Rectangles now support alpha blending
2014-07-02 16:34:39 +02:00
Vojtech Bocek
c89614d18a Implement fb_item animations system 2014-07-01 20:51:48 +02:00
Vojtech Bocek
5bd8873cdc Replace fb_item_header struct with macro 2014-07-01 17:29:58 +02:00
Vojtech Bocek
57e4e5e583 Rewrite framebuffer drawing code to use truetype fonts 2014-07-01 16:21:03 +02:00
Vojtech Bocek
81bcd75b51 Merge branch 'master' into png 2014-04-20 22:09:52 +02:00
Vojtech Bocek
fe4d5abc22 Save internal tab's selection and position through tab change 2014-04-20 22:07:28 +02:00
Vojtech Bocek
ce5b9f1050 Save debug logs to no-root-required folder 2014-04-20 21:11:23 +02:00
Vojtech Bocek
e65fa5b38e Implement fb_force_draw() 2014-04-20 21:00:36 +02:00
Vojtech Bocek
fb6a845b11 Merge branch 'master' into png
Conflicts:
	framebuffer.c
2014-04-20 01:35:45 +02:00
Vojtech Bocek
9575484add Show icons in the ROM list 2014-04-20 01:20:26 +02:00
Vojtech Bocek
a122d70784 Ensure ROM selected by autoboot is visibile in the listview 2014-03-15 14:00:10 +01:00
Vojtech Bocek
cb6a47fcea Call fb_draw() only from separate thread, add MR_CONTINUOUS_FB_UPDATE 2014-03-10 17:48:49 +01:00
Vojtech Bocek
c2d29a88b5 Move containers to standalone file 2014-01-02 17:25:05 +01:00
Vojtech Bocek
13a2ff999f Minor UI modifications to better fit to 1080x1920 display 2013-12-10 17:06:54 +01:00
Vojtech Bocek
b6e870793f Add tramp_hook_before_device_init hook, move hooks to their own header 2013-12-09 18:53:02 +01:00
Vojtech Bocek
be7b7363e6 Add hook mrom_hook_before_fb_close() 2013-12-07 01:07:25 +01:00
Vojtech Bocek
628e150114 Add support for keys-only control - without the touchscreen 2013-10-05 19:29:50 +02:00
Vojtech Bocek
6a4d5558c2 Implement "workers" system 2013-10-02 21:32:49 +02:00
Vojtech Bocek
3d1322c0a6 Changes to bring up on flo
* framebuffer fixes
* kanged neon arm code for aplha blending from libpixelflinger
* added MR_DPI and MR_RD_ADDR device options
* implement DPI multiplier
* add 1200x1920 and 1920x1200 themes
* some crash-fixes
2013-09-07 21:04:39 +02:00
Vojtech Bocek
1b8d4f07ad Add diff. FB types (compatible with TWRP), ditch device_*.mk files 2013-09-07 17:26:18 +02:00
Vojtech Bocek
5a088281c1 License MultiROM under GNU GPLv3 2013-07-27 17:42:34 +02:00