Skip to content

LLeny/Iced-memory-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Iced Memory Editor

A memory editor widget for the Iced / libcosmic GUI frameworks in Rust.

Editor Preview

Running the Example

Clone the repository and run the example:

git clone https://github.com/LLeny/iced_memory_editor.git cd iced_memory_editor cargo run --release --example memory_editor_iced --features iced cargo run --release --example memory_editor_cosmic --features libcosmic

Usage in Your Project

Add to your Cargo.toml:

Iced

[dependencies] iced_memory_editor = { git = "https://github.com/LLeny/iced_memory_editor.git", features = ["iced"] }

Libcosmic

[dependencies] iced_memory_editor = { git = "https://github.com/LLeny/iced_memory_editor.git", features = ["libcosmic"] }

Styling

let memory_editor = memory_editor(&self.content).with_style(iced_memory_editor::style::Style { background: Color::from_rgb(0.0, 0.0, 0.0), primary_color: Color::from_rgb(0.0, 100.0, 0.0), text_color: Color::from_rgb(200.0, 200.0, 200.0), inactive_text_color: Color::from_rgb(100.0, 100.0, 100.0), selection_color: Color::from_rgb(150.0, 0.0, 0.0), selected_text_color: Color::from_rgb(200.0, 200.0, 0.0), border: Border::default(), shadow: Shadow::default(), });

License

This project is licensed under the GPLv3 License - see the LICENSE file for details.

About

Memory editor widget for the Iced/Libcosmic GUI libraries

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages