XenevaOS
Loading...
Searching...
No Matches
Classes | Typedefs | Functions | Variables
notes_ui.h File Reference
#include <chitralekha.h>
#include <widgets/window.h>
#include <widgets/sidebar.h>
#include <widgets/textbox.h>
#include <widgets/button.h>
#include "notes_editor.h"
Include dependency graph for notes_ui.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _notes_title_bar_
 

Typedefs

typedef struct _notes_title_bar_ ChNotesTitleBar
 

Functions

void NotesInitializeUI (ChWindow *mainWin)
 
void OnNoteSelected (ChSidebarItem *item, ChWindow *mainWin)
 
void NotesCreateNew (const char *title, ChWindow *mainWin)
 
void OnNewNoteClicked (ChWidget *wid, ChWindow *win)
 
void OnSaveNoteClicked (ChWidget *wid, ChWindow *win)
 
void OnRenameNoteClicked (ChWidget *wid, ChWindow *win)
 
void OnDeleteNoteClicked (ChWidget *wid, ChWindow *win)
 
bool NotesTitleBarHandleKey (int ascii_code, ChWindow *win)
 

Variables

ChSidebar * notesSidebar
 
ChNotesEditor * notesEditor
 
ChNotesTitleBar * notesTitleBar
 
int currentNoteSection
 
int currentNoteIdx
 

Typedef Documentation

◆ ChNotesTitleBar

Function Documentation

◆ NotesCreateNew()

void NotesCreateNew ( const char *  title,
ChWindow *  mainWin 
)

◆ NotesInitializeUI()

void NotesInitializeUI ( ChWindow *  mainWin)

◆ NotesTitleBarHandleKey()

bool NotesTitleBarHandleKey ( int  ascii_code,
ChWindow *  win 
)

◆ OnDeleteNoteClicked()

void OnDeleteNoteClicked ( ChWidget *  wid,
ChWindow *  win 
)

◆ OnNewNoteClicked()

void OnNewNoteClicked ( ChWidget *  wid,
ChWindow *  win 
)

◆ OnNoteSelected()

void OnNoteSelected ( ChSidebarItem *  item,
ChWindow *  mainWin 
)

◆ OnRenameNoteClicked()

void OnRenameNoteClicked ( ChWidget *  wid,
ChWindow *  win 
)

◆ OnSaveNoteClicked()

void OnSaveNoteClicked ( ChWidget *  wid,
ChWindow *  win 
)

Variable Documentation

◆ currentNoteIdx

int currentNoteIdx
extern

◆ currentNoteSection

int currentNoteSection
extern

◆ notesEditor

ChNotesEditor* notesEditor
extern

◆ notesSidebar

ChSidebar* notesSidebar
extern

◆ notesTitleBar

ChNotesTitleBar* notesTitleBar
extern