eframe-template #6
							
								
								
									
										
											BIN
										
									
								
								assets/favicon.ico
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								assets/favicon.ico
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 15 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								assets/icon-192.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								assets/icon-192.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 26 KiB  | 
							
								
								
									
										17
									
								
								assets/manifest.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								assets/manifest.json
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,17 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "eGUI Circles",
 | 
			
		||||
  "short_name": "circles",
 | 
			
		||||
  "icons": [
 | 
			
		||||
    {
 | 
			
		||||
      "src": "/icon-192.png",
 | 
			
		||||
      "sizes": "192x192",
 | 
			
		||||
      "type": "image/png"
 | 
			
		||||
    }
 | 
			
		||||
  ],
 | 
			
		||||
  "lang": "en-US",
 | 
			
		||||
  "id": "/index.html",
 | 
			
		||||
  "start_url": "./index.html",
 | 
			
		||||
  "display": "standalone",
 | 
			
		||||
  "background_color": "white",
 | 
			
		||||
  "theme_color": "white"
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										12
									
								
								index.html
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								index.html
									
									
									
									
									
								
							@ -1,13 +1,13 @@
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html>
 | 
			
		||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 | 
			
		||||
<meta http-equiv="Content-Type" charset="utf-8" />
 | 
			
		||||
 | 
			
		||||
<!-- Disable zooming: -->
 | 
			
		||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
 | 
			
		||||
<meta name="viewport" content="width=device-width, initial-scale=1.5, user-scalable=no">
 | 
			
		||||
 | 
			
		||||
<head>
 | 
			
		||||
    <!-- change this to your project name -->
 | 
			
		||||
    <title>eframe template</title>
 | 
			
		||||
    <title>egui Circles</title>
 | 
			
		||||
 | 
			
		||||
    <!-- config for our rust wasm binary. go to https://trunkrs.dev/assets/#rust for more customization -->
 | 
			
		||||
    <link data-trunk rel="rust" data-wasm-opt="2" />
 | 
			
		||||
@ -19,14 +19,10 @@
 | 
			
		||||
 | 
			
		||||
    <link data-trunk rel="copy-file" href="assets/sw.js" />
 | 
			
		||||
    <link data-trunk rel="copy-file" href="assets/manifest.json" />
 | 
			
		||||
    <link data-trunk rel="copy-file" href="assets/icon-1024.png" />
 | 
			
		||||
    <link data-trunk rel="copy-file" href="assets/icon-256.png" />
 | 
			
		||||
    <link data-trunk rel="copy-file" href="assets/icon_ios_touch_192.png" />
 | 
			
		||||
    <link data-trunk rel="copy-file" href="assets/maskable_icon_x512.png" />
 | 
			
		||||
    <link data-trunk rel="copy-file" href="assets/icon-192.png" />
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    <link rel="manifest" href="manifest.json">
 | 
			
		||||
    <link rel="apple-touch-icon" href="icon_ios_touch_192.png">
 | 
			
		||||
    <meta name="theme-color" media="(prefers-color-scheme: light)" content="white">
 | 
			
		||||
    <meta name="theme-color" media="(prefers-color-scheme: dark)" content="#404040">
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -12,7 +12,7 @@ fn main() -> eframe::Result<()> {
 | 
			
		||||
            .with_min_inner_size([300.0, 220.0])
 | 
			
		||||
            .with_icon( 
 | 
			
		||||
                // NOTE: Adding an icon is optional
 | 
			
		||||
                eframe::icon_data::from_png_bytes(&include_bytes!("../assets/icon-256.png")[..])
 | 
			
		||||
                eframe::icon_data::from_png_bytes(&include_bytes!("../assets/icon-192.png")[..])
 | 
			
		||||
                    .expect("Failed to load icon"),
 | 
			
		||||
            ),
 | 
			
		||||
        ..Default::default()
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user