Fix wallpaper transparency, Recents setup guide, drawer animation, and widget resizing (#2)
This commit was merged in pull request #2.
This commit is contained in:
1 parent
2fa7bd745b
commit
3070db4fb4
15 files changed
+1011
-161
No files matched your search
+22
-1
@@ -60,7 +60,9 @@ pub(all) struct Carry {
|
||||
|
||||
#derive(Eq, @debug.Debug)
|
||||
pub(all) enum Edge {
|
||||
Left
|
||||
Right
|
||||
Top
|
||||
Bottom
|
||||
Corner
|
||||
}
|
||||
@@ -75,6 +77,8 @@ pub(all) enum Effect {
|
||||
OpenSettings
|
||||
PickWallpaper
|
||||
OpenRecents
|
||||
OpenAccessibilitySettings
|
||||
OpenSelfAppInfo
|
||||
Haptic
|
||||
LoadApps
|
||||
LoadWidgets
|
||||
@@ -122,6 +126,8 @@ pub(all) struct Model {
|
||||
mut query : String
|
||||
mut wquery : String
|
||||
mut drawer : Bool
|
||||
mut drawer_closing : Bool
|
||||
mut drawer_gen : Int32
|
||||
mut picking : Bool
|
||||
mut sheet : Sheet
|
||||
mut gone : String
|
||||
@@ -147,10 +153,12 @@ pub(all) struct Model {
|
||||
mut gesture : @gesture.State
|
||||
}
|
||||
pub fn Model::app_row(Self, String) -> Int32
|
||||
pub fn Model::drawer_open(Self) -> Bool
|
||||
pub fn Model::first_match(Self) -> Int32
|
||||
pub fn Model::first_widget_match(Self) -> Int32
|
||||
pub fn Model::hidden(Self, Int32) -> Bool
|
||||
pub fn Model::home_of(Self, Int32) -> Int32
|
||||
pub fn Model::icon_keys(Self) -> Array[String]
|
||||
pub fn Model::new() -> Self
|
||||
pub fn Model::packed(Self) -> @grid.Packed
|
||||
pub fn Model::slot_of_widget(Self, Int32) -> Int32
|
||||
@@ -160,7 +168,7 @@ pub fn Model::widget_matches(Self, Int32) -> Bool
|
||||
pub(all) enum Msg {
|
||||
Restore(saved~ : String?, legacy~ : String?)
|
||||
Started(now~ : Int64, last_check~ : Int64, declined~ : Int32, installed~ : Int32)
|
||||
Measured(vw~ : Int32, vh~ : Int32, grid_left~ : Double, grid_top~ : Double, grid_w~ : Double, bottom_pad~ : Double)
|
||||
Measured(vw~ : Int32, vh~ : Int32, grid_left~ : Double, grid_top~ : Double, grid_w~ : Double, bottom_pad~ : Double, scroll_y~ : Double)
|
||||
AppsLoaded(String?)
|
||||
WidgetsLoaded(String?)
|
||||
LimitsKnown(Int32, String?)
|
||||
@@ -182,6 +190,7 @@ pub(all) enum Msg {
|
||||
WClear
|
||||
OpenDrawer
|
||||
CloseDrawer
|
||||
DrawerClosed(Int32)
|
||||
OpenApp(Int32)
|
||||
OpenFirst
|
||||
OpenHome(Int32)
|
||||
@@ -202,6 +211,9 @@ pub(all) enum Msg {
|
||||
Settings
|
||||
Wallpaper
|
||||
Recents
|
||||
RecentsUnavailable
|
||||
OpenAccessibilitySettings
|
||||
OpenSelfAppInfo
|
||||
CheckUpdates
|
||||
Lift(Int32)
|
||||
Grab(Int32)
|
||||
@@ -217,6 +229,14 @@ pub(all) struct ResizeDrag {
|
||||
slot : Int32
|
||||
left : Double
|
||||
top : Double
|
||||
right : Double
|
||||
bottom : Double
|
||||
anchor_col : Int32
|
||||
anchor_row : Int32
|
||||
right_col : Int32
|
||||
bottom_row : Int32
|
||||
mut col : Int32
|
||||
mut row : Int32
|
||||
mut cols : Int32
|
||||
mut rows : Int32
|
||||
}
|
||||
@@ -228,6 +248,7 @@ pub(all) enum Sheet {
|
||||
Item(Int32)
|
||||
DrawerApp(Int32)
|
||||
WidgetPicker
|
||||
RecentsSetup
|
||||
}
|
||||
|
||||
pub(all) struct WidgetInfo {
|
||||
|
||||
Reference in new issue
Block a user